Conditional Operators in Selectors

I have an application, which opens a window.
The window either has the title “New Claim Period” or “Claim Maintenance”

I know I can use wild card operators such as ? and *, but is there anyway to use conditional operators such as OR?

Thanks

You can use pick activity. You need to give Element exist in triggers and provide actions to be taken.

2 Likes

Thanks vivek, That worked for me. :slight_smile:

I used a “Pick” activity as you stated, and then put in two “PickBranch” activities. They both had an “Element Exists” activity as the trigger, with the selector set to the relevant window name, and then the sequence in both set a variable called windowName to either “New Claim Period” or “Claim Maintenance”.

I then used the variable windowName with in the selector throughout the sequence.

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.