verifyElementAttributeValue returns false if the order of multiple attribute values are changed

@kazurayam @ThanhTo

What’s needed is this…

WebUI.verifyElementHasClass(...)

It’s justifiable because class, (also like style) can have multiple values. Sticking with any notional isEqual will usually fall short of rigororous testing needs.

Returning to the OP…

@shunmatsu_begginer If I understood your need correctly, you want to retrieve the value and check it’s equal to something. You don’t need “contains” if the order of the classnames is important.

2 Likes