I want to access HTML codes with app testing. With UI Inspector I cant find the HTML coding ?
1 Like
Hello there,
You can only get the HTML coding with browser testing as thatâs not supported with App testing,
1 Like
Certainly! If youâre facing difficulty finding HTML codes using the UI Inspector during app testing, here are a few steps to guide you:
-
Inspect Element:
- Right-click on the element you want to inspect in your application.
- Choose the âInspectâ or âInspect Elementâ option from the context menu.
- This will open the browserâs Developer Tools, where you can view and analyze the HTML structure.
-
Browser Developer Tools:
- Navigate to the âElementsâ tab in the Developer Tools.
- Here, youâll find the HTML code corresponding to the selected element.
- You can explore the HTML hierarchy, styles, and even make temporary edits for testing purposes.
-
Use of Accessibility Tools:
- Some browsers provide accessibility tools within their Developer Tools.
- Look for features like âAccessibility Treeâ or âAccessibility Inspectorâ to get a more structured view of the HTML and its accessibility properties.
-
Inspecting Within the App Testing Tool:
- If youâre using a specific app testing tool, check for built-in features for inspecting HTML.
- Look for options like âView Sourceâ or âInspect Elementâ within the testing tool itself.
-
Explore Alternate Tools:
- If the UI Inspector is not providing the required details, consider using browser extensions or third-party tools.
- Tools like âSelectorGadgetâ or âXPath Helperâ can assist in identifying and extracting HTML elements.
-
Documentation and Support:
- Refer to the documentation of the app testing tool youâre using. It might provide specific guidelines on inspecting HTML elements.
- Seek support from the toolâs community or forums if you encounter challenges. Others may have faced similar issues and can offer insights.
Remember, the process may vary slightly depending on the browser and testing tool youâre using. By combining these steps and exploring different avenues, you should be able to access and analyze the HTML codes effectively during your app testing. here are some great places to learn HTML: 1. W3 School 2. Iqra Technology 3. JavaPoint