I need to leverage Quicktest Pro from our Maven/Jenkins builds. I know, I know QTP is not the best tool out there (I'm amused by the "bag of flaming dog poo" reference), but our QE team is using it and I want to run some of their tests in Jenkins.
1A. Has anyone used this specific combination? An example/maven plugin would be great.
Since I doubt that is likely, lets break it up into pieces.
2A. How do you simply launch a QTP test from the command line? I think I can figure the rest of the launching part of things out using antrun or something like that.
2B. The results format from QTP doesn't appear to be a standard like surefire reports (I don't know either well, so I might be wrong). Can you give me some guidance on getting report results back into maven/Jenkins? I'm thinking that may involve parsing the QTP results file.
An AOM ( Automation Object Model ) vbscript could be written to invoke QTP and run a specific test. Such a vbscript could be run from command line in Windows.
If you can run/invoke vbscript files from Maven/Jenkins , it is definitely possible to run QTP scripts through command line.
A sample AOM vbscript function to trigger QTP run is below