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
Click the action type of an existing step (for example "Tap").
Select the desired type from the list. For example, replace a Tap with a Long press.
Add steps
Add a step and choose Hide keyboard if the keyboard is blocking your flow.
Add a Wait for delay step and set the duration if your scenario needs a pause.
Retrieve emails and codes
Add a Get email step and enter the receiving address (must end with @kappti.dev).
Add a Get email code step with the @kappti.dev address. The code is stored in the MailCode variable for later use.
Add a Get email link step with the @kappti.dev address. The link is stored in the MailLink variable.
All email addresses used for retrieval must end with @kappti.dev.
Add verifications
Add a Verify element step.
Choose whether the element should or should not match the condition.
Select from: Displayed, Clickable, Enabled, or Present.
What's next?
Last updated on