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
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
Mention what is the main difference between function and sub-procedure?
How will you convert a string to lower case string using vbscript?
What are the 2 ways in which a variable can be declared in the vbscript language?
What are the different types of loops available in the vbscript language?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
How to assign a date value to a variable?
Out of the different type of operators, which are evaluated first and last in the vbscript language?
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?
Can automation testing find ssame no. of bugs what we can find by manual testing?
Explain sga memory structures?
what do you mean .ota mobile format
Why is error handling required?
Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...