21Labs pre-builds most of your test, and there are several ways you can customize your test.

Add actions:

  1. Navigate to the screen and select an element. You can choose the element on the screen or through the object tree.

    Note: If the element is not selectable from the screen you can choose it from the object tree. Select Object tree and navigate to the element. Use the object tree for screens that include many elements. An element that has IDs will process faster than elements that don't.

  2. Click Add Action.

Set text:

To enter text, choose Set Text from the menu and choose the element where you want to set the text. If you choose a TextView, you have a number of options to set the text. See Using data in your tests for more information.

Once done, click Add Action.

Using Computer vision

In some scenarios, the object tree might not expose the text or the text in the object tree will be different than the rendered text. Use computer vision to select the text.

Did this answer your question?