Peter Haworth
Katalon Apprentice
05/15/2018
edited May 15

assertAttribue error

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.
Upvote
Quote

Comments

Sign In or Register to comment.