It’s quite straightforward to setup Jenkins for running automated tests, Problem…
--- Id #idName
--- Class.className
--- Tagnamediv
--- adjacent siblingh2 + p
--- direct child ul > li
--- descendantul li
--- Absolute xpath/html
--- Relative xpath//tagName[@attribute=‘attributeValue’]
--- select all tag//*
-------------------------------------------------------
// using OR | AND…
Problem:
Problem : How to skip the test cases forcefully in TestNG framework?
Analysis: we will be required to skip the test cases in below cases
Problem :To verify presence of a WebElement on page using selenium WebDriver
Analysis :Selenium provides two methods to find elements on a web page