Overview:
This feature enables Pcloudy users to spy/inspect the app's structure on Android and iOS on the Pcloudy platform.
One big advantage is its bilateral view which makes it easy for users to click on any element on one side and view the element details on the other side. Also, the generated script can be copied for future use.
Using ObjectSpy user can spy on an element, find an element and also perform actions to generate script.
Prerequisites
User should be registered on the Pcloudy platform.
Steps
Connect to any Device on the Pcloudy platform.
Click on Start on the Logs tab to start the recording the device logs.
Select Object Spy Mode from the left pane.
Next, Install the app you would like to inspect.
The Device will enter into the Object Spy Mode.
You can interact with the app on the main device window and Click on Refresh on inspection window to inspect any element.
Once the attribute and the value of the element is highlighted, click on the copy icon in the Xpath field to copy this information to use in your scripts.
You can choose another app element on the refresh screen to access the XPath information, Attributes and Hierarchy information.
You can interact with the app on the mobile device to move to a different screen.
Click on the Refresh to view the latest screen in the inspection window.
Repeat the element selection steps to find the XPath, attribute information.
Click on the Exit Spy Mode to return the device to continue performing functional testing.