I have the following two statements in my test case:
verifyElementPresent | name=ProductIsLEP
assertAttribute | name=ProductIsLEP | checked |
The element is present on the page.
The verifyElement command succeeds. The assertAttribute fails with the message “Element name=ProductIsLE not found”.
I should add that in the same testcase i have a similar sequence on the same element but using assertNotAttribute and if does not fail.