inputText

Enter text into fields in Maestro, including random emails, names, or numbers with length.

Inputs text (regardless of whether any text field is currently focused or not)

- inputText: "Hello World"

Input random text

There are several convenience methods for entering a random text input:

- inputRandomEmail         # Enters a random Email address
- inputRandomPersonName    # Enters a random person name
- inputRandomNumber        # Enters a random integer number
- inputRandomText          # Enters random unstructured text
- inputRandomCityName      # Enters a random city name, worldwide
- inputRandomCountryName   # Enters the name of a random country
- inputRandomColorName     # Enters a random colour. Might be multiple words.

Note: Since Maestro v2.0, the implementation behind the random commands was changed to use DataFaker, which gives a much wider spread of random data than was available in Maestro v1.x.

Length

You can pass length as argument for Number and Text

- inputRandomNumber:
    length: 10  #(default: 8)
- inputRandomText:
    length: 10  #(default: 8)

Re-using random input

To access and re-use your random input, you can use the copyTextFrom function, as shown in the example below.

Last updated

Was this helpful?