Skip to content

Variable

You have to use these variables inside curly braces {{}} and {$variable_name$}. You can use any Field Name as a variable through {$field_name$}.

Example

Variable
{$field_name$}
{{calculation.increase[20]}}
{{calculation.increase[{$field_name$}]}}

Page Location Variable

Use this variable in the format {{variable_name}}

Variable NameDescription
location.hrefPage URL
location.hostSite Host Name
location.hostnameSite Hostname
location.originSite Origin
location.pathnamePage URL Pathname

Generate Random Value

Use this variable in the format {{variable_name}}

Variable NameDescriptionOutput
random.integer[0][12]Generate random integer value form 0 to 12.7
11,..
random.float[0][12][2]Generate random float value form 0 to 12 with 2 digit precision.7.45
11.90,..
random.string[a,A,0][7]
random.string[a,0][7]
random.string[a,A][7]
Generate random string of 7 chars with a-z,A-Z,0-9 character setA0bAur8,..
ud7dhe6
AuYctTd,..
random.email[gmail.com]Generate random email address with custom domain name.abeu@gmail.com
date.today[DD-MM-YYYY]Generate today date for given format
date.today[x]Generate today date and time timestamp
random.date[YYYY-MM-DD][1994][2012]Generate random date for given format within 1994-20122012-09-12
1993-12-01,..
random.mobile[10][6,7,8,9]Generate random mobile number.
- Mobile Number Length [10]
- Mobile Number Which Is Starting With [6,7,8,9]
9567893476
7590556721
6534980345,..
random.year[1994][2012]Generate random year value form 1994 to 2012.2001
1998,..
random.choose[red,green,blue][,]
random.choose[string][divider]
Generate random string value from red,green,bluered
green
blue,..
random.month[format][lang]Generate random month in specified format and language.
random.day[format][lang]Generate random day in specified format and language.
If the page has multiple elements with the same selector, how do I select a random one?
js
input:nth-child({{random.integer[1][3]}})

{{random.integer[1][3]}}

This variable is used to generate a random integer between 1 and 3. It's particularly useful for selecting a random element from a group of elements with the same selector, ensuring your data is filled in a random element within that group.

random.month[format][lang]

FormatDescriptionExample
nReturns a numeric month without padding, 1-121
nnReturns a numeric month with zero-padding, 01-1201
sCapitalized short month name (e.g., Jan)Jan
ssLowercase short month name (e.g., jan)jan
suUppercase short month name (e.g., JAN)JAN
fCapitalized full month name (e.g., January)January
fsLowercase full month name (e.g., january)january
fuUppercase full month name (e.g., JANUARY)JANUARY

random.day[format][lang]

FormatDescriptionExample
nReturns a numeric day without padding, 1-71
nnReturns a numeric day with zero-padding, 01-0701
sCapitalized short day name (e.g., Sun)Sun
ssLowercase short day name (e.g., sun)sun
suUppercase short day name (e.g., SUN)SUN
fCapitalized full day name (e.g., Sunday)Sunday
fsLowercase full day name (e.g., sunday)sunday
fuUppercase full day name (e.g., SUNDAY)SUNDAY

Language

Language SymbolLanguage Name
enEnglish
esSpanish
frFrench
deGerman
itItalian
ptPortuguese
ruRussian

Calculation

Use this variable in the format {{variable_name}}

Variable NameDescriptionOutput
calculation.increase[2]To increase the number.3
calculation.decrease[3]To decrease the number.2

TIP

  • Using other variable - calculation.increase[{{random.integer[9][12]}}]
  • Nested - calculation.increase[{{random.integer[9][{{random.integer[19][112]}}]}}]

Entry Variable

Use this variable in the format {{variable_name}}

Variable NameDescription
entry.indexGet Current Active Excel Entry No.
entry.lengthGet Total Excel Entry No.

Loop Variable

Use this variable in the format {{variable_name}}

Variable NameDescriptionOutput
loop.index[FieldName]If you are using Field Type Loop and you need the index of the Loop then you can use this variable. In this variable you only have to give the name of Field Type Loop.Number
loop.length[FieldName]If you are using Field Type Loop and you need the loop length of the Loop then you can use this variable. In this variable you only have to give the name of Field Type Loop.Number

WARNING

If Loop setting Store Loop Index is on then return actual Loop index but if loop setting Store Loop Index is off then return current active loop index.

TIP

  • You can increase/decrease loop index. calculation.increase[{{loop.index[FieldName]}}]
  • Use variable like this: https://example.com/list?page={{loop.index[Loop]}}

Released under the MIT License.