Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Once you launch a simulator/emulator or real device and installed the desired application, you can start adding objects from it for the automation testing. All the objects you add from here are immediately added to Qualitia object repository which you can use while creating automation tasks/test cases for mobile applications.

Follow the simple procedures mentioned below to add objects into the repository based on the type of application.

In this section:

Table of Contents
maxLevel1


Info
  • Once you have launched any application, you can interact with live screen by performing tap, swipe and tap and hold actions. Drag and drop action is not supported.
  • You can launch other applications from the device screen itself.
  • If you are launching the application which was already running on the device, application is launched at its current stage. Qualitia does not reset the application when launching it.
  • If you switch application, Qualitia adds a new parent page automatically and all the objects are stored under the respective parent page. 

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:

  1. Launch Mobile Object Spy and install or launch the application under test.
  2. Enable object spy mode clicking the play (Image Added) icon.
  3. Hover over the object you want to add and Object spy will highlight the object.
  4. Click the highlighted object to add it in the repository.
    Object will then appear in the right pane in the Object Repository section. 
  5. Update the object properties like name, locator type/value, object class, if required.
  6. Click the pause (Image Added) button to exit from the object spy mode and or click End or click the Image Added button to end the session.

Adding Hybrid Application Objects

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:

  1. Launch Mobile Object Spy and install or launch the application under test.
  2. Enable object spy mode clicking the play (Image Added) icon.
    By default, the native view of the application appears.
  3. To add objects from native context:
    1. Hover over the object you want to add and Object spy will highlight the object.
    2. Click the highlighted object to add it in the repository.
  4. To add objects from web context:
    1. 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.
    2. Hover over the object you want to add and Object spy will highlight the object.
    3. Click the highlighted object to add it in the repository. 
      Object will then appear in the right pane in the Object Repository section. 
  5. Update the object properties like name, locator type/value, object class, if required.
  6. Click the pause (Image Added) button to exit from the object spy mode and or click End or click the Image Added button 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:

  1. Launch Mobile Object Spy and install or launch the application under test.
  2. From the right pane, click Page Source.
    A new section appears displaying the page source.
  3. 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. 
  4. Update the object properties like name, locator type/value, object class, if required.
  5. To end the session, click the End Image Added 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:

  1. Launch Mobile Object Spy and select the device which you want to use while spying objects. 
  2. Enter web application URL and click Launch.
    The application is then launched in Google Chrome browser.
  3. Enable object spy mode clicking the play (Image Added) icon.
  4. To add objects from specific web context:
    1. 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.
    2. Hover over the object you want to add and Object spy will highlight the object.
    3. Click the highlighted object to add it in the repository. 
      Object will then appear in the right pane in the Object Repository section. 
  5. Update the object properties like name, locator type/value, object class, if required.
  6. Click the pause (Image Added) button to exit from the object spy mode and or click End the Image Added button to end the session.
    .