/
"ELSE" Command
"ELSE" Command
Description: This command allows creating an alternative step to execute in case the preceding condition is not met.
Usage Scenario: Suppose we want to add an alternative step to execute if the value of the Birthday text box in our Reference app is not blank.
Procedure: Define a step that retrieves the value of the Birthday text box and define conditional steps that execute according to the result.
Conditions:
1- If the value is empty, fill it with “10.10.1991” and print “Profile has been updated, birthday has been added”.
2- Else, print “Birthday has not been updated because it already exists”.
Your steps will look like this:
See the Test Library path: subject7_samples/subject7_advanced_suite/subject7_modify_profile_information
, multiple selections available,
Related content
"IF" Command
"IF" Command
More like this
7. List of Subject7 Commands
7. List of Subject7 Commands
More like this
"GET_GLOBAL_VAR" Command
"GET_GLOBAL_VAR" Command
Read with this
"END_IF" Command
"END_IF" Command
More like this
12. Subject7 Jenkins Plugin
12. Subject7 Jenkins Plugin
Read with this
Generic Command Options (Runtime Options)
Generic Command Options (Runtime Options)
More like this