Create mobile connections

In this topic, you’ll learn how to set up mobile connections, so that you can create mobile tests. You can choose between Appium connections that let you access mobile devices, emulators, or simulators hosted online and Tricentis Mobile Agent for testing with devices connected to your Tricentis Mobile Agent.

Create a new connection

To create an Appium connection, follow these steps:

  1. Go to Configurations > Mobile and select Create Connection.

  2. Define your connection details:

    Item

    Description

    Name

    Enter a unique name.

    Type

    Choose the service type you want to connect to:

    • Appium for both local Appium servers and Appium-based device clouds like Sauce Labs, BrowserStack, Lambda Test, or Perfecto.

    • Tricentis Mobile Agent for devices connected to Tricentis Mobile Agent.

    URL

    Enter the URL of your connection.

    Store URL as secret - displayed only for Appium connection

    Define whether you want to store the Appium connection URL as a secret, so that users can't see it in plain text. We recommend that you choose this option if your URL contains sensitive data such as passwords.

    Note that you can't revert a secret URL back to plain text.

Edit or delete mobile connections

You can maintain your mobile connections with simple edits: 

  • Change the URL or store it as a secret via the connection's detail page.

  • Change the connection name via the dropdown.

You can also delete mobile connections via the dropdown.

Add capabilities

Once you've created your connection, add capabilities and capability sets. Capabilities define how the app under test will behave during automation, while capability sets make it easier to organize and reuse them in different scenarios. You can also specify parameters for connecting to the Appium server.

To add capabilities, follow these steps:

  1. Select a connection.

  2. Select New > Capability or New > Capability sets.

  3. Define your capabilities:

    Item

    Description

    Name

    Enter the name of the capability.

    Type

    Select the capability type.

    Secret

    Define whether you want to store the capability details as a secret, so that users can't see them in plain text. We recommend that you choose this option if your capability contains sensitive data such as passwords.

    Note that you can't revert a secret back to plain text.

    Value

    Enter the value of the capability.

For more information on other available capabilities, names, and values, check out the following resources:

Edit capabilities

You can maintain your capabilities and capability sets on the details page of the respective connection. For example, add new capability sets or delete existing capabilities.

What's next

Now that you have your mobile connections, add them to your mobile test cases with the Open Mobile Connection module.