Web step types

Learn the different web step types available for interactions, verifications, navigation, waits, and more to build reliable automated tests.

Each step in a web test corresponds to a specific action. This guide presents the different action categories and their usage.

Interactive tutorial


Step-by-step guide

Interactions

ActionDescriptionRequired fields
Click / Double-click / Right-click / HoverSimulates a click or hover on an elementStep name, selector
File uploadUploads a file (photo, document)Public cloud URL
Keyboard keysSimulates key combinationsNo selector needed
Text inputFills a form fieldName, selector, value
ScrollScrolls the page to an elementSelector (rarely needed, scroll is automatic)

For file uploads from Google Drive, use this format: https://drive.usercontent.google.com/download?id={id}&export=download&authuser=1

Email and SMS

These actions retrieve verification codes or links sent by email/SMS.

ActionVariable createdRequirements
SMS codeCodeSmsAI license, phone number
Email codeCodeMailAI license, @kappti.dev address
Get email(none)@kappti.dev address
Email linkLienMailAI license, @kappti.dev address

To use a retrieved variable in a subsequent step, add a Text input step, click , and select the corresponding variable (for example CodeSms or LienMail).

Email and SMS actions use AI to extract the relevant code or link from the message. An AI license is required.

Verifications

ActionDescription
Verify elementChecks for an element with options: Displayed, Clickable, Enabled, Present (in DOM). Also waits for the element to appear.
Spell checkDetects errors on the page (AI license required).
AI verificationDescribe what you want to verify visually, for example "the payment page is displayed" (AI license required).
ActionDescription
Switch windowSwitches to another tab or window (URL or tab name required).
Navigate to URLLoads a new page in the browser.

Wait

ActionDescription
Wait for delayPauses for a fixed duration (milliseconds, seconds, or minutes).

Prefer Verify element over Wait for delay when possible. The verification waits for the element to appear and moves on as soon as it is visible, without unnecessary waiting.

Other

ActionDescription
Custom scriptRuns JavaScript for advanced use cases. Click Edit step to write your script.
Set variableCreates a test-internal variable. Use then Random to generate test data.
Extract valueCaptures the content of a page element into a variable for later use.

What's next?

Create a web test

Record and run your first web test.

Update your tests

Organize steps, add variables, and refine selectors.

Last updated on