Please follow any one of the below guides to get started with the Appium Desktop Inspector as per your preference:
Once you have started the Inspector session, we can Inspect Apps in Appium to get the UI Identifiers easily. Here's how it is done:
1. Select the required element on the UI Snapshot view on the left and then check for the available Find By types and Selector in Selected Element view on the right.
The preference of Find By types are in the order: ID > XPath > name > text
2. Use the value of Find By type(XPath, id, resource id, accessibility id) from Appium in the Identifier Type field in Testsigma and the Selector value in the Enter <selector> value field in the Create/Update UI Identifiers page in Testsigma.
3. Repeat the same procedure until all UI Identifiers are captured.
Inspecting UI Identifiers
Please check the below video for more details on Inspecting Android Apps
Please check the below video for more details on Inspecting iOS Apps
Creating Manual XPaths using Appium Inspector
In most cases, the suggested XPath in Appium Desktop Inspector is very long and not the optimal one. Therefore, it is recommended to create XPath manually in those cases.
Here's a video that shows how to create manual XPaths for UI Identifiers from Appium Inspector: