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

when we use filter funtiom invb script(QTP)

2508


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

739


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

2044


hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?

1783


Explain the asc function?

705


Mention how you can call vbscript functions?

827


How to create a function in vbscript?

861


Mention what is select case statement?

751


How to declare an array in vbscript?

913


Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..

2279


Mention what are the rules to name variable in vbscript?

783


Illustrate briefly about the different types of statement

2258


How are arrays declared in the vbscript language?

774


What is the difference between do until loop and do while loop?

819


Which object is used to work with the database in the vbscript language and what statement is used to create this object?

734