09-16-2009, 06:31 PM
Hi all
I used this .vbs file to start my QTP test
when i run it sometimes at the first time it generates a error.
(I attached error in snapshot) then i rerun the .vbs and it works well
What can be the reason ?
thanks
I used this .vbs file to start my QTP test
Code:
Dim qtpApp
Dim qtpTest
Set qtpApp = CreateObject("QuickTest.Application")
qtpApp.Visible = true
qtpApp.Open "C:\abc\Data", True
Set qtpTest = qtpApp.Test
qtpTest.Run
qtpTest.Close
qtpApp.quit
Set qtTest = Nothing
Set qtApp = Nothing
when i run it sometimes at the first time it generates a error.
(I attached error in snapshot) then i rerun the .vbs and it works well
What can be the reason ?
thanks