Forum Discussion

dmitri_1's avatar
dmitri_1
Occasional Contributor
11 years ago
Solved

Using If...Then Statements

I have tried using If...Then, Else statements.



This 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 of the test  - 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...
  • It seems there are not a lot of unique properties on the java process. The only thing I can see is to exclude Eclipse from matching.



    In the "CommandLine" process property there is reference to "eclipse". Just make sure you exclude that.



    See attached screenshot.

14 Replies