Reputation: 151
I am using a robotframework for testing and i have following fields
Day:
Month:
Year
and for US it shows like
Month:
Day:
Year:
How can i verify using robotframework if above fields are showing in correct sequence.
Upvotes: 1
Views: 107
Reputation: 1073
If you are using robot framework with java, insert all the text field labels into LinkedhashSets (LinkedHashSet<String>
). So that, insertion order will be same as you seen on the web page. Compare with the another LinkedHashSet with the labels in the order that you want to check.
Let me know if you have any queries..
Upvotes: 1