Whenever I use Wscript.Echo Qtp raising Run time error
as 'Object required for Wscript' How I can create object
for Wscript



Whenever I use Wscript.Echo Qtp raising Run time error as 'Object required for Wscript' ..

Answer / utpal

Wscript.Echo is a pure vb script which runs on vb Script
engine where as QTP has wrapper class around the vbscript
engine so it does not support these methods in the script.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More VB Script Interview Questions

Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar

0 Answers  


how to find number of characters(letter a) in the sentence Rain Rain Go away

4 Answers  


write a vb script to add two 2*2 matrix

2 Answers  


How to Pass Multiple values in functions by using vb script? Function value(arg1,arg2) N1=arg1+arg2 N2=arg1-agr2 N3=arg1*agr2 N4=arg1/arg2 Value= How to pass ? End Function

3 Answers   iGate,


What is the use of option explicit statement?

0 Answers  






What is event handling in vbscript?

0 Answers  


write a vb-script code to delete all the mails in my gmail in the year 2011

1 Answers  


Give examples where vb script can directly run on users system with windows as os?

1 Answers  


What is the event handling in vbscript?

0 Answers  


hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?

0 Answers  


How do you create a recordset object in VBScript?

3 Answers  


How to Convert Hex color code to color name in VB Script?

0 Answers  


Categories