Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to reference a Quality Center test case in QTP
#1
Not Solved Question 
Hi all.

I have a bit of a problem.

I'm attempting to do the following:

1) From a new QTP script to open an existing vbscript (TEST CASE) that I saved in Quality Center.

I get an error code 1012 stating "You cannot run the test because the test is currently active"

I'm using Qucik Test Professional ver 9.1.0.0 build 2565.
My test case is stored in Quality Center vr 9.1.0

I'm not sure if my reference to the test case in Quality Center is correct.

I reference it as follows:

qtApp.Open
"[QualityCenter] Subject\Automated_Testing\test_case_PTC_0001", false

This is after my initial connect to Quality Center, which I did as:

Code:
Dim    qtApp

On Error resume next
set qtApp = CreateObject("QuickTest.Application")

IF Err.Number <> 0 then
  Reporter.ReportEvent micInfo , "Error#"  & CStr(Err.Number) ,
                                                              Err.Description
  Err.Clear
End if

Thanks in advance for your help.




John
Reply


Messages In This Thread
how to reference a Quality Center test case in QTP - by johno - 01-05-2009, 02:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pass reference to datatable into function smallsteve 2 1,904 09-28-2017, 09:18 PM
Last Post: smallsteve
  How to identify the object reference to the existing(already opened) Excel sheet yogeesh 1 9,785 09-26-2012, 07:00 PM
Last Post: krr
  Not Invoked particular Test Case kotaramamohana 6 3,982 12-30-2011, 05:39 PM
Last Post: ravi.gajul
Sad How to set focus or click on the center of webpage? brar.arsh 5 11,051 05-26-2011, 02:26 PM
Last Post: souvikghosh_diatm
Exclamation Getting object reference error if i run QTP script nistalaramesh 4 6,310 02-05-2010, 04:18 PM
Last Post: nistalaramesh

Forum Jump:


Users browsing this thread: 1 Guest(s)