Certification: AI-driven Test Automation

Variables

Variables

Parameters

You can use global (stored) variables as parameter in most commands:
enter from the string with parameters "${homePrefix}/my/path" into "urlPath"
Generate unique date and time with unique parameters:
generate from template by string with escaped parameters "${nowDateTimeIso}-**********", then enter into "Data" and save as "generatedData"
Multiple files upload can be done like so:
enter from the string with parameters text starting from next line and ending with [END]
${file_var_one}
<FILE_URL>
[END] into file input "myFileInput"

In the case of identical syntax, a defined rule always has higher priority than general syntax

You can combine static text with variables, for example:

Fill in the form:
generate unique name, then enter into "First Name" and save as "firstName"
generate unique name, then enter into "Last Name" and save as "lastName"
Then, on the next page, perform a validation
check that page contains a string with parameters "Welcome, ${firstName} ${lastName}!"

Test data

You can use built-in testRigor test data storage to save screenshots or upload files to it for subsequent manipulation.

For example:
compare screen to stored value "Saved Screenshot"
Or
upload file from saved value "sampleFile"
upload file "https://some-page.com/path-to-file" to mobile device

Test your knowledge

generate by template “${nowDateTimeIso}-“, and save in “Data”
generate time using template “${nowDateTimeIso}-“ and store as “Data”
generate from template by string with escaped parameters “${nowDateTimeIso}-“, then enter into “Data” and save as “generatedData”
template “${nowDateTimeIso}-“ to generate and save as “Data”

input multi-files using “${file_var_one}” to “myFileInput”
use “${file_var_one}” and “<FILE_URL>” and load to “myFileInput”
enter from the string with parameters text starting from next line and ending with [END] ${file_var_one} <FILE_URL> [END] into file input “myFileInput”
upload multiple “${file_var_one}” and “<FILE_URL>” to “myFileInput”

generate unique email, then enter into “Your Email” and save as “emailID”
generate unique name, then enter into “First Name” and save as “firstName”
generate email, then enter and save as “Your Email”
generate unique emailID, then enter into “Your Email” and save as “emailID”