Micro Focus QTP (UFT) Forums
Does qtp support unattended launch of tests? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Does qtp support unattended launch of tests? (/Thread-Does-qtp-support-unattended-launch-of-tests)



Does qtp support unattended launch of tests? - ced - 02-01-2008

Hi
I have just had qtp dropped on my desk... and the box is quite dusty!

I am automating our depts install testing effort. In the past, we have manually installed our companies retail program (.net c#) on 55+ windows platform variations (includes diff languages).
I am using vmware server api to start virtual machines that are in a preconfigured state. Each vm has a small batch file that copies some vbscripts from a network share into the vm and starts the scripts which install our software. It then verifies file placement, versions etc.

Now they have asked that I use QTP to start the application and verify some items to insure the program is running properly.
They have a maintenece license so I can download the latest version.

My question is:
Does QPT have a feature similar to rational's remote agents?
I would rather not install the full qtp in all the vm's.
If there is no remote execution of scripts, is there a way to launch the qtp tests without having to be in front of each instance to click RUN from the qtp gui?

thanks for you great site and any help you can give
ced


RE: Does qtp support unattended launch of tests? - Ankur - 02-02-2008

Time to clear up the dust now

You can use Quality Center(QC) to do this for you just make sure that QTP is installed on the machine(s), from where you intend to run your test(s)

OR

if you you don't have access to QC, you can create a vbscript file to do this for you.
Using Automation Object Model(AOM) open QTP from .vbs file, give the full path of your test script and then with bit of scripting you can accomplish the task.


RE: Does qtp support unattended launch of tests? - Kacper - 02-07-2008

Is there possibility that u will write example in it.
I have the same problem in my company, we bought qtp.

And we like to make a test on 50 machines
Is there option to generate script code on one machine (vbs) like :
Code:
Window("Window").Click 445,79
wait(0),100
Window("Window").Type "admi"
wait(0),100
(we use this way cuz our java add-in dont work with our java technology, send double action)

and we woudl like to dont waste time on installing qtp on each machine. Just to write selfworking script that will 'click' on our application.

best regards


RE: Does qtp support unattended launch of tests? - FredMan - 02-29-2008

You need QTP to be installed on each machine.