Configuring a Mobile Agent
After you install the Mobile agents that you want, you must configure them to connect to the Mobile server.
While registering agents to Mobile server, you can see the list of dependencies required for mobile application testing through Qualitia. You can add the missing dependencies from there itself.
For more information on adding these dependencies, you may refer to the Prerequisites, Privileges, and Configurations section.
Configuring a Mobile Agent on Windows
After you install the Mobile agent, you must configure it to connect to the mobile server.
Post this configuration, all the existing Android emulators and real devices get connected to this agent automatically.
To configure iOS devices, to connect to the agent, refer to the Preparing Mobile Devices for Automation Testing section.
ADB commands should not be executed on external terminal while Mobile agent is running.
To Configure a Mobile agent on Windows:
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).
Configuring a Mobile Agent on Mac
After you install the Mobile agent, you must configure it to connect to the mobile server. After this configuration, all the existing Android and iOS virtual and real devices get connected to this agent automatically.
To configure iOS devices, to connect to the agent, refer to the Preparing Mobile Devices for Automation Testing section.
To Configure Mobile agent:
From the notification area, right-click the and 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 the Keystore Password.
For more information about these properties, you may refer to Appium documentation. - Enter the absolute path to the chromedriver executable which will be used 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.
- Enter XCODE Signing ID.
- Enter XCODE Organization Team ID.
- Click Save.
- On a 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).
Important Note:
Information about Keychain Path and Keychain/keystore password is only required if you have Android Studio for emulators on this Mac machine.