New Variable
Is a keyword that considers the condition to perform one or a group of actions in the test scenario
Platform
Web, Android, iOS, Windows, JavaSwing, Api, JDBC, SSH. FTP
Properties
| Properties | Data Source | Recommendations |
|---|---|---|
| New Variable property: parameters of the initialized parameter, including:_ Data Type_: is the data type of the variable, helping the system to accurately determine the content and data of the initialized parameter islist: determines whether the created variable has only elements or is an array/list of data Depending on the value assigned to the variable, the choice is true/ false Name: name of the initialized variable | ||
| If block: perform a certain step (or group of steps) when the logical expression has a result of true | ||
| Variable default: value/parameter assigned to the keyword's initialized variable Can be a value, independent parameter or concatenated from multiple parameters | The default system is Variable | The default system is String |
Use case
Use when it is necessary to initialize a new variable in the test scenario for a purpose that meets the requirements of the test problem
Assign Value
Is a keyword used to assign a value to a variable
Platform
Web, Android, iOS, Windows, JavaSwing, Api, JDBC
Properties
| Properties | Data Source | Recommendations |
|---|---|---|
| Assign Value property: parameter assigned value_ Data Type_: is the data type of the parameter assigned value Name: name of the parameter assigned value | ||
| If block: execute a certain step (or group of steps) when the logical expression has a true result | ||
| Variable default: value/parameter assigned to the keyword's initialized variable Can be a value, independent parameter or concatenated from multiple parameters | The default system is Variable | The default system is String |
Use case
Use when you need to assign a value to a parameter in a test scenario for a certain purpose to meet the requirements of the test problem