Keyboard Type
Type text into the currently focused field. Supports $parameter substitution and [[random]] markers for unique-per-run values.
Keyboard Type sends keystrokes to whatever field currently has focus on the device. The text comes from the step's Keyboard Input field and supports $parameter substitution and [[random...]] markers.
Mavster does not focus the field for you — pair this step with a Tap on the field first.
Settings
| Field | What it does |
|---|---|
| Keyboard Input* | The text to type. Supports $placeholders and [[random(N)]] / [[randomDigits(N)]] markers. |
Random markers
For values that need to be unique per run (sign-up emails, order references, anything you don't want to collide on a re-run), use one of the random markers.
| Marker | What it produces |
|---|---|
[[random(N)]] | N random alphanumeric characters (a–z, A–Z, 0–9) |
[[randomDigits(N)]] | N random digits (0–9) |
You can mix markers, literal text, and $parameters freely:
| Keyboard Input | What gets typed |
|---|---|
user[[randomDigits(4)]]@test.com | user3927@test.com |
Order-[[random(8)]] | Order-pP3xK91q |
$plan-[[randomDigits(6)]] | pro-481923 |
If the marker syntax is wrong (e.g. [[random(5)), Mavster types it as literal text — there's no warning, so double-check the brackets and parens.
What's possible
-
Typing literal text:
test@example.com. -
Parameterized typing:
$email, with the value supplied via Run Test arguments or a User-Defined instance's arguments. -
Mixed literal + parameter:
order-$orderId-$year. -
Unique-per-run values:
user[[randomDigits(4)]]@test.com(a different email every run). -
Escaping
$: write$$to mean a literal$in the typed output (Price is $$50typesPrice is $50).
What's not possible
-
Typing into an unfocused field — bring focus first with a Tap on the field.
-
Triggering keyboard shortcuts (Cmd-A, Ctrl-V, etc.) — Keyboard Type only sends literal characters. Use Built-In: Hit Return Key for Return; Built-In: Clear Text to wipe a field; Built-In: Hit Backspace Key for backspace counts.
-
Dismissing the keyboard — use Built-In: Tap to Dismiss afterward if you need to scroll under it.
Common patterns
-
Login flow: Tap (Email field) → Keyboard Type (
$email) → Tap (Password field) → Keyboard Type ($password) → Tap (Sign In). Defineemailandpasswordas test parameters and call this test from a Run Test step with multiple credential sets. -
Sign-up with unique email: Tap (Email field) → Keyboard Type (
user[[randomDigits(6)]]@test.com) → Tap (Continue). Each run generates a fresh email so re-runs don't collide on the backend. -
Search: Tap (search field) → Built-In: Clear Text → Keyboard Type (
$query) → Built-In: Hit Return Key.
