Configuring a run of a Compound Test that contains mobile tests to run by using variables
- Created a Compound Test that contains the mobile tests to run on a mobile device in IBM® DevOps Test UI (Test UI) and added the test asset to the project repository on Test Hub.
- Created a variable file if you want to import the variables file. The file must contain the details of the UI Test agent or the device cloud to which the mobile device is connected.
- Read Test run considerations for using mobile device clouds, if you want to configure a run on a mobile device cloud.
- Read and completed the tasks mentioned in Test run considerations for running tests on remote performance agents, if you want to use a remote agent as the location to run the test.
- Completed the Xray integration, if you want to export the test results to a Jira issue in your Xray project in Jira. See Integration with Xray test management for Jira.
- Ensured that you are assigned a role as a Member or Project Creator in the team space. See Managing members and their roles in a team space.
- Ensured that you are assigned a role as a Project Owner or Tester in the project. See Managing access to the server projects.
- Created a project in your team space in Test Hub. See Creating a project.
- Added the remote Git repository that contains the test resources to the project. See Adding repositories to a server project.
- Remote UI Test agents. Requires the variables at test run time as specified in Variables for the UI Test agent.
- The BitBar Cloud. Requires the variables at test run time as specified in Variables for the BitBar Cloud.
- The BrowserStack Cloud. Requires the variables at test run time as specified in Variables for the BrowserStack Cloud.
- The pCloudy Cloud. Requires the variables at test run time as specified in Variables for the pCloudy Cloud.
- The Perfecto Mobile Cloud. Requires the variables at test run time as specified in Variables for the Perfecto Mobile Cloud.
You must provide the details of the UI Test agent or the mobile cloud to which the mobile devices are connected as variables in Step 12. You can either enter the variables or use the file in which you entered the variables.
Name of the Variable | Action for the Value field |
---|---|
Mobile_Device_Selection |
Specify the name of the mobile device that is connected to the UI Test agent. For example, Emulator:Pixel_3a_API_33. |
appium.server.host |
Specify the hostname or IP address of the UI Test agent. |
appium.server.port |
Specify the port on the UI Test agent that is configured to communicate with Test Hub. |
Name of the Variable | Action for the Value field |
---|---|
Mobile_Device_Selection |
Specify the name of the mobile device that is connected to the BitBar Cloud. For example, BitBar Cloud:Google Pixel 7 Pro. |
bitbar.apikey |
Specify the user token generated for your BitBar Cloud account to authenticate your connection with the BitBar Cloud. |
bitbar.host |
Specify the hostname of the BitBar Cloud instance. |
bitbar.project |
Specify the name of the project that contains the recorded test. |
bitbar.testrun |
Specify a name for the test run that must be displayed in the BitBar Cloud dashboard for the test run. |
Name of the Variable | Action for the Value field |
---|---|
Mobile_Device_Selection |
Specify the name of the mobile device that is connected to the BrowserStack Cloud. For example, BrowserStack Cloud:Google Pixel 7 Pro. |
browserstack.host |
Specify the URL of the BrowserStack Cloud instance. |
browserstack.username |
Specify the user name of your BrowserStack Cloud account. |
browserstack.apikey |
Specify the API key of your BrowserStack Cloud account to authenticate your connection with the BrowserStack Cloud. |
browserstack.project |
Specify the name of the project that contains the
recorded test.
Note: This
variable is optional. |
Name of the Variable | Action for the Value field |
---|---|
Mobile_Device_Selection |
Specify the name of the mobile device that is connected to the pCloudy Cloud. For example, pCloudy Cloud:Google Pixel 7 Pro. |
pcloudy.apikey |
Specify the API key that is generated for your pCloudy Cloud account to authenticate your connection with the pCloudy Cloud. |
pcloudy.username |
Specify the username with which you can access the pCloudy Cloud instance. |
pcloudy.host |
Specify the hostname of the pCloudy Cloud instance. |
Name of the Variable | Action for the Value field |
---|---|
Mobile_Device_Selection |
Specify the name of the mobile device that is connected to the Perfecto Mobile Cloud. For example, Perfecto Mobile Cloud:Google Pixel 7 Pro. |
perfecto.securitytoken |
Specify the user token generated for your Perfecto Mobile Cloud account to authenticate your connection with the Perfecto Mobile Cloud. |
perfecto.host |
Specify the hostname of the Perfecto Mobile Cloud instance. |
- Stop the test run at any point after the test run is initiated from the Execution page. See Stopping test runs.
- Cancel a scheduled test run from the Execution page. See Canceling scheduled test runs.
- View all the states of the test asset by
clicking the Show in the Progress page icon
for the test asset for which you started or scheduled the run. See Viewing the state of test assets.
- View the progress of the test from the Progress page. See Viewing the progress of running test assets.
- View the results, reports, and logs of the test from the Results page after the test completes the run. See Test results.