Please follow the below guides for getting started with the Appium Desktop Inspector session.
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' and 'Selector' in Selected Element view on the right.
2. Use the Find By method(xpath, id, resource id, accessibility id) in the Identifier Type field and the Selector value in the Enter <selector> value field in the Create/Update UI Identifiers page in Testsigma.
3. Repeat the 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: