Assertion Check if Heading and label appears Proper (WebDriver) - Bug Reaper

                  Bug Reaper

Lean about Automation Testing,Selenium WebDriver,RestAssured,Appium,Jenkins,JAVA,API Automation,TestNG,Maven, Rest API, SOAP API,Linux,Maven,Security Testing,Interview Questions

Monday 23 September 2013

Assertion Check if Heading and label appears Proper (WebDriver)


 Assertion Check if Heading and label appears Proper


WebElement zipcode=driver.findElement(By.id("lblmsg"));
assertEquals("compare", "COD Available.", zipcode.getText());

No comments:

Post a Comment