- Print
- DarkLight
ℹ️ This document is intended for customers using Autify NoCode Mobile to run tests on real devices.
Autify NoCode Mobile allows you to perform tests on real devices. In this document, we will go through the process of running tests on real devices.
Prerequisites
Before you begin, you need to set up the real device for recording and running tests.
The real device that you set up in Device Settings can be selected as the device to be used for recording and for test execution in the test plan.
You can set up and confirm real devices by going to [Settings] > [Workspaces] > [Devices to use].
For detailed instructions, see the "Devices to use" section of the Workspaces article.
1. Upload the build file
Click the [New] button at the top right of the Build page and upload the build file you want to use for real device testing.
To learn how to generate and upload build files, please see the following documents:
The following build file formats are supported on real devices.
- iOS:
.ipa
file format - Android:
.apk
file format
2. Create and run scenarios with a real device
Once the build file is uploaded, you can begin recording a test scenario.
You can read about how to record in Creating Scenarios. If you're using a real device, you can select the real device that you set up in [Devices to use] when selecting the build file.
Once recording is complete, you can run the test by clicking the [Run Now] button on the Scenario Edit page.
The test will be run on the OS/device model shown on the Scenario Edit page.
3. Add multiple devices in the test plan and run the test
You can also create a test plan and add multiple real devices in [Execution environments] > [Edit] before running the test.
Add the real devices you set up in [Devices to use] and click the [Save] button.
When you click the [Run] button, the test will be run on the real devices you registered.
For more information on creating a test plan, please see the following document:
If you delete a device from "Devices to use" and it's being used in a test plan, it will be automatically deleted from the test plan's execution environment.
For example, if you register iPhone 13 in a test plan and then delete iPhone 13 from "Devices to use", iPhone 13 will also be deleted from the test plan execution environment.
To use iPhone 13 again, you will need to add it again by going to [Settings] > [Workspaces] > [Devices to use] and set it up in the test plan again.