Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WScript object in QTP...
#4
Solved: 11 Years, 4 Months, 3 Weeks ago
Here is the answer why u r getting the error:
It represents the state of a WSH process(When you click on your vbs file the WSH process starts).The whole point of the WScript object is that it represents everything about the presently running Windows Script Host

The WScript object exposes various properties about the running script and the WSH environment. Now If we run a QTP test, its run in some QTP host but not WSH.

So how can we expect the Wscript Object to be used without a WSH process Actually running.
Reply


Messages In This Thread
WScript object in QTP... - by Maverick - 02-03-2009, 03:45 PM
RE: WScript object in QTP... - by manojith1984 - 02-03-2009, 03:56 PM
RE: WScript object in QTP... - by Maverick - 02-03-2009, 04:10 PM
RE: WScript object in QTP... - by Prafulla - 02-03-2009, 07:05 PM
RE: WScript object in QTP... - by tarunlalwani - 02-04-2009, 04:49 PM
RE: WScript object in QTP... - by Maverick - 02-06-2009, 12:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  variable is undefined: wscript shipu 1 4,533 01-09-2014, 07:23 AM
Last Post: basanth27
Exclamation Problems with "WScript.Shell" [QTP 10.0] Mukesh.Laxmidhar 0 4,002 01-17-2011, 02:11 PM
Last Post: Mukesh.Laxmidhar

Forum Jump:


Users browsing this thread: 2 Guest(s)