T E S B O

Tesbo

Assert multiple element with OR condition

Syntax:

Verify: @element text is not equal to 'verify text' OR @element text is equal to 'verify text'

i.e

Test: Verify assertion with or condition
#All #assertion
Step: Open URL 'https://www.mathsisfun.com/numbers/counting.html'
Verify: @Heading text is not equal to 'Count 100' or @Heading text is equal to 'test OR'
Step: pause 2 sec
End

you can find a similar example from Tesbo-Skeleton as well

Powered by BetterDocs

Leave a Comment