Before the recording starts, select a device, on which you want to record a test, and open a testing session for the Orders application:
TestComplete shows the Select BitBar Device dialog. It lists all mobile devices that BitBar provides:
Select any of the available iOS devices. You can check if a device is available in the Status column.
There are few devices available for trial users. We will use iPhone 7 in this tutorial.
To find a suitable device faster, you can filter out the list of devices by their platform, version, or name.
To open a testing session for the Orders application, it must be uploaded to the target device. If you have specified a valid .ipa file on the previous step, TestComplete will upload the file automatically.
For the tested application to start on the selected device automatically when the recording begins, specify the bundle ID of the application. It is the bundle ID that was used to compile the specified .ipa file.
Switch to the Custom Parameters tab and add the
bundleIdcapability to the list of desired capabilities:
If you skip this step, you will have to launch the application manually.
By default, mobile devices running in the BitBar cloud are configured to automatically close all notifications, messages, and alerts. In this tutorial, we are going to record the user interactions with the alert that the Orders application shows, therefore, we need to configure the device not to handle alerts.
If you use TestComplete version 15.10, it will configure the device automatically. You can skip this step.
If you use a TestComplete version prior to version 15.10, on the Custom Parameters tab, add the
autoDismissAlertscapability set to false to the list of desired capabilities.ExampleExample
Click OK to proceed.
TestComplete will connect to the selected device, install the Orders application to it and open a testing session for the application. The Mobile Screen window of TestComplete will show the screen of the connected device. To record user actions over a tested application, interact with the application in that window.