I’m using selenium RC with Java. to verify the text present i’m using below statement
com.unitedinternet.portal.selenium.utils.logging.LoggingAssert.assertEquals("Text not found",s.isElementPresent(CommanWebElements.lblOwner),true,(LoggingSelenium) s);
the problem is if the particular text is not present, execution will not be continued.how to use verify instead of assert in order to continue the execution if particular text is not present
For doing some logic like that, i used
waitForElementNotPresent()and thenassertElementNotPresent()for the field. this was the method name in selinium plugin for FF. But can you tell me which jar name and version you are using for selenium RC. i happened to find selenium RC 0.9.0i also found selenium core link. this has all the methods i mentioned above. :). so i hope that solves your problem.