Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error while launching QTP through VB script... Please help...
#3
Solved: 10 Years, 10 Months, 1 Week ago
well, I could launch the qtp from D drive as well.
Try this

1. Click Start, All Programs, Accessories then right click on Command Prompt and select "Run as Administrator"
cd to your windows\system32 directory
enter the following command:
regsvr32 vbscript.dll
This is to register vbscript.

2.create a scripting file system object like
Code:
set x = CreateObject("Scripting.FileSystemObject")

and then try. It should work
Reply


Messages In This Thread
RE: Error while launching QTP through VB script... Please help... - by Tarik Sheth - 04-08-2009, 05:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 368 11-05-2023, 03:55 PM
Last Post: lravi4u
  error when executing an UFT automation script alexalloza 0 1,420 10-30-2018, 06:17 PM
Last Post: alexalloza
  UFT 12.02 Launching default home page sureshbl 0 3,178 06-01-2015, 02:15 AM
Last Post: sureshbl
  Launching .exe file with parameters magnifyingone 1 2,957 08-28-2014, 06:39 PM
Last Post: dplank
Exclamation Getting run time error while executing the QTP script in command prompt. vishruth143 1 5,487 07-15-2013, 05:41 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)