Skip to content

Commit be95b29

Browse files
authored
Update appium-inspector.md
1 parent bf8655c commit be95b29

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/mobile-apps/features/appium-inspector.md

+9
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Appium Inspector is a powerful tool built on top of the Appium test automation f
1313
Our latest solution seamlessly integrates into the Sauce Labs environment, requires no additional configuration on your end and it removes the burden of installing a 3rd party tool.
1414
We are using the [latest version of Appium](https://docs.saucelabs.com/mobile-apps/automated-testing/appium/appium-versions/) to inspect the elements in your application, mirroring the experience of local debugging or attaching 3rd party inspector tools to your native Appium sessions.
1515

16+
<img src={useBaseUrl('img/mobile-apps/Appium-inspector-main.png')} alt="Appium Inspector during a Live Testing Session" width="450"/>
17+
1618
## What You'll Need
1719

1820
- A Sauce Labs paid account ([Log in](https://accounts.saucelabs.com/am/XUI/#login/))
@@ -39,16 +41,23 @@ You can hover over the elements, highlight them, or by clicking on these element
3941

4042
When you click on the desired UI element we will pin the App Source and the Selected Elements on the right side.
4143

44+
<img src={useBaseUrl('img/mobile-apps/Appium-inspector-inspect-refresh.png')} alt="Appium Inspector Inpect View" width="450"/>
45+
4246
## Using the App Source
4347

4448
The App Source view will get you the detailed breakdown of your native applications view hierarchy in an XML tree structure.
4549
We are using the same getPageSource command as Appium to get the detailed source elements, attributes, and view hierarchy. [See more here.](https://appium.io/docs/en/2.4/commands/base-driver/#getpagesource)
4650

51+
<img src={useBaseUrl('img/mobile-apps/Appium-inspector-app-source.png')} alt="Appium Inspector App Source" width="450"/>
52+
4753
## Using Selected Element attributes
4854

4955
When you click on an element in the Inspect view or App Source we will display all the attributes for that given element.
5056
You can find unique locators or IDs for your automation script with the element information.
5157

58+
<img src={useBaseUrl('img/mobile-apps/Appium-inspector-select-element.png')} alt="Appium Inspector Selected Attributes Views" width="450"/>
59+
60+
5261
In addition, this helps to view Accessibility elements in your native application. This allows you to validate what an accessibility tool would see and what type of information can be read from your application source.
5362

5463
List of Selectors: (These can be used for your automated test scripts)

0 commit comments

Comments
 (0)