Hello,
I am trying to select a Religion drop-down value.
If did not tick the "Use regular expression", it will fail with "Failed to perform the requested operation on the drop down list. Option 'Catholic' was not found" error message.
Even if "Catholic" is available in the drop-down selection.
If I tick the "Use regular expression", it is selecting the first match with the word "Catholic"
I have tried also to do a click on the drop-down element and send keys the "Catholic" but did not work.
Can somebody help me with this?
Thank you.
Solved! Go to Solution.
Try putting ^ before your text and $ after. As described here: https://regexone.com/lesson/line_beginning_end
Try putting ^ before your text and $ after. As described here: https://regexone.com/lesson/line_beginning_end