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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

how to operate webobjects in a webpage using getobject function and then using generic methods?

2542


What are class events?

583


what types of bugs will we find out in banking projects for automation testing?

1766


I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?

862


how to increase the values in text box in a given text box increament by two values by clicking on button

1645






Can anyone send me a vb script function for verifying the functionality of active links on a web page

1600


What are the advantages of vbscript?

646


Mention how to create a cookie using vbscript?

532


What are the disadvantages of vbscript?

655


Mention characteristics of sub procedures?

580


how to increasing the numbers in a given text box please write a vb script

1705


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

2063


Which event is triggered when mouse focus comes out of an element in the vbscript language?

512


What are the different types of loops available in the vbscript language?

532


What are the naming conventions while declaring a variable in the vbscript language?

619