...
...
...
...
...
...
...
...
...
...
Info |
---|
|
Adding Native Application Objects
This type of applications are developed to run independently on a smartphone with or without internet connectivity. You can add objects from the native applications using mobile object spy.
To add objects from native applications:
- Launch Mobile Object Spy and install or launch the application under test.
- Enable object spy mode clicking the play () icon.
- Hover over the object you want to add and Object spy will highlight the object.
- Click the highlighted object to add it in the repository.
Object will then appear in the right pane in the Object Repository section. - Update the object properties like name, locator type/value, object class, if required.
- Click the pause button to exit from the object spy mode and or click End to end the session.
Adding Hybrid Application Objects
A hybrid application (hybrid app) is one that combines elements of both native and Web applications. Hybrid applications run inside a native container and leverage the device's browser engine (but not the browser) to render the web elements like HTML and so forth. Qualitia allows you to add objects from the hybrid application into the object repository for mobile application testing.
To add objects from the hybrid application:
- Launch Mobile Object Spy and install or launch the application under test.
- Enable object spy mode clicking the play () icon.
By default, the native view of the application appears. - To add objects from native context:
- Hover over the object you want to add and Object spy will highlight the object.
- Click the highlighted object to add it in the repository.
- To add objects from web context:
- Click the Webview panel in the left pane and select the required Webview from the list.
Only the objects falling under the selected web view appear in the live view. - Hover over the object you want to add and Object spy will highlight the object.
- Click the highlighted object to add it in the repository.
Object will then appear in the right pane in the Object Repository section.
- Click the Webview panel in the left pane and select the required Webview from the list.
- Update the object properties like name, locator type/value, object class, if required.
- Click the pause button to exit from the object spy mode and or click End to end the session.
Adding Objects from Page Source
Qualitia gives you provision to add objects from the native context from the page source. You can add native application objects and objects with native context from the hybrid applications.
To add objects from the page source:
- Launch Mobile Object Spy and install or launch the application under test.
- From the right pane, click Page Source.
A new section appears displaying the page source. - Hover over the object in the page source which you want to add and click + icon.
Object will then appear in the right pane in the Object Repository section. - Update the object properties like name, locator type/value, object class, if required.
- To end the session, click the End button.
Adding Web Application Objects
You can add objects from applications which are accessed over a network connection and run in a web browser.
To add objects from the page source:
- Launch Mobile Object Spy and select the device which you want to use while spying objects.
- Enter web application URL and click Launch.
The application is then launched in Google Chrome browser. - Enable object spy mode clicking the play () icon.
- To add objects from specific web context:
- Click the Webview panel in the left pane and select the required Webview from the list.
Only the objects falling under the selected webview appear in the live view. - Hover over the object you want to add and Object spy will highlight the object.
- Click the highlighted object to add it in the repository.
Object will then appear in the right pane in the Object Repository section.
- Click the Webview panel in the left pane and select the required Webview from the list.
- Update the object properties like name, locator type/value, object class, if required.
- Click the pause button to exit from the object spy mode and or click End to end the session.