| || |
unable to verify error messages and text at page using webdriver, java and testNG.
can any body give me example code of how to verify text on web page, like errors and plain text in web driver and testNG.
I am relatively new to selenium and web driver as well
Same I posted in the earlier question.
driver.findByElement(By.id("<Your id >").isDisplayed(), returns true if it is present
I think this will show or verify the text in any element, But if there is some text copy or description , How we will verify that?
Tags for this Thread