Hi,
can any one tell this
Actually I AM NEW TO QTP
I have one qtp script in which it calls the vbs file during
it's run TIME by using the ExecuteFile "absolute path"
If the vbs file is executed seperately it will give the
output in a msgbox
In the same way if qtp script is executed the result will be
displayed in w result window right?
Now the question is how to get that vbs file output in the
qtp result window when I run the qtp script which calls the
vbsfile during it's run TIME

Answer Posted / reddy siva saran.k

Yes,
we can do that by using the Reprter.ReportEvent statement
Reporter.ReportEvent Eventstatus,ReportStepName,Details

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What if you do not specify anything when you call a procedure?

663


What is the purpose of the err object in the vbscript language?

725


How do you declare a variable in vbscript?

718


Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.

2648


what is the difference between modular and data and keyword driven framework

1828






What is the difference between vb debugger and the script debugger?

684


Which operator can be used to do an xor operation in vbscript?

796


Explain about .wsf files?

711


What is byref and byval parameters in vbscript?

691


How are values assigned to string type and numeric type variables?

633


Explain the scope of the variables using dim, public, and private keywords respectively.

805


How will you get the last occurrence of one string within another string using vbscript?

805


What is sql loader? Explain the files used by sql loader to load file?

724


What are the environments supported by vbscript language?

587


What is event handling in vbscript?

686