Test Plan export from QC to Excel? (11354 Views)
Reply
Advisor
emmad
Posts: 36
Registered: ‎07-06-2009
Message 1 of 12 (11,354 Views)

Test Plan export from QC to Excel?

I've been asked to export the test's (including steps) from a set of manual test's from QC into Excel.  Now I believe this cannot be done? Or is there a way to do it.

Any help would be appreciated.

Please use plain text.
Honored Contributor
Sud_3
Posts: 353
Registered: ‎02-19-2009
Message 2 of 12 (11,348 Views)

Re: Test Plan export from QC to Excel?

Hi Emmad, 

 

This can be done by using OTA API.  

Save the attached Txt file as .vbs file.Double click to run and follow the instructions. 

Let me know if there any issues.

 

Thanks,

Sudhakar

Please use plain text.
Frequent Advisor
KyleTF
Posts: 34
Registered: ‎08-23-2010
Message 3 of 12 (11,347 Views)

Re: Test Plan export from QC to Excel?

I would suggest using the Dashboard in Quality Center. Create a new excel report and write a query using the TEST and DESSTEP tables. Try using this query to get you started, you may want to add or take out some info and format the output.

 

SELECT T.TS_NAME, T.TS_TEST_ID, T.TS_DESCRIPTION, T.TS_STEPS, S.DS_STEP_NAME, S.DS_DESCRIPTION, S.DS_EXPECTED
FROM TEST T, DESSTEPS S
WHERE T.TS_TEST_ID = S.DS_TEST_ID

 

you could also you the Document Generator under tools menu in Quality Center, but that will give you an word document.

 

let me know if you need more info.

 

Please use plain text.
Occasional Contributor
b-thier
Posts: 3
Registered: ‎06-30-2011
Message 4 of 12 (11,313 Views)

Re: Test Plan export from QC to Excel?

I agree with Kyle TF, i've been asked to do this many times and hthis sollution seems to be the best.
Please use plain text.
Frequent Advisor
sindu
Posts: 54
Registered: ‎10-13-2011
Message 5 of 12 (10,603 Views)

Re: Test Plan export from QC to Excel?

Hey Sudhakar ,

   I found your vbs script that you attached very interesting. How do i connect to TDApiOle80.TDConnection ?

Please use plain text.
Occasional Visitor
mufaddal_1985
Posts: 1
Registered: ‎05-17-2012
Message 6 of 12 (10,021 Views)

Re: Test Plan export from QC to Excel?

I ran the file u attached. It ran successfully and got completed message. But dont know where and by what name excel is generated?

Please use plain text.
Frequent Advisor
ShrikantK
Posts: 62
Registered: ‎02-10-2012
Message 7 of 12 (9,973 Views)

Re: Test Plan export from QC to Excel?

Hi,

 

I tried to use your logic in my tool but It is giving me an error that Node not Found,

 

Can you please suggest me?

Please use plain text.
Occasional Visitor
GoodTester
Posts: 1
Registered: ‎07-13-2012
Message 8 of 12 (8,889 Views)

Re: Test Plan export from QC to Excel?

The attached vbs file works great.. Thank you developer!

 

Few things that we can tweak are:

a) Login, password, domain, project can be directly fed in this .vbs file, so that you do not need to go through these all the time.

b) to avoid the node issue, enter the path this way..

Subject\.....\....\

remember to end with a '\'

c) File gets saved at c:\

search for the latest file in the root [C: drive].

This file gets overridden, everytime you try to extract [do not work out of this file directly, take a copy and work as required].

 

Hope your replies will reach my mailbox [trying to be anonymous though]

 

God bless!

 

Please use plain text.
Occasional Visitor
Rajesh_Nv
Posts: 1
Registered: ‎07-17-2012
Message 9 of 12 (8,759 Views)

Re: Test Plan export from QC to Excel?

Hi, Is there a way to export the execution status corresponding to each 'Test Step', I understand we can do it for each Test script, but my requirement is for each 'Test Step'

 

Thanks.

Please use plain text.
Honored Contributor
Trudy Claspill
Posts: 2,233
Registered: ‎09-09-2010
Message 10 of 12 (8,743 Views)

Re: Test Plan export from QC to Excel?

Rajesh_Nv,

Your question is about exporting data from the Test Lab (execution results) rather than the Test Plan, which is the original topic of this thread. Please start a new thread for your new question.
[If this post solves or helps solve your issue, mark the thread as solved and give KUDOS to the author for their assistance.]

(Opinions expressed in my postings are mine alone, and do not reflect the opinions of my employer.No warranties express or implied for any solution/suggestion posted.)
Please use plain text.
Occasional Contributor
AMahmood
Posts: 6
Registered: ‎06-27-2012
Message 11 of 12 (7,259 Views)

Re: Test Plan export from QC to Excel?

[ Edited ]

Hi Sudhakar,

 

I run the script you provided but experienced errors.

 

After giving all required information, I set following path:

 

QC Test plan Folder Path: EBPP TCs\

 

Note: The first error is attached with this message for your reference.

 

What I am doing wrong?

 

Aki

Please use plain text.
Occasional Visitor
satmaurya
Posts: 2
Registered: ‎07-20-2012
Message 12 of 12 (6,964 Views)

Re: Test Plan export from QC to Excel?

I tried the Script and it worked for one QC url but for another one it was giving error 'Failed to Get Tree Node Value' Code 800403EA...
Please use plain text.