Steps for sequential run using windows scheduler
Pre-Requisites:
- JDK
- Maven is present in the system.
- .m2 folder is placed under location C:\users\yourlanid\.m2
- Enterprise_Automation_Framework version
Steps for Sequential Run:
- Mark the Test Cases which needs to be executed in all the required Test Suite excels.
- Set Proper locations of the framework, JDK and Maven folder inside the "Selenium_Scripts.bat" present inside the Framework main folder. (Suggestion: Once this bat file is saved as per your system locations, keep its copy with you to reuse it whenever an updated framework is shared).
- Dependencies will store in .m2 folder
- Open the Launcher file Framework_Launcher.xlsm present inside the framework.
- Open TestSuite sheet inside Launcher and mark the TestSuite/s which needs to be executed as Yes under Execute column.
- From the Press the Windows + R Keys on your keyboard to open Run, and then types taskschd.msc in the Open field. Finally, click or tap on OK, or press Enter on your keyboard.
- In the Task Scheduler, Click on "Create Task" in Actions (Right-hand side).
- Give any Name to the Task in General. Then in "Triggers" tab, Click on "New" to fill the Timing for the Task.
- In the "Actions" tab, click on "New" and Browse to the Selenium_Scripts.bat file that have been updated in the previous steps.
- If you want to make any other specific settings then make those and then finally Click on "OK" in the Create Task window. The task will be executed as per the mentioned details.\
Note:
Once the execution is done. The Results can be found under the Test Results for all the executed Test Suites.
Once the execution is done. The Results can be found under the Test Results for all the executed Test Suites.
No comments:
Post a Comment