I want to automate Selenium Webdriver Tests I have moved from Visual Studio to a VM with only Nunit on it. I would like to Run these tests daily preferably before i come into work using Task Scheduler. I can not use any third party tools. Is this possible if so how do i set this up? I have checked Nunit Documentation and Google there is on information on this.
Asked
Active
Viewed 1,035 times
-1
-
This is very unclear. What exactly do your tests look like? Show us. – Arran Dec 09 '14 at 22:26
1 Answers
1
Yes you can run selenium test with NUnit console and just calling the respective dll
. See this for command line options
**EDIT: ** Download NUnit Runner here. Set the path of the executable to the system path. This will get you started with installation and, then create a basic batch file with following command
:: Nunit can be set to system path or simply calling the executable and call the dll with /run switch
NUnit/run "C:\selenium\bin\selenium.Tests.dll"
Then, schedule a basic windows task with scheduler. See here you also have to make sure the assembly was build properly

Saifur
- 16,081
- 6
- 49
- 73
-
Saifur how do you setup the command line options do you add an assembly and place the code into the assembly? – user1622681 Dec 09 '14 at 21:01
-
See edit and let me know if something unclear and if that's what you wanted – Saifur Dec 10 '14 at 20:01
-
If this answer you question fully please upvote me as well. That will encourage me to be on top of these :) – Saifur Dec 11 '14 at 00:04