Forum Discussion
dmitri_1
12 years agoOccasional Contributor
Tried using If...Then, Else statements.
This also didn't work unfortunately.
If i understood it correctly, the if condition simply cannot evaluate if the element is not there, thus it can't continue onto the Else.
Attaching screenshot of the setup.
Basic idea is again - IF you are on a particular tab THEN click the desired tab. ELSE just continue with the test.
Also can you keep chaining ELSE IF's together?
Would have been easier if you guys just had a case statement which vbscript has...
This also didn't work unfortunately.
If i understood it correctly, the if condition simply cannot evaluate if the element is not there, thus it can't continue onto the Else.
Attaching screenshot of the setup.
Basic idea is again - IF you are on a particular tab THEN click the desired tab. ELSE just continue with the test.
Also can you keep chaining ELSE IF's together?
Would have been easier if you guys just had a case statement which vbscript has...