How to use Exists/NotExists as variable in iterations?
Posted: Thu Jun 25, 2015 11:09 am
Hi!
I need to make a test with iterations that looks sort of like this:
Select Item X or Y
Make sure buttons A, B and C are either existing or notexisting.
Example:
select X -> A-exists, B-notexists
Select Y -> A-notexists, B-exists
I first tried to use "visible" attribute, but it fails because it can't find the element to check the visible status of.
"Validate" -> "Exist" is slower, so I might use "Wait For" -> "Exists", but I can't make it to be variable in either way.
How could this be solved?
Please help
I need to make a test with iterations that looks sort of like this:
Select Item X or Y
Make sure buttons A, B and C are either existing or notexisting.
Example:
select X -> A-exists, B-notexists
Select Y -> A-notexists, B-exists
I first tried to use "visible" attribute, but it fails because it can't find the element to check the visible status of.
"Validate" -> "Exist" is slower, so I might use "Wait For" -> "Exists", but I can't make it to be variable in either way.
How could this be solved?
Please help