Modify smartphone test steps

Learn how to modify smartphone test steps by changing action types, adding verifications, and retrieving email codes or links.

This guide explains how to refine a smartphone test after the initial recording: change an action type, add verifications, retrieve email codes.

Interactive tutorial


Step-by-step guide

Change the action type

1
Open the action selector

Click the action type of an existing step (for example "Tap").

2
Choose the new type

Select the desired type from the list. For example, replace a Tap with a Long press.

Add steps

1
Hide the keyboard

Add a step and choose Hide keyboard if the keyboard is blocking your flow.

2
Wait for a delay

Add a Wait for delay step and set the duration if your scenario needs a pause.

Retrieve emails and codes

1
Verify email reception

Add a Get email step and enter the receiving address (must end with @kappti.dev).

2
Retrieve an OTP code by email

Add a Get email code step with the @kappti.dev address. The code is stored in the MailCode variable for later use.

All email addresses used for retrieval must end with @kappti.dev.

Add verifications

1
Add an element verification

Add a Verify element step.

2
Configure the condition

Choose whether the element should or should not match the condition.

3
Choose the verification type

Select from: Displayed, Clickable, Enabled, or Present.

What's next?

Advanced options

Configure delays, hooks, and AI settings.

Create a smartphone test

Go back to the basics of creating a mobile test.

Last updated on