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
after medical test,when will be the police verification
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji
Difference between dim,public and private variables in vb script?
Which function is used to perform string comparison?
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
How can you fetch the value of a cookie?
What is the scope of a constant declared using public?
How strcomp function works?
i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me
How will you get the octal value of the given number in vbscript?
How will you get a random number between 0 and 1 in vbscript?
What is the use of the date function in the vbscript language?
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?