Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Error
#11
Solved: 11 Years, 4 Months ago
Hi All

I did all the things what you suggest but the error still appear at the first time run.

I think i should ignore first time isn't it ?

Thanks
Reply
#12
Solved: 11 Years, 4 Months ago
No Buddy...That would be illogical. Format the machine and then install QTP again. There could be issues with the registry too.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#13
Solved: 11 Years, 4 Months ago
Hi all

Oh , i can't even think about format machine.

It can be my .vbs file issu can't it? because QTP runs 2nd time perfectly. because second time .vbs load QTP from RAM not hard disk. my .vbs file may work faster then QTP can. .vbs may request to run before it load correctly , can it happen ?

Thanks
Reply
#14
Solved: 11 Years, 4 Months ago
Hi,
I would suggest you to modify your code little bit like this, then try I am 99% sure it works.


Code:
Dim App
    Set App = CreateObject("QuickTest.Application")
    App.Launch
    App.Visible = True
    App.WindowState = "Maximized" ' Maximize the QuickTest window
    App.ActivateView "ExpertView" ' Display the Expert View
    App.open ""C:\abc\Data", True
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)