Home » Selenium
Selenium WebDriver 3 vs 4: Core Architecture Differences!
Selenium 3 Architecture: Selenium 3 Architecture is made up of four major components: Let’s elaborate on the process, In Selenium 3 Client Library connects with Browser Drivers and Browsers using the JSON Wire Protocol (JSON means JavaScript Object…
Read More »Waits in Selenium automation
When we automate the test, there are two components such as the software application (web element) that is to be tested and the test automation tool (web driver)that is used for executing the test. Both these components will…
Read More »Selenium-Java Cheat Sheet
Driver Initialization Chrome WebDriver driver = new ChromeDriver(); Firefox WebDriver driver = new FirefoxDriver(); Edge WebDriver driver = new EdgeDriver(); Safari WebDriver driver = new SafariDriver(); Locating Elements By ID: driver.findElement(By.id (<element ID>)) By Name: driver.findElement(By.name(<element name>)) By…
Read More »Jenkins error: org.testng.annotations does not exist
Solution: In your pom.xml file remove the scope and this should work fine. Because, even though we have imported the maven dependency for TestNG, when you add scope tag in XML file, it treats as JUnit annotation and…
Read More »What is QAOps? Process to implement QAOps
According to traditional, waterfall-style methodologies, where testing is often done at the end of the development process what leads to significant bottlenecks that can drip down the project quality and then release. That’s precisely where QAOps comes into…
Read More »Differences between Selenium 3 Vs. Selenium 4
In this article, I will compare the architecture for Selenium 3 vs Selenium 4, then highlight a few Selenium 4 advantages. I will also discuss the new features in Selenium 4 that have been applied to Selenium IDE, Selenium…
Read More »Advance techniques for Locators
As we know there are 8 locators are available in Selenium as below: Find different elements on a web page using Locators xPath xpath required for finding the dynamic element and traverse between various elements of the…
Read More »Locators in Selenium
Locators are the way to find or address web elements in html page. In Selenium there are 8 locators are available as below: Find different elements on a web page using Locators xPath xpath required for finding…
Read More »Differences between getText() & getAttribute() methods?
What are differences between getText() and getAttribute() methods? WHAT IS GETTEXT() METHOD? getText() is a method which gets you the visible inner Text of this element, including sub-elements, without any leading or trailing white space. Inner text is…
Read More »TestNG Assertion in Selenium
Q: What is TestNG Assert and list out common TestNG Assertions? A TestNG assertion in Selenium is a way to verify that the actual behavior of an application matches the expected behavior. It is a mechanism that allows…
Read More »