Create mobile connections
In this topic, you’ll learn how to set up mobile connections, so that you can create mobile tests.
Create a new connection
To create an Appium connection, follow these steps:
-
Go to
Configurations >
Mobile and select Create Connection.
-
Define your connection details:
Item
Description
Name
Enter a unique name.
Type
Choose the service type you want to connect to:
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:
-
Select a connection.
-
Select New > Capability or New > Capability sets.
-
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.