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

Implementing Calc Sum Test In Selenium WebDriver DDF

In Previous Step, We have Implemented URL centralization In DDF to make your future URL maintenance easy and you can change test site URL from one place. Now next step Is to write some WebDriver test code. In this step We will Implement simple calc test In our SuiteOneCaseOne.java test case. STEP 26 Prerequisite : … Read more

Reading Site URL From properties File In Selenium WebDriver DDF

In selenium WebDriver Datadriven Framework Creation, We have Implemented functionality of running test cases In different browsers In Previous Step. And for that, you have to change your test browser name at one place only. So now you can set your test browser In Param.properties file. Now next step Is reading site URL from Param.properties file. STEP 25 Prerequisite : … Read more