Create and run a test
Once you have your run settings configured and you have added any variable you may need to the variables list, you are ready to create your test and run it.
Each test includes a set of steps where each of them represents an action that the user or the system is expected to perform. The test validates that each condition, represented by a step, meets the expected result. For example, if you want to test your app's login process, the steps will include input actions to test the username and the password fields, and a tap action to test the login button, among others.
The sections below provide detailed instructions on how to create and run a test.
Create a test
You can create tests or edit existing ones from the Tests page (Branch Actions > Low-Code Test).
Important
You must configure your app's Android and iOS binaries, and your device farm credentials from the Run Settings section to run your tests.
To create a test, click Create test. You may also duplicate an existing test and edit the copy created. To do so, click the vertical three-dot icon to the right of the test and, then, Duplicate. The duplicated test name contains the word "Duplicated" between brackets to differentiate it from the original.
To edit the configuration of a test, navigate through the tests list to find the desired one and click the pencil icon. To delete a test, click the more options menu of the test and, then, Delete.
If you already know which are the steps to create a new test, but need further information on how to complete any specific field, refer to the Low-Code Test use case scenario (How to test your app's login process with Low-Code Test) to see a real example of a test created with the feature and learn how to configure yours.
Run a test
To run a test, make sure you have generated and published your app, so that all the latest changes are applied and included in the test. Then, on the LCT homepage, follow these steps:
Navigate through the tests list to find the desired one and click the play icon.
Select the binary or binaries that you want to test from the drop-down menu.
Check the "I already generated and published my app" checkbox.
Click Run to start the test run.
To run two or more tests simultaneously, click the checkbox to the left of the selected tests to enable the option and then click the play icon above the tests list, or click the checkbox to the left of the tests list's Test column and run all the existing tests at the same time.
When the execution of your test is finished, you can see the outcome of the test run in the Results page.