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

Selenium WebDriver DDF : Creating Function To Get Element From Page

We have created object repository In selenium webdriver data driven framework creation STEP 27. So now, our all web element’s xpath or CSSPath or any other locators will be stored In object repository Instead of test cases files. Now let us try to compact webdriver code by creating getElementByXPath function to return web page element on … Read more

Selenium WebDriver DDF : Creating Object Repository To Store Element Objects

In Selenium WebDriver software test data driven framework creation STEP 26, We have Implemented simple calc software test. Now In this step, We will create object repository using .properties file to store software web page element’s locators like xpath Locator, cssSelector Locator, className Locator, id Locator, linkText Locator, name Locator, partialLinkText Locator and tagName Locator. We can call It … Read more