Importing test scripts used in QTP into QC (1359 Views)
Reply
Occasional Advisor
Tina Shortridge
Posts: 12
Registered: ‎06-02-2008
Message 1 of 5 (1,359 Views)

Importing test scripts used in QTP into QC

Hopefully someone can help with my questions:
1). If I already have existing test scripts and want to pull them into Quality Center, how do I do that within the test module in QC? I know if you choose QuickTest from the list it will bring up QTP and wait for you to create new test scripts but what if I already have some. (we are currently using Quality Center 8.2)

Also ....

2). If I have a different application that I want to conduct a manual test on, how do I get the URL to automatically open when I run it?

Thanks for your help!
Occasional Visitor
Nanda.D Reddy
Posts: 4
Registered: ‎08-13-2008
Message 2 of 5 (1,359 Views)

Re: Importing test scripts used in QTP into QC

HI tina,
can u let me know which version of QTP u r using?


here are the steps to save existing scripts in QC.

1 . Open the existing script from QTP.
2. Click on File --> Connect to Quality Center
3. it will open Quality Center connection dialog.
4. Give the QC URL in server field and click on Connect.
5. give user name and password and click on authenticate button.
6. select a Project and module and click on "Connect" button.
7. Click on Close button.

now click on File --> Save as
it will open save as dialog box. The u will see Quality Center button. click on it. it will open Quality Center dialog.and all folder structure will display at left side. select a project folder where u want to save the script and click on Save. now it will save ur script in QC.
before this u must install Quality Center Add in for QTP.( If u didnt get this please send a mail i can attach the screen shot)

for ur second question use User Defined Environment Variable which is stored in a XML file.

If any queries please mail me at:
nanda.dreddy@gmail.com


Occasional Advisor
Tina Shortridge
Posts: 12
Registered: ‎06-02-2008
Message 3 of 5 (1,359 Views)

Re: Importing test scripts used in QTP into QC

Thanks Nanda - you were a big help.

My QTP version is 9.2
Occasional Visitor
EricaK
Posts: 1
Registered: ‎02-27-2009
Message 4 of 5 (1,359 Views)

Re: Importing test scripts used in QTP into QC

Can you import multiple tests all at once that were created in QTP to QC? Is there someway to take the zip file created in QTP of the tests and import it to QC?

My main problem is that I have 100s of automated test written with QTP on a special server. I really dont' want to have to import them one at a time into QC. Any suggestions?

Thanks,
Erica
Honored Contributor
Henry Floyd
Posts: 1,033
Registered: ‎06-11-2008
Message 5 of 5 (1,359 Views)

Re: Importing test scripts used in QTP into QC

You could use a vbs script to open QTP and then save each one in QC.

Look into using

CreateObject("QuickTest.Application")
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.