Handle Dynamic Elements using XPath in Selenium Learn how to handle dynamic elements using XPath in Selenium Handle Dynamic Elements using XPath in Selenium 1) contains: WebElement element = driver.findElement(By.xpath("//*[contains(@class,'alert')]")); System.out.println(element.getText()); 2) star...
How to implement Page Object Model (POM) in Selenium? Learn how to implement Page Object Model in Selenium How to implement Page Object Model (POM) in Selenium? Example: If an application has 3 pages – Login, Home and Register Page. Then we can create 3 different Page Object classes with all web ele...
How to use Properties Files in Selenium Automation Framework Learn how to use properties files in Selenium Automation Framework How to use Properties Files in Selenium Automation Framework? What is Properties? It is mainly used to store configuration parameters of an application. Each parameter is s...
Java OOPS concepts in Selenium Automation Framework Learn how to implement Java OOPS concepts in Selenium Automation Framework Java OOPs concepts in Selenium Automation Framework 1) DATA ABSTRACTION Data Abstraction is the property by virtue of which only the essential details are displayed to the u...
Page Load Strategy in Selenium WebDriver Page Load Strategy in Selenium WebDriver By default, Selenium WebDriver follows the normal pageLoadStrategy when it loads any page which means it waits until the entire page is loaded. In scenarios where it takes a lot of time to load the page, it is always ...