Skip to content
Home
Code Generation
Agile Testing
Company
Success Stories
Blogs
Menu
Home
Code Generation
Agile Testing
Company
Success Stories
Blogs
Sign up
Home
Features
Company
Success Stories
Sign up
Menu
Home
Features
Company
Success Stories
Sign up
Test Studio
Evaluating Conditional Logic
Typical example
stepspassed(12,18) && stepsfailed(14,21) || ~var1~ > 10
If-true is configured
Expression evaluation
If evaluating → stepspassed(stepnum)
Retrieve all the stepnums from the expression
Retrieve the step status for the current execution
Return false if any of the steps do not have a status of “PASS”
Else replace this expression with true and continue to evaluate the next expression
If evaluating → stepsfailed(stepnum)
Retrieve all the stepnums from the expression
Retrieve the step status for the current execution
Return false if any of the steps do not have a status of “FAIL”
Else replace this expression with true and continue to evaluate the next expression
Look for any variable being present in the rest of the expression
If any variables are found – replace them with the runtime value
Evaluate all the expressions
Return the result of the evaluation
Return false if the evaluation fails
Have other questions? Access our full knowledge base!
VIEW ALL ARTICLES