How to schedule test sets to run periodically for QC/ALM?
There is no built-in method to accomplish this, so users can create their own logic using ALM Open Test Architecture (OTA) API to implement their own personalized functionality.
Below users can find a sample/demo implementation using the mentioned suggestion
Note: The RunTestScheduler offered in KM191021 is intended for older versions of Quality Center (9.x and previous)
This revised version of the RunTestSet is written using Visual Basic .Net 2010 and addresses an issue in the previous version where QTP or BPT test types pinned to a Baseline cause an error.
The same switches which applied in the previous version are identical in this version.
IMPORTANT: The RunTestSet utility is provided for example purposes only. It is not supported by Hewlett Packard.
If there are problems with mentioned unsupported-provided-AS-IS tool, ensure that problem is not occuring without it, before involving HP Support Personnel.
The example software is experimental and is provided as a courtesy, free of charge, âAS-ISâ by Hewlett-Packard Development Company, L.P. (âHPâ). HP shall have no obligation to maintain or support this software. HP MAKES NO EXPRESS OR IMPLIED WARRANTY OF ANY KIND REGARDING THIS SOFTWARE. HP SHALL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, WHETHER BASED ON CONTRACT, TORT OR ANY OTHER LEGAL THEORY, IN CONNECTION WITH OR ARISING OUT OF THE FURNISHING, PERFORMANCE OR USE OF THIS SOFTWARE
Documentation: RunTestSet Scheduler Documentation.pdf
/s: ALM server name
/n: ALM Domain
/d: ALM Project
/u: User name
/p: User password
/f: Test set Folder Path
/t: [optional] Test set name
/h: [optional] Host name
/g: [optional] HostGroup name
/m: [optional] User Name who will receive a notification mail if the Test set Failed
/l: [optional] Run TestSet locally (True = Local, False = Remote)