How To Drag And Drop An Element In Selenium WebDriver

When we talk about drag and drop kind of tricky operations, We need to use Advanced User Interactions API of selenium WebDriver. It Is not so simple and at the same time not too much hard. We need to write multiple syntax to perform drag and drop action because you need to take multiple actions … Read more

Capture Screenshot On Failure Or Pass – WebDriver Data Driven Framework

In our WebDriver data driven framework creation, We have Implemented calc software tests In all calc test cases of WebDriver data driven framework In STEP 30. Now supposing, You wants to capture screenshot of software web page when your test fails. It will helps you to analyse the test failure reason. Based on web page … Read more

Implement Calc Tests In Remaining Three Test Cases Of DDF

We have already Implemented calc summation test In “SuiteOneCaseOne.java” test case of our webdriver DDF creation STEP 26. Now, Its time to Implement Calc test In remaining three test cases of our webdriver DDF. We will Implement calc subtraction, multiplication and division tests In “SuiteOneCaseTwo.java“,  “SuiteTwoCaseOne.java” and “SuiteTwoCaseTwo.java” test cases respectively In this step. STEP … Read more

Selenium DDF : Creating Functions To Locate Elements By All Locator Types

We have Implemented getElementByXPath function to locate element by XPath In PREVIOUS STEP. As you know, There are many different element locators available In web driver. So obviously, Sometimes you needs to locate elements by other locator types too ( cssSelector, ID, Name etc..) when It Is not possible to locate element by XPath. Let us Implement … Read more