Using the below code to check whether checkbox is checked. Have continue on failure option as argument in the function. When checkbox is not checked testcase completes with failure. ** I want the testcase as passed** when checkbox is not checked how can i do it? I dont want to use the verifyElementnotchecked function.
Tried KeywordUtil.markPassed(‘Test is passed!’) but its still the testcase is failing. It exits the testcase & doesnt continue running after this function.
Thanks for your help. Figured it out. You need to pass the third argument as FailureHandling.OPTIONAL so that it reports as warning but testcase is successful