Random strings and numbers

Table of contents


Description

The Random action is used to generate random data - strings, numbers, and logins. 

Where it can be applied: 

  • Selecting a random element or elements on the page (in conjunction with other actions). 

  • Generating a password.

  • Generation of the date of birth (for this you will need to use several Generate random number actions in a row).

  • Generating zip code

  • Generating logins

 

How to work with an action?

Generating a number

  • From - the lower limit of the generated number.

  • To - the upper limit of the generated number, NOT INCLUSIVE.

Example: when generating a number from 3 to 6, each call of this action will generate one of the numbers - 3, 4, 5


Generating text

  • Length - sets the minimum and maximum length of the resulting string. As in the case with numbers, the upper bound is NOT inclusive (i.e., when generating a string of 3 to 10 characters, each time this action is called, a random string with a minimum length of 3 characters and a maximum length of 9 characters will be generated; the length of the string will also be random)

  • Checkboxes Uppercase, Lowercase, Digits - mark those items that should be in the final line. Please note that only English characters are used.

  • Custom characters - when this option is selected, you must enter a character string in the input field on the right. The generated string will contain only the specified characters.

  • Checkbox The mandatory use of all of the parameters - If this checkbox is checked, the final string will contain at least one character of each checked options above ( Uppercase, Lowercase, Digits, Custom characters ).

For example, if we execute this action 5 times with the length settings from 5 to 9, with the following options enabled: “Uppercase”, “Lowercase”, “Digits”; we get something like this:

w6ZxAw
0M5oke7
ZlE3SY
Tos6KRZ
l5a640Pk


Login generation

Login is generated based on the specified formula. The screenshot shows several options for the preset formulas. Learn more about formulas:

Currently supported languages are Eng - English, Lat - Latin, Jap - Japanese.

That is, by writing [Eng | 4] , a nickname with a length of 4 English syllables will be generated, with the probability of the following syllables being the same as in real words. After playing around with the generation formula, you can create more complex structures:

[RndSym|[RndNum|0|4]|0123456789][Lat|3][RndSym|[RndNum|0|2]|-][Jap|1][RndText|2|D]

where [RndSym | [RndNum | 0 | 4] | 0123456789] - at the beginning of the nickname goes from 0 to three digits;

[Lat | 3] 3 syllables in Latin;

[RndSym | [RndNum | 0 | 2] | -] hyphen may appear;

[Jap | 1] one Japanese syllable;

[RndText | 2 | D] then random 2 letters or numbers;

As a result, nicknames will be generated:

053bomenca-iem
7lialeme-nozr
46atbemig-poex
simpvido-se8f
3afosuxhif6
frigulimdeif
misssefu-yucn
5grasacin-maew
trodalcelfu88
6nasercia-risc

Useful links: