Skip to content

Instantly share code, notes, and snippets.

@tarun3kumar
Created January 4, 2012 06:59
Show Gist options
  • Save tarun3kumar/1558877 to your computer and use it in GitHub Desktop.
Save tarun3kumar/1558877 to your computer and use it in GitHub Desktop.
Using Custom Verification
@Test(groups="non-grid", alwaysRun=true)
public void verifyTaggedBlogs() throws InterruptedException {
customVerification.verifyTrue(actualblogTag.equalsIgnoreCase(expectedBlogtag.trim()), "Expected Blogs with tag: " +expectedBlogtag+
", While actual tag is: " +actualblogTag);
customVerification.verifyTrue(selenium.isElementPresent(getPageElement("BlogsHomePage", "NTad")),
customVerification.verifyTrue(selenium.isElementPresent(getPageElement("BlogsHomePag
customVerification.checkForVerificationErrors();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment