Object Spy for Internet Explorer
Object Spy supports CRUD operations to manage objects.
Prerequisites
- Ensure you have Full control rights to the folder and subfolders where Object Spy is getting installed.
- Ensure that the Active scripting option is set to Enable under Security Settings section. To do so, under Internet Options > Security > Custom Level.
By default, this option is set to Disable in the high security zone.
Expand | ||
---|---|---|
| ||
- Ensure that Enable third-party browser extensions* is enabled from the Advanced section of Internet Options.
...
Include Page | ||||
---|---|---|---|---|
|
FAQs
Include Page | ||||
---|---|---|---|---|
|
Qualitia Object Spy
Qualitia Object Spy is used to add the objects of the application that you want to test. You can add Qualitia Object Spy as an extension on Google Chrome and Microsoft Edge.
After adding the required objects, you can use them to create test cases in Qualitia Automation Studio client.
Info | ||
---|---|---|
| ||
Qualitia Object Spy does not support Mozilla Firefox. |
Add Object Spy as a Browser Extension
...
Include Page | ||||
---|---|---|---|---|
|
Object Spy for Mobile Applications
Installing the Mobile Components
Qualitia Mobile object spy contains multiple components. You must complete the installation process to you start adding objects from mobile application under test.
You can install the components mentioned below on the same machine or different machines based on the requirements. After installing Qualitia Mobile Server and Mobile Agent, you can start using Qualitia Mobile Recorder and Mobile Object Spy.
Pre-Requisites
Before you start installing Mobile Agent or Mobile Server, you must first configure the Mac or Windows machine to work with real devices, emulators, or simulators.
...
- 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
- Set system environment variables
...
From the notification area, right-click the Mobile Agent( ) icon to select Open Configuration.
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).
...
- Download Android Studio.
- 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.
...
- 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.
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.
...
Adding a Hybrid Application Object
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.
Qualitia supports Hybrid application with debug enabled/Developer mode build only.
...
- Launch Mobile Object Spy and select the device which you want to use while spying objects.
- Enter the web application URL and click Launch.
If the platform is Android, then it is launched in Google Chrome browser. If the platform is iOS, then it is launched in the Safari browser. - Click the play ( ) icon to enable the object spy mode.
- 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, Object spy highlights the object.
- Click the highlighted object to add it in the repository.
The object appears in the right pane in the Object Repository section. - The following object properties are automatically added for the web object, which you can change:
- Name
- Object Class
- Click the Webview panel in the left pane and select the required Webview from the list.
- Click the pause ( ) button to exit from the object spy mode or click 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
...
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 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.
...