[Sharing is learning] [Get rewards] Join Us Now to Become Katalon Champions. Learn more
Peter Haworth
Katalon Apprentice
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.


Sign In or Register to comment.