Utilising Mobile Inspector in SimplifyQA
Last updated
Last updated
SimplifyQA’s Mobile Inspector allows users to identify, inspect, and capture mobile application objects to use in test cases. This feature ensures accurate object recognition for smooth test automation.
In this section we'll learn,
The Mobile Inspector applies to both Android and iOS devices. To use it effectively, ensure the following prerequisites are met:
Prerequisites:
The device must be connected to the system.
The SimplifyQA agent should be active.
Accessing the Mobile Inspector:
Navigate to the User Navigation Panel.
Go to Test Management > Object Repository.
On the top-right corner, click on the Object Inspector.
Click on Mobile (this option appears only when the device is connected).
A list of all connected devices will be displayed. Click on the desired device.
Once connected, you will see:
Screen Mirroring of the mobile device and XML Structure of the UI elements.
Object Capture Column shows the objects you have selected for inspection.
Click on the Inspect icon.
A green highlight will appear, showing all objects identified by the tool.
Click on an element to capture it:
The object will be listed on the right.
Its location will be highlighted in the XML view.
Click on the Refresh button to update the screen mirroring.
The Objects Column displays all inspected objects, where you can:
Save or Delete captured objects.
Click on an object to view detailed attributes, including:
Name
Type
Attributes
Rename the object and save it for use in test cases.
Copy the XPath from a captured object by clicking on the Copy button.
Paste the XPath in the XML Search field.
Click Evaluate to highlight the element in the XML.
To create a new object with the searched XPath:
Click on the + icon next to the Evaluate button.
A new unnamed object will be created.
Rename and save the object.
You can save all captured objects or
Select specific objects using checkboxes and save only those which are required.
The Mobile Inspector in SimplifyQA provides a robust way to inspect and capture mobile application objects for seamless automation. By following these steps, users can efficiently locate elements, store objects, and integrate them into test cases for successful mobile test automation.