How to make all my test cases schedules run (automatic)

774 views
Skip to first unread message

Abu Hamzah

unread,
Jan 22, 2013, 11:31:13 AM1/22/13
to seleniu...@googlegroups.com
I have created dozens of my test cases using Selenium WebDriver using .Net (c#) and my question is:

Is there a way to run all my test cases run on schedule? 

Currently I'm running my test cases manually in Visual Studio!

Any help?

Nitin Malik

unread,
Jan 22, 2013, 11:36:30 AM1/22/13
to seleniu...@googlegroups.com


Use hudson, jenkins and even windows task scheduler can accomplish this for you.

On Jan 22, 2013 10:10 PM, "Nitin Malik" <nitin....@gmail.com> wrote:

Use

> --
> You received this message because you are subscribed to the Google Groups "Selenium Users" group.
> To post to this group, send email to seleniu...@googlegroups.com.
> To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/mxpp_VNC-_QJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

Nitin Malik

unread,
Jan 22, 2013, 11:36:30 AM1/22/13
to seleniu...@googlegroups.com

Use
On Jan 22, 2013 10:01 PM, "Abu Hamzah" <abuha...@gmail.com> wrote:
>

Abu Hamzah

unread,
Jan 22, 2013, 11:52:03 AM1/22/13
to seleniu...@googlegroups.com
So, windows task scheduler will run the dll ? I have test cases in a class library project 

or can you redirect me to any site that talks about? - thanks.

robbiewinston

unread,
Jan 22, 2013, 4:22:47 PM1/22/13
to seleniu...@googlegroups.com
What test framework are your tests using? E.g NUnit, MbUnit, MSTest

Abu Hamzah

unread,
Jan 22, 2013, 5:24:30 PM1/22/13
to seleniu...@googlegroups.com
MSTest

robbiewinston

unread,
Jan 22, 2013, 5:52:50 PM1/22/13
to seleniu...@googlegroups.com
I've never used MSTest but having quick google, it seems like a dog so I would recommend using NUnit or MbUnit ( the latter supports parallel testing) then using either a bat file to run via command line on a scheduled task, or even better, create a CI server like Team City or Jenkins to run and schedule the tests for you with MsBuild. Installing team city to host a local server is really easy.

If you decide to stick with MsTest, apparently Gallio supports it as long as Visual Studio is installed. So if you get that working, you can use Echo command line tool to run the tests via a bat file. Gallio alo has a GUI called Icarus which would also provide a nicer way to run manually run tests instead of VS

robbiewinston

unread,
Jan 22, 2013, 5:53:42 PM1/22/13
to seleniu...@googlegroups.com

Abu Hamzah

unread,
Jan 22, 2013, 8:24:52 PM1/22/13
to seleniu...@googlegroups.com
thanks appreciate your reply, unfortunately have to stick with MSTest due to the company policy. I will look into it and  - thanks again.

Mike Riley

unread,
Jan 27, 2013, 8:02:22 PM1/27/13
to seleniu...@googlegroups.com
You have to make it an executable, not a DLL, or an executable that uses the DLL.  Then you can have it run by Task Manager.

Mike
Reply all
Reply to author
Forward
0 new messages