1. Create a Test Project (Legacy)

Applies to TestComplete 15.65, last modified on July 17, 2024
The information below concerns legacy mobile tests that work with mobile devices connected to the local computer. For new mobile tests, we recommend using the newer cloud-compatible approach.
  1. In TestComplete, if you have an open project or project suite, select File > Close from the main menu to close it.

  2. Select File > New > New Project from the main menu. The Create New Project wizard will appear.

  3. In the wizard, enter the project name and the location where you want to store the project. In this tutorial, we will name the project XFOrders and use the default location.

    Choose the preferable scripting language. In this tutorial, we will use the JavaScript scripting language. So, select JavaScript on the page.

    Select the Tested application check box to add a tested Xamarin.Forms application to the project.

    Testing Xamarin.Forms applications tutorial: Creating a new Project

    Click the image to enlarge it.

  4. On the next page, click Mobile, and then add the tested iOS Xamarin.Forms application to the project. To do this, in the Mobile application file text box, specify the path to the assembled .ipa file:

    Note: The Orders application for iOS must already be compiled and prepared as described in Preparing Xamarin.Forms iOS Applications (Legacy).

    <TestComplete Samples>\Mobile\Xamarin.Forms\iOS\Orders

    Testing Xamarin.Forms applications tutorial: Adding the Tested Application

    Click the image to enlarge it.

    Make sure the Deploy the application to a device automatically check box is selected.

    Note: If TestComplete shows a message informing you that it cannot patch the application, select the Add the application "as is" option.
    Testing Xamarin.Forms applications tutorial: Adding iOS Xamarin.Forms application as is

    Click the image to enlarge it.

    Note: In this tutorial, we are going to create a test for an iOS Xamarin.Forms application and then reproduce this test for an Android Xamarin.Forms application. The Android Xamarin.Forms application will be added to the project later.

    Click Finish.

TestComplete will create the project and open it in the Project Explorer.

Testing Xamarin.Forms applications tutorial: Added the XFOrders project

Prev     Next

See Also

Testing Xamarin.Forms Applications - Tutorial (Legacy)
Projects in TestComplete

Highlight search results