Object Spy for Internet Explorer
...
Launch the browser (Edge or Chrome) that is enabled with Web Object Spy.
For detailed instructions on how to launch a web object spy, refer to Launching Object Spy from the Browser.In the Repository section, select the page under which the object exists which needs to be updated.
Click the edit () icon next to the object that you want to edit.
Note SmartLocator mode does not support HTML tag/structure change.
Modify the object details and then click Save.
...
XCode
Appium Dependencies
Java 8 (64-bit)- Oracle Java 8 : 1.8.0_261/ Open JDK / Azul Java: 8.48.0.53
...
Android Studio (for emulators only)
Intel® HAXM (for emulators only)
Java 8 (64-bit)- Oracle Java 8 : 1.8.0_261/ Open JDK / Azul Java: 8.48.0.53
...
Navigate to the folder where you have downloaded Qualitia Installables.
Open Mobile Agent Folder.
Copy the setup.exe file to any temporary location.
Double-click the setup.exe to install.
Follow the onscreen instructions and complete the installation procedure.
To confirm the installation, you can double-click the Mobile agent icon from the desktop and you will find the agent icon
in notification area.
You can right-click the agent icon from the notification area and proceed for the configurations.
...
From the notification area, right-click the Mobile Agent(
) icon to select Open Configuration.
View image
You will get the following information from system/IT administrator.
Enter Mobile Server URL and click Open Settings.
Mobile server URL is a combination of Hostname/IP of the machine where Mobile Server is installed along with with the port 4001.
Sample URL may look like: http://192.168.25.44:4001 or http://localhost:4001.Enter Keychain Path.
It is a path to the private development key exported from the system keychain.Enter Keychain Password for authenticating to Keychain Path mentioned above.
Enter Keystore Password.
For more information about these properties, you may refer to Appium documentation.Enter the absolute path to chromedriver executable file which will be used while test case executions on mobile devices.
Enter the path to the directory where you have stored the chromedriver to be used test case executions on mobile devices.
Click Save.
On the subsequent screen, enter Mobile Server URL.
Server URL is a combination of hostname/IP of the machine where Qualitia Mobile server is installed along with the port 4001.
Sample URL may look like: http://192.168.25.66:4001 or http://localhost:4001 (if the mobile server is installed locally).
...
Once downloaded, double-click android-studio-bundle-windows.exe.
This will start installation of Android Studio.Follow the on-screen instructions and complete the studio installation.
Select Standard Installation.
...
System displays the list of components selected to be installed.
Go to SDK Tools and ensure that Android SDK Build-Tools is installed. If not, then download it.
View Image
Click OK.
Once all the required components are installed, click Finish.
Now you can start creating virtual devices.
...
Launch any browser.
Enter Mobile Object Spy URL.
Enter Qualitia Server URL.
Qualitia Server URL is a combination of Hostname/IP of the server where you have installed Qualitia server along with the port 8887.
Sample URL may look like: http://192.168.25.33:8887 or http://localhost:8887 (if mobile object Spy server is installed locally).Enter Qualitia Username and Password.
Click Sign in.
Select Qualitia project under which you want to add newly inspected objects and then click Sign in.
...
Launch Mobile Object Spy on any browser using Mobile Object Spy URL.
Mobile Object Spy URL is a combination of hostname/IP of the machine where Mobile Object Spy server is installed along with the port 4001.
Sample URL may look like: http://192.168.25.77:4001 or http://localhost:4001.Enter Qualitia Server URL, User id and Password.
Qualitia Server URL is a combination of Hostname/IP of the server where you have installed Qualitia server along with the port 8887.
Sample URL may look like: http://192.168.25.77:8887 or http://localhost:8887.Select the Qualitia project under which you want to add new objects.
Here you will see all the real devices connected to the agent Mobile Object Spy agents along with the emulators or simulators.
For more information on creating emulators/simulators using Android Studio or XCode, click here.Click Boot and Connect to boot the device and launch it to spy the objects.
This option is available for emulators/simulators only.Click Connect to launch the real device connected to Mobile Object Spy agent or already started emulator/simulator.
For the device to be visible and usable the device needs to allow unauthorized access on the connected device for Mobile Object Spy to work
...
Ensure you have set the default browser as Google Chrome in the real device.
One mobile device can be accessed by one user only. If the device is being accessed by some other user, you will see the device state as Busy.
...
In Mobile applications, there are two types of objects:
Web: The objects which are solely created for web applications. They are present in web context of the hybrid applications and web applications.
Mobile: The objects which are solely created for mobile applications. They are present in native and native context of the hybrid applications.
...
Drag and Drop action is not supported
SmartLocator does not support Mobile Objects
For UiAutomator, the locator type does not support values related to complex Element Hierarchy
Cannot capture web objects through iOS Simulator
Does not highlight web objects that are inside a frame
Adding web objects from the page source for web applications and web context of hybrid applications is not supported.
Adding a Native Application Object
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.
...
Launch Mobile Object Spy and install or launch the application under test.
Click the play (the play (
) icon to enable the object spy mode.
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 appears in the right pane of the the Object Repository section section.The following object properties are automatically added for the mobile object, which you can change:
Name
Object Class
Locator Value
Locator Type
Click the pause (the pause (
) button to exit from the object spy mode or click the button the button to end the session.
Adding a Hybrid Application Object
A hybrid application (hybrid appA hybrid application (hybrid app) is one that combines elements of both native and Web applicationsWeb 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.
Qualitia supports Hybrid application with debug enabled/Developer mode build only. |
To add an object for a hybrid application:
Launch Mobile Object Spy and install or launch the application under test.
Click the play (the play (
) icon to enable the object spy mode.
By default, the native view of the application appears.
To add objects from the 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.
The following object properties are automatically added for the mobile object, which you can change:
Name
Object Class
Locator Value
Locator Type
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.
The object appears in the right pane of the the Object Repository section section.The following object properties are automatically added for the web object, which you can change:
Name
Object Class
Click the pause (the pause (
) button to exit from the object spy mode or click the button the button to end the session.
For Web Objects, the SmartLocator is automatically enabled due to which locator value and locator type are automatically selected. If you want to change the values, you need to edit object in QAS, where you need to disable the Smart Locator option. |
Adding a Mobile Web Application Object
You can add objects from applications which are accessed over a network connection and run in a web browser.
Note: Qualitia Qualitia recommends to keep the size of the browser as 100%. If you Zoom In or Zoom Out the browser, the UI may distort, which makes it difficult to identify the objects.
To add an object for a mobile web application:
Launch Mobile Object Spy and select the device which you want to use while spying objects.
Enter the web application URL and click click Launch.
If the platform is Android, then it is launched in in Google Chrome browser browser. If the platform is iOS, then it is launched in the the Safari browser browser.Click the play (the play (
) icon to enable the object spy mode.
To add objects from specific web context:
Click the the Webview panel 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, Object spy highlights the object.
Click the highlighted object to add it in the repository.
The object appears in the right pane in the the Object Repository section section.The following object properties are automatically added for the web object, which you can change:
Name
Object Class
Click the pause (the pause (
) button to exit from the object spy mode or click the button the button to end the session.
For Web Objects, the SmartLocator is automatically enabled due to which locator value and locator type are automatically selected. If you want to change the values, you need to edit object in QAS, where you need to disable the SmartLocator option. |
Adding an Object from a Page Source for a Native Application
Some objects are not visible on screen but they are required for automating the test cases for Mobile applications. Qualitia gives you the provision to add objects from the native context from the page source.
...
Launch Mobile Object Spy and install or launch the application under test.
From the right pane, click 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 click
icon.
The object appears in the right pane of the the Object Repository section section.The following object properties are automatically added for a mobile object, which you can change:
Name
Object Class
Locator Value
Locator Type
To end the session, click the buttonthe
button.
Using the Advanced Options while Launching an Application
...
Capabilities | Description | Values/Example |
---|---|---|
noReset | Helps you reset the application before starting the session. | Boolean (true/false) |
intentAction | Intent action to use to start an activity. Applications can have their own intentAction. You will get this information by the app developer. | android.intent.action.VIEW |
intentCategory | Intent category to use to start an activity. You will get this information by the app developer. | android.intent.category.LAUNCHER |
chromeOptions | This capability allows you to customize and configure a ChromeDriver session. For the complete list of ChromeDriver supported capabilities and how to use them, see the chromeOptions documentation. | args=–-headless |
...
Launch Mobile Object Spy and select the application under test to launch.
Click Advanced options.
Select the capability from the drop-down options and enter the value for corresponding capability.
Click
to add the capability.
...
Viewing the Page Source and Object Properties
...
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.To launch the object properties section, from the right pane, click Object Properties.
A new section appears below page source.To view the object properties of any object, click the desired object in the page source and its properties appear in the Object Properties section.
...
Launch any browser.
Enter Mobile Object Spy URL.
Enter Qualitia Server URL.
Qualitia Server URL is a combination of Hostname/IP of the server where you have installed Qualitia server along with the port 8887.
Sample URL may look like: http://192.168.25.33:8887 or http://localhost:8887 (if mobile object Spy server is installed locally).Enter Qualitia Username and Password.
Click Sign in.
Select Qualitia project under which you want to add newly inspected objects and then click Sign in.
...
Launch Mobile Object Spy and launch the application under test.
All the objects added earlier from this application appear in the object repository section.Click the filter (
) icon.
Select the object class(es) based on which you want to filter the objects.
Select the object type, Mobile or Web.
Click Reset to remove all the filters.
Switching to Another QAS Project
...
From the top right corner, click username and select Sign Out.
Click Sign In again.
Enter sign in details and click Sign In.
Select the desired project and start working on it.