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:

  1. Ensure that TestProject Agent is running. If it's not, run it in one of the following ways:

  2. 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:

  • For an Android application, enter the value ChromeAndroid.

  • For an iOS application, enter the value SafariiOS.

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.

  1. Optionally, create other TCPs depending on your application and preferences.

  2. Run your tests.

    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