Script 1:
Set qtApp=CreateObject("QuickTest.Application")
Set qtResultOpt=CreateObject("QuickTest.RunResultsOptions")
qtResult.ResultsLocation="Path"
qtApp.Launch
qtApp.Visible=True
qtApp.Open "driver script file path", True
Set objTest=qtApp.Test
qtApp.quit
qtApp=Nothing

objTest.Run qtResultOpt
objTest=Nothing


Script 2:
Dim Test_path
Dim qtApp
Dim qtTest
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch
qtApp.Visible = True
qtApp.Options.Run.RunMode = "Fast"
qtApp.Options.Run.ViewResults = False
qtApp.Open "path to execute my functional script"
Set qtTest = qtApp.Test
qtTest.Run
qtTest.Close
qtApp.quit
Set qtTest = Nothing
Set qtApp = Nothing


in both the ways, im getting error as can not run the test. (attacheD)

Can some one please help me to fix this issue.

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to