GetMonitorsData
Description
Return the content of the monitor values as a string in CSV format.
Parameters
Name | Value |
---|---|
Full Path | The 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.
- Public Continuous Testing Cloud - https://cloud.seetest.io/wd/hub/.
- Dedicated Continuous Testing Cloud environment - Your own domain. For example: https://company.experitest.com/wd/hub/
- On-premises Continuous Testing Cloud environment - Your designated URL. For example: https://company.com/wd/hub
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");