How can I generate customized logs in QTP ?

Answers were Sorted based on User's Feedback



How can I generate customized logs in QTP ?..

Answer / sri

Not Sure what kind of logs exactly you are looking for...It
would be nice if you could elaborate more. But You can have
a look at the following post:

http://everythingaboutqa.blogspot.com/2011/07/qtp-generating-customized-logs-during.html

Is This Answer Correct ?    2 Yes 0 No

How can I generate customized logs in QTP ?..

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

More QTP Interview Questions

How do you know the location Id of an object if you know its index id?

0 Answers  


Do you know how to connect database? Can you tell me the procedures?

0 Answers  


How do you open adobe acrobat file in QTP and do some testing on that file ?

0 Answers  


Hello everybody, can we maintain the state of page in QTP? 1. suppose i opened a notepad text file i entered some text and changed the font type and font size and saved that file. 2. Now next time when i will open a new notepad file it is showing me that font type and size which i changed in my previous step. 3. Here i want that QTP should capture the default setting i.e. it should maintain the state of the page. Thanks in advance, Gaytri

0 Answers  


After Creation of your QTp frame work, The folders are saved in VSS or Other. plz explain brifly?

3 Answers   Infosys,






Hi I am new to QTP. we are planning to implement automation for the application. I am trying to execute the following script: Set ExcelObj=CreateObject ("Excel.Application") ExcelObj.WorkBooks.Add Set NewSheet=ExcelObj.Sheets.Item(1) NewSheet.Name="Order" ExcelObj.Cells(1, 1).Value = "Name" ExcelObj.Cells(1, 2).Value = "Ordernum" ExcelObj.Cells(2, 1).Value = "nam" ExcelObj.Cells(2, 2).Value = "21" ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls" ExcelObj.Quit Set ExcelObj = Nothing in the above script for the line(ExcelObj.Cells(2, 2).Value = "21") it is inserting the value 21 successfully.this is fine But if i want to insert a variable instead of the constant value then what should be the modification in the script. For example: If user retrives a value throug "GetRoProperty" and wants to insert the value into then how the script changes?

1 Answers  


descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button

0 Answers   DigiTech,


Hoe to generate all numbers in between to numbers suppose all numbers in between 1 to 100 using vbscript give me code

2 Answers  


what are the limitations of smart identification in qtp 9.0

0 Answers  


how to record a word doc using qtp i.e open a word doc,type something and save the doc can someone send me the code.

3 Answers  


How do u write a regular expression for date (dd/mm/yyyy) field ?

4 Answers   Semantic Space,


How many types of Actions are there in QTP?

6 Answers   Wells Fargo,


Categories