Document toolboxDocument toolbox

Configuring Mobile Agents

After you install Mobile agents, you must configure them to connect to Mobile server you installed earlier. Multiple agents can connect to a single 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 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.

(info) ADB commands should not be executed on external terminal while Mobile agent is running.

To Configure Mobile agent:

  1. From the notification area, right-click the and select Open Configuration.

     View image

    You will get the following information from system/IT administrator.

  2. 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.
  3. Enter Keychain Path.
    It is a path to the private development key exported from the system keychain.
  4. Enter Keychain Password for authenticating to Keychain Path mentioned above.
  5. Enter Keystore Password.
    For more information about these properties, you may refer to Appium documentation.
  6. Enter the absolute path to chromedriver executable file which will be used while test case executions on mobile devices.
  7. Enter the path to the directory where you have stored the chromedriver to be used test case executions on mobile devices.
  8. Click Save.
  9. 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 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:

  1. From the notification area, right-click the and select Open Configuration.
    You will get the following information from system/IT administrator.

  2. 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.
  3. Enter Keychain Path.
    It is a path to the private development key exported from the system keychain.
  4. Enter Keychain Password for authenticating to Keychain Path mentioned above.
  5. Enter the Keystore Password.
    For more information about these properties, you may refer to Appium documentation.
  6. Enter the absolute path to the chromedriver executable which will be used test case executions on mobile devices. 
  7. Enter the path to the directory where you have stored the chromedriver to be used test case executions on mobile devices.
  8. Enter XCODE Signing ID.
  9. Enter XCODE Organization Team ID.
  10. Click Save.
  11. 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.