"SET_VAR" Command

Description: This command creates a variable using the type: static, random, expression or pattern and stores it in the variable name.

Usage Scenario: Suppose we want to set a value for a password to be saved in a variable so we can use this password to register on Reference app.

Procedure: Define your step and use Static as Source Type with variable name “password”. Then enter your value or inject it using a data template. Your step will look like this:
Set_Var step:

image-20240610-155959.png

Fill step that uses the value from this variable:

image-20240610-155858.png

See the Test Library path: subject7_samples/subject7_intermediate_suite/subject7_website_registration_hardcoded