Search Results for: locators

Xpath Axes Locators in Selenium WebDriver- Dynamic HTML Table

Refer to the below Links for Practise Complete JAVA QUIZ Selenium Advanced Quiz 50 Real Time Interview Questions Selenium Quiz REST API QUIZ Dynamic Content: In Web Applications the data… Read more »

Selenium Locators

Selenium Locators Identification of Objects/WebElements/HTML Components can be done in 8 ways: (or) Locators: 1. ID Locator driver.findElement(By.id(“usernmae”)) 2. NAME LOCATOR driver.findElement(By.name(“username”)); driver.findElement(By.name(“password”)); – 3. CLASSNAME LOCATOR class=”textboxcolor” driver.findElement(By.className(“textboxcolor”)); class=”inputtext… Read more »