May not be a best solution, but just my thought -
how about writing a java program which doesn't complete and then calling all selenium tests in that? something like this -
While (1=1) {
aPro=new Thread(this);
aPro.start();
InvoteSeleniumtests (); //call tests here
aPro.sleep(1000*120); //2 hours
}
Once you run this program, it never ends and would continue to run your tests for every 2 hours. Not sure if this makes sense, but just thought - this could be one of the solution.
thanks.
sudhi123 wrote:
Hello,
I have written test automation using webdriver/selenium. Now my automation is fine and it up and working from my eclipse.
The problem is we have live systems where my automated tests has to run for every hour and see the live application critical functionality is working and log them to the data base.
I have done everything except putting my tests run against the live systems. I really don't know how to run my tests against the live system. Windows task creation is not the best option that i have.
Can somebody suggest something ? or is anybody has done any similar to this ?
Thanks for your help in advance.