Run mobile tests via TestProject
To run your mobile tests via TestProject, you must configure them to establish a connection to TestProject.
To do so, follow the steps below:
-
Ensure that TestProject Agent is running. If it's not, run it in one of the following ways:
-
Run it from the Start menu.
-
-
Create the test configuration parameters (TCPs) as described in the table below.
TCPs |
Description |
---|---|
AppiumServer |
Enter the IP address and port of your TestProject Agent. For a local TestProject Agent, the default address is http://127.0.0.1:8585/. |
Browser |
Add this TCP if you automate hybrid or mobile web applications:
|
DeviceName |
Enter the ID of your Android device or UDID of your iOS device. |
TestProjectToken |
Enter your developer token. You can find it in your TestProject account, under Integrations->SDK. |
UseTestProjectAgent |
Enter True. |
-
Optionally, create other TCPs depending on your application and preferences.
-
You can view the test results in Tricentis Tosca and in the Reports section of your TestProject account.
In the example below, you have specified TCPs to configure the execution of an iOS mobile web application.
TCPs for iOS test automation via TestProject |