execute multiple test scripts in qtp

511 views
Skip to first unread message

shilpa gupta

unread,
Jun 18, 2014, 12:57:52 AM6/18/14
to mercu...@googlegroups.com
Hi,
we need to execute multiple test scripts (50 around) in a batch (sequence). we don't use qc. also want to see results of each test scripts. Please suggest how this can be done. In the Batch Runner of QTP, there is a limitation that the results of all scripts can be viewed only manually. so don't want to use Batch Runner of QTP. it is good for us if we can show the results of each step of each test script in an excel file. pls reply urgently any method
Regards

Sanketh Shanbhag

unread,
Jun 18, 2014, 1:32:59 AM6/18/14
to mercu...@googlegroups.com

You could use QTP COM api in combination with Excel COM api to run & update test results.

Regards,
Sanketh ( From my phone )

--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to Mercu...@googlegroups.com
To unsubscribe from this group, send email to
MercuryQTP+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

---
You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

RAJ SEKHAR

unread,
Jun 18, 2014, 10:27:14 AM6/18/14
to mercu...@googlegroups.com

use MultiTestManager which helps to run all the QTP test scripts as a batch. It is free to download.


--

shilpa gupta

unread,
Jun 20, 2014, 1:14:27 AM6/20/14
to mercu...@googlegroups.com
Hi,
i use the AOM code and qtp save the result of each script separately. but i have to open each file for seeing the result
is there any way by which i can read the result from QTP Run Result Viewer and store Pass/Fail for each step in an excel file

udayanem

unread,
Jun 20, 2014, 11:57:01 AM6/20/14
to mercu...@googlegroups.com
Hi Shilpa,

Please with below video for Batch execution.
https://www.youtube.com/watch?v=HVf5s3Cs4IA

In AOM you have a method called  QTPObj.Test.LastRunResults.Status which will tell whether the test execution is passed or failed, which you can write in a Excel file.

Thanks,
Uday
QTP / UFT Videos

vijay ks

unread,
Mar 17, 2017, 10:49:02 AM3/17/17
to QTP - HP Quick Test Professional - Automated Software Testing
Hi,
 Here I wan to know about how to use the different scripts global datatable sheet in the particular scripts in QTP while running time.
For Eg: I have created 5 scripts with the values in the datatable. I want to combine all the five scripts by using the 'Call to copy Action' options. So here i want to know how to use the % datatbales in one particular datatable sheet?

knndly guide me throught this???


Regards,
Vijay K S
8760263400
Reply all
Reply to author
Forward
0 new messages