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
#2
Not Solved
I'm having the same issue/question.

Did you ever figure this out?

I'm trying to rewrite my winrunner framework in QTP and I'm having to relearn how to do all my "was simple to do in winrunner" type of tasks in QTP! So far, it's been a little painful being forced to work with QTP "rules"....
Reply
#3
Not Solved
Hi Dbonin.

Not yet.

I'm trying a different angle to the problem.

Will let you know over the weekend.

Sometimes you have to take a step back & approach the problem from a different view.

Cheers.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pass reference to datatable into function smallsteve 2 1,888 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,772 09-26-2012, 07:00 PM
Last Post: krr
  Not Invoked particular Test Case kotaramamohana 6 3,975 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,010 05-26-2011, 02:26 PM
Last Post: souvikghosh_diatm
Exclamation Getting object reference error if i run QTP script nistalaramesh 4 6,289 02-05-2010, 04:18 PM
Last Post: nistalaramesh

Forum Jump:


Users browsing this thread: 1 Guest(s)