How can I generate customized logs in QTP ?

Answer Posted / vince.shu

may you can try
ReportEvent Method

Description
Reports an event to the test results.

Syntax
Reporter.ReportEvent EventStatus, ReportStepName, Details
[, in]

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

1435


Does QTP record on Objects created on XWindows Environment?

1662


How to capture all the data of a webtable, weblist and combolist using QTP?

2854


Which environments are supported by hp qtp?

598


What is qtpro? What is quick test pro? What is a quick test professional?

595






Difference between test object and run time object?

592


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3279


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

1839


How many types of Automation frameworks are there in UFT? Describe them.

559


How to handle Java tree in QTP?

747


What are the methods of the TextStream object that are used for reading from a text file?

1689


What phases are involved in testing an application in qtp?

560


Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay

2665


Can you brief the hurdles you faced during Automation testing?

577


what is meant by Implicit and explicit requirements?

3621