Home » Automation Testing

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 »

Selenium Headless Browser Testing

A headless browser is a web-browser without a graphical user interface. This program is behave like a browser but does not show any visual browser interface or GUI. Examples of Headless Drivers:  HtmlUnit Ghost PhantomJS Watir-webdriver HTMLUnit Driver :…

Read More »

Differences between isDisplayed (), isEnabled() & isSelected() methods

All methods are Boolean but the differences are: 1. isDisplayed(): method is used to verify whether any object on a site is present or not. So, it’s applicable to any web object and returned true or false. 2….

Read More »

WebDriverManager: No more required driver to lunch browsers!

As an automation engineer we know that we need to use setProperty() method to set and let our WebDriver know the key and the path of our browser binary (executable file) due to lunch or handle some browsers…

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 »

GitHub Commands

Git: Git is a distributed open source version-control system for tracking changes in source code during software development. It is designed for coordinating work among programmers, but it can be used to track changes in any set of…

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 »

Page Object pattern in Selenium

What is Page Object pattern? :Is the up to date smart framework as -Easy to maintain. -Easy readability of scripts -Reduce or eliminate duplicity -Re-usability of code -Reliability How Page Object works? : Create a separate java class…

Read More »

Maven

What & Why Maven? Maven is an automation and build/project management tool. It is written in Java Language and used to build and manage projects written in C#, Ruby, Scala, and other languages. Maven helps the developer to…

Read More »