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

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

We have Implemented loadWebBrowser() and  closeWebBrowser() functions In PREVIOUS POST to centralize browser loading activity. Now supposing you wants to run your webdriver  test In any other browser like Google Chrome then how will you do It? Our framework should have some facility to run selenium webdriver  test In your desired browser. Let us do It.


STEP 24

As you know, We have already Introduced Selenium webdriver In our test data driven framework during PREVIOUS POST. And now we are going ahead very slowly to use data driven framework In selenium webdriver tests.
STEP 23

Our core data driven framework creation part Is over In STEP 21. Now this Is the right time to Introduce selenium webdriver In our selenium data driven framework. If you are totally new to selenium webdriver then you must have to visit webdriver tutorials PART 1 and PART 2 pages where you will find the links of very useful tutorials on webdriver.

STEP 22

We have successfully generated XSLT reports for our selenium webdriver software test data driven framework In STEP 20. If you see In STEP 20, We need to open command prompt, Then need to type many different commands to clean, compile, run and generate XSLT reports. So now let us Implement all these things In batch file to perform all actions by double clicking on batch file.

STEP 21

ANT and other file's configuration to generate XSLT Reports for selenium webdriver software automation test Is already done In previous STEP 19. So now configuration part Is over to generate XSLT reports. In this step, We will learn how to generate XSLT reports for selenium software test data driven framework.

STEP 20

To generate XSLT reports, We have to use Apache Ant. Apache Ant Is open source command-line tool which will help us to generate XSLT reports for our selenium webdriver data driven software automation testing framework. In STEP 18, We have successfully Implemented Logging functionality In our data driven framework for software web application. Now let us configure our data driven framework project to generate XSLT Interactive reports.

STEP 19

Data driven framework for selenium webdriver software testing tool must have facility to Insert test execution log to track the execution process, debugging and failures after completion of software test. Test execution logs will helps you to track your software test execution steps. In STEP 17, We have successfully reported test cases results In excel file. Now let us Implement log generation function In our selenium webdriver software automation testing framework.

STEP 18