Skip to main content

GetVisualDump

Description

Use this command get the properties of the screen. It returns an XML string with the entire dump (object spy).

Parameters

NameValue
typeString



* 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.

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");