Which Automation Framework provides an option to schedule runs? - testing

i want to use an automation framework/tool which can help me in scheduling my runs so that my test scripts can run automatically as per my desired time.
Thanks in advance.

You should integrate with any CI tool like Hudson, jenkins, Teamcity etc

You don't need to be dependent on any tool for scheduling your test runs. First you need to understand which file you need to execute your test, for example in selenium, test can be executed by running testng.xml on command line, you can simply create a vb script or batch file containing all the commands and use that batch file in Windows Scheduler.
You can find windows scheduler in Windows 7 at Control Panel - Administrative Tool - Windows Scheduler - Create Basic Schedule -- Here you can browse the your trigger file and run your test weekly, daily, monthly etcc... Hope this helps !
Thanks,
Pankaj.

Related

Unified Functional Testing: How to schedule a .tsp file to run?

I have a .tsp file that uses GUI to test out applications and I need it to run everyday.
The thing is, only UFT is able to recognize the file type. Outside of UFT, the file is just a folder with many files inside it so I can't use Windows Task Scheduler to run it.
Would there be a way to schedule it by either using a built-in UFT tool or using some sort of outside script to open UFT and run it?
UFT supports scheduling tests with Jenkins.

schedule execution by testNG in Eclipse

I want my selenium(java) test scripts to be scheduled for execution every night 11.00PM.
How can I do this in Eclipse .I am using TestNG to run my scripts.
I suggest you use a simple tool called jenkins to achieve what you are trying to do. It is an excellent solution to running scheduled tasks such as running selenium test scripts.

how to use Selenium to create an automatic tool to check mail status?

how to use Selenium to create an automatic tool to check mail status? I mean this toolkit could period duly open browser and check in my online mailbox to check if there are unread mails, if there has then change the status as "read" would be okay.
I currently was searching the selenium framework and could use it achieve some basic function, but have no idea of how to make it auto run and by fixed time interval. Can someone please guide me? any suggestion would be appreciated!
thanks!
The selenium standalone jar is executable so you could write a script to run selenium tests that you've created inside the Selenium IDE. It'd be something like this:
java -jar selenium-server-standalone-2.8.0.jar -htmlSuite "<path to your .html test suite>"
Then, you could schedule this as a cron job to run periodically.
Here are two related questions that might help:
Run Selenium Test Automatically Every 5 minutes
How can I run a selenium test every 5 minutes?

Run Selenium Test Automatically Every 5 minutes

Is there a way to automate a selenium test to run every five minutes?
If you've got your tests packed as an executable the easiest way may be to run a CRON job or a Windows scheduled task.
That said, Hudson (or another continuous integration system) are almost certainly better long term strategies.
+1 to Hudson, but you might also want to check out my startup, BrowserMob. We provided free and commercial services that let you run Selenium scripts from multiple locations around the world and be alerted if there are problems.
You could do that with Hudson CI (see this article), or do the same manually (in a cron or Windows scheduler), by using the Selenium RC from command-line:
java -jar /usr/local/bin/selenium-server.jar -htmlSuite "*firefox" http://example.com/ my_test_suite.html build/logs/seleniumhq.html
+1 Hudson, it has a very good support for Selenium Tests, there are some commercial tools as well like Cruise Control, Anthill Pro.
Otherwise you can use the Cron jobs or windows schedular.
If you are using RC, write an Ant script and then schedule it as mentioned in the other posts.

Automatic run of VSTS web tests daily

Please I want a way to make daily schedule to run a set of VSTS 2008 web tests automatically over night.
If you are doing automated daily builds with some type of continual integration setup, you would add the tests as part of your build.
If you need to simply run the tests outside of any other environment, there is a great, open-source job scheduling API called Quartz. It can be found at http://www.quartz-scheduler.org/.