Skip to main content

GetMonitorsData

Description

Return the content of the monitor values as a string in CSV format.

Parameters

NameValue
Full PathThe absolute path for the file. The path must include the file name with *.csv.

Usage

Command retrieves all Counter values which were collected during the test run so far.

info

Command needs to be used after monitoring has been started using startMonitor command

Example

info

Replace <server> with the appropriate URL.

GetMonitorsData

DesiredCapabilities dc = new DesiredCapabilities();
driver = new AndroidDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);
dc.setCapability(MobileCapabilityType.UDID, "deviceid");

...
...

// Start Monitor and erases and previous monitor data and store current monitor in a given file.
seetest.startMonitor("com.experitest.ExperiBank");
seetest.setMonitorPollingInterval(1000);
seetest.sleep(5000);
// Gets then monitior data in local file
seetest.getMonitorsData("C:\\experitest\\monitor.csv");