GetVisualDump
Description
Use this command get the properties of the screen. It returns an XML string with the entire dump (object spy).
Parameters
Name | Value |
---|---|
type | String * Non-instrumented. * Native (of native instrumented applications). * Web (of hybrid applications or web sites). * Web:[custom root for dump] |
info
If the dump type is not supported on the current page, and empty XML is returned.
Usage
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
Example
getVisualDump
DesiredCapabilities dc = new DesiredCapabilities();
driver = new AndroidDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);
dc.setCapability(MobileCapabilityType.UDID, "<deviceid>");
...
...
//Gets the Non Instrumented Visual Dump
seetest.getVisualDump("Non Instrumented");