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

how does vb script help in web page designing? explain with example.

0 Answers  


We have an application which is built using multiple technologies and are using QTP as the tool for Automating the same. While we spy over a combo box in this application, we get the object name as a "Combo Control" and we are not able to perform any action over this object in either selecting or checking any method for the same like "Exist" etc. Hence we thought of a solution and the same can be found below

0 Answers  


Is vbscript a case-sensitive or case-insensitive?

0 Answers  


Differentiate javascript and vbscript?

0 Answers  


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

0 Answers   Synechron,


how to store charecters of HARIBABU Using arrays

4 Answers   Cap Gemini,


Which in-built function related to an array joins substrings into one string in the vbscript language?

0 Answers  


What are the 2 ways in which a variable can be declared in the vbscript language?

0 Answers  


What is vbscript procedures?

0 Answers  


Write a Script for ATM in QTP

0 Answers  


Which object provide information about a single runtime error in a vbscript?

0 Answers  


What is parametrization ?

9 Answers  


Categories