After running scripts how you report results ,there is

any specific report form

Answer Posted / sreeprasad

syntax is

report.reportevent event status,stepname,details

Argument-1 : event status are 4 types

1)micpass or 0

2)micfail or 1

3)micdone or 2

4)micwarning or 3

Argument-2 : The status of object we are going to report

Argument-3 : The details of the object.

reportstepname:

Name of the stepname in the report(object name)

details:

details of the object

Example:

Reporter.Reportevent 0,"custom step","step passed"

or

Reporter.Reportevent micpass,"custom step","step passed"

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differences between quicktest professional (qtp) and winrunner?

617


what is the difference between data driver & data driven and driver script?

2133


Is it possible to call win runner script in qtp?

623


How to Test the mainframe application?

1816


If you are testing a web application then what will you test in that application?

1533






which type of testing process are you following in ur company? how to recognize a qtp page?

1399


I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",

1346


Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.

1510


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

980


What are the major/ important methods, functions in QTP we use realtime testing

2259


How many types of run modes are there in qtp?

584


What is the difference between keyword view and expert view?

603


Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1412


What is the expert view?

547


is it possible to add sheets to excel at runtime

3228