01-05-2009, 02:13 PM
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:
Thanks in advance for your help.
John
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