We convey successfully generated XSLT reports for our selenium webdriver software exam information driven framework In STEP 20. If you lot run across In STEP 20, We postulate to opened upwardly ascendance prompt, Then postulate to type many unlike commands to clean, compile, run too generate XSLT reports. So straight off allow us Implement all these things In batch file to perform all actions past times double clicking on batch file.
Prerequisite : Selenium webdriver software testing information driven framework creation steps from STEP 1 to STEP 20 should last Implemented. You volition abide by the links for all the previous steps on THIS PAGE.
Batch File To Run WebDriver Test
Batch File To Run WebDriver Test
Instead Of executing all commands 1 past times one, We tin practise batch file to execute all commands when nosotros run batch file. And too hence nosotros needs to seat that batch file nether "WDDF" projection where build.xml file Is stored to run selenium webdriver software exam too generate XSLT reports.
Download Batch File
It Is unproblematic batch (.bat) file. I convey created It to run whole selenium webdriver software exam information driven framework too generate XSLT reports. You tin download It from bellow given page.
- Go To This Page too download Batch.zip Folder.
Extract Batch.zip Folder. You volition become "Run Test.bat" file Inside It.
Copy-Paste "Run Test.bat" file on "WDDF" projection In eclipse. Now your projection directory construction should display equally bellow.
Running Selenium WebDriver Test From Batch File
For running selenium webdriver information driven framework software test,
- Go to your project's beginning folder -> E:\backup\Training\WDDF. File "Run Test.bat" volition last available there.
- Double click on "Run Test.bat" file to execute It.
It volition execute your "WDDF" project's exam too generate XSLT report.
Note : Create the shortcut of "Run Test.bat" file on desktop to access It easily. From straight off onward, We volition execute our information driven framework software exam from desktop shortcut of "Run Test.bat" file.
Note : Create the shortcut of "Run Test.bat" file on desktop to access It easily. From straight off onward, We volition execute our information driven framework software exam from desktop shortcut of "Run Test.bat" file.