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



Hi, can any one tell this Actually I AM NEW TO QTP I have one qtp script in which it calls the vb..

Answer / 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

More VB Script Interview Questions

write a vb script to rename a folder from tree4 to tree7

3 Answers  


Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards

0 Answers  


i have developed the below QTP script to count the no of items available in the web list "Select a product" in www.bankrate.com and also want to print what are the items??? can any one help me to rectify the below script??? SystemUtil.Run "iexplore.exe","www.bankrate.com" a=Browser("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").page("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").Weblist("name:=select").GetTOProperty("items count") msgbox a Dim List() ReDim List(a-1) For i = 1 To a List(i-1)=Browser("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").page ("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").Weblist("name:=select").GetItem(i) Print List(i-1) Next

1 Answers  


Explain some uses of vb script?

0 Answers  


What are the differences between sub procedures and function procedures?

0 Answers  






how to operate webobjects in a webpage using getobject function and then using generic methods?

0 Answers  


I want to import the sheet from the Excel to the Datatable using VB Script. I used the Syntax as 'Datatable.ImportSheet "Filename","SourceSheet","Destinat ionSheet" Ex: Datatable.ImportSheet "D:\Data1.xls","Sheet1","Global" Qtp producing run time error,How I can solve the problem

1 Answers  


write a vb script to open a text file and write into it

2 Answers  


Input = 124 output should be 124421 Please do not use any string functions/variables

8 Answers   Cap Gemini,


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)

0 Answers   TCS, Wipro,


What is the purpose of drive object of scripting.filesystemobject class in vbscript?

0 Answers  


Difference between dim,public and private variables in vb script?

0 Answers  


Categories