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
What is the use of option explicit in vbscript?
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?
Explain the constants in vbscript?
How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz
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...
i need to sort the data using qtp script for this how i need to write a qtp script
What if you do not specify anything when you call a procedure?
How can constants be declared in the vbscript language?
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?
What is loose binding? Why is it not a good practice to use it?
How to write VB script for login module?
What are the special sub-types in vbscript?
What are the uses of vb script?
What is the output of a + b in vbscript if a = 5 and b = 10?
How will you check that a variable is an array in vbscript?