3

I have written some E2E testcases using protractor, selenium-server and angularjs, now I want to run the same testcases(with or without any change) again and again by setting some time interval for running, is there any way to do this,

I have seen jasmine and grunt, but I think they will work if found any change in file, but I have required to run all testcases after some interval(still if there is no change in file)

1
  • Not sure about this, but have you explored Jenkins? Commented Nov 29, 2015 at 8:10

1 Answer 1

1

If your Protractor scripts are set up to where they can be run VIA command line easily, you can set up a cron-like system to have them run in a predefined schedule.

For Windows based system this SO question should give the information needed.

For Linux based systems this guide has a good tutorial for it.

And for Mac systems, here is a guide.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.