All Collections
Editor
Step type reference
Step type reference

Reference table and descriptions of all different step types

Arto Vuori avatar
Written by Arto Vuori
Updated over a week ago

Step type reference table

Step type descriptions

Check

Verify content (text or html element) on the page.

Use check to make sure you are on the correct page, or the specific content wanted is on the current page. For example check after login that you are logged in by adding a check to your profile name or logout link.

In Editor, change mode to add check from the cursor after your last step by clicking the

symbol. Now one check can be added by clicking the element or selecting text on your app.

Created check appears on the action list like steps.

Check randomly created text

For example can be used to check a random text from a random input comment post to a forum.

Add a check and select the randomly generated text or paragraph.

On runtime, the randomized string will be the same for all places the format is used. So text input containing foo+random@example string will be checked with the same value.

Record

Any action you perform on the virtual browser.

A click, a keypress, reloading the page, navigating to url etc. All these actions create a step on the trace.

Type Text

Type text or random text to html fields. Use type text to fill fields with static or unique data. For example a user registration trace where a new email is randomized every time the trace is run, so your db doesn’t need to be reset before running this trace.

Pointer in Record mode, point mouse to a field in Virtual Browser and type text. A new step is created while typing.

Random text

In Editor, fill a text field in your app by adding string ‘random’. When the trace runs, the string random willbe replaced by runtime generated value.

random890e -> 4822575890erandom00@example.com -> 32952092600@example.comfoo+random@example.com -> foo+4284572@example.commy random message -> my 343531232 message

Hover

Move the mouse cursor over the give element on the page.

Use hover to move the mouse cursor over some content that is displayed only when hovered.

In Editor, change mode to hover from the cursor after your last step by clicking the

symbol. Now a hover can be added by clicking the element on the page.

Created hover appears on the action list like steps.

Script

Execute JavaScript in the virtual browser.

JavaScript steps can be used to create more advanced actions, like picking the current date from a datepicker, or other actions that require some kind of dynamic interaction with the page.

In Editor, change mode to JavaScript from the cursor after your last step by clicking the

symbol. Now a script can be added to the opening modal window. Click the Test button to execute the current script in the virtual browser. This is helpful when developing the script.

Created JavaScript step appears on the action list like steps.

Reusing the same javascript step in multiple traces: see Reusability.

E-mail

Open webmail with the given address.

You can open any e-mail address that ends with ‘@mail.usetrace.com’ to check the last unread email. Use this step in conjunction with a randomly generated e-mail address for each trace.

In Editor, change mode to e-mail from the cursor after your last step by clicking the

symbol. If you’ve written a suitable e-mail address in the trace before this step, the address will be automatically populated.

Created e-mail step appears on the action list like steps.

Wait

Wait and do nothing.

In most cases, waiting isn’t needed as Usetrace automatically detects when a page has loaded and will wait for dynamically added elements for the time that’s set in each step.

In Editor, change mode to wait from the cursor after your last step by clicking the

symbol. Add a wait of n seconds.

Created wait appears on the action list like steps.

Routine

Use a routine.

See Routines for more information about the routine step usage.

Did this answer your question?