To access the ‘Spy’ page, click on ‘Spy’ in the top navigation.
The Spy page helps to inspect the user interface of an application. When spying you’ll be able to inspect the individual objects of the application’s UI. You can later use these objects in your automation scripts.
To enable the spy tools you need to launch a session first.
A dialog appears showing the progress of starting the session. The dialog disapears once the application is launched and the application is ready to be inspected. Both the screenshotfeed and the spy tools appear.
Hint: you can collapse the settings pane with the arrow in the upper left corner.
Once the session is started you are able to spy on each object in the screen.
The Spy tab provides more information about the selected object.
Hint: there is also an option to show the full object hierarchy by clicking on the full tree button
Properties of the selected object are listed in the Properties tab.
You can use the text box to filter the properties which are being displayd. e.g. type access in the text box. and only properties related to accessibility are being displayed.
The Code Generator assists in automating your test scenarios. A script is suggested based on a sequence of actions and validation steps. The steps can be added manually or can be recorded from the device.
The Code Generator tab shows all actions and validation steps added since the last page load. By default, this list is empty.
Suggested scripts are made available in different languages on the Code tab.
|Removes the corresponding step|
|Drag this step to another place|
|Collapse the arguments of the corresponding step|
|Edit the arguments of the corresponding step|
|Executes the corresponding step|
|Use the suggested xPath as value of this argument|
|Locate the xPath in the current screen|
Click, enter text, back actions are autotmatically added to the list. Each step can be edited, removed or reordered.
Code is suggested for the actions and validation steps in the Code Generator. Multiple languages can be selected. The suggested code can be pasted and edited in the appropriate editor.