Answer Posted / lak
Syntax : Reporter.ReportEvent EventStatus, ReportStepName,
Details
As we can see above, ReportEvent takes 3 arguments. Let's
discuss these briefly-
EventStatus: Status of the step i.e. Pass/Fail etc. It can
be four types..
0 or micPass: Causes the status of this step to be passed
and sends the specified message to the report.
1 or micFail: Causes the status of this step to be failed
and sends the specified message to the report. When this
step runs, the test fails.
2 or micDone: Sends a message to the report without
affecting the pass/fail status of the test.
3 or micWarning: Sends a warning message to the report, but
does not cause the test to stop running, and does not
affect the pass/fail status of the test
Reporter.Reortevent2 -> micDone
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are output values and why they are used ?
What is the file extension of the code file and object repository file in QTP?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
How to use debug tools?
How to get Traceability matrix from TD?
How to run a test using quicktest professional (qtp)?
what is the advantages and disadvantages of using functions instead of re usable actions
How to suppress warnings from the test results page?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
how to do the batch testing in test director using manual testing procedure?
Explain about the test fusion report of quicktest professional (qtp)?
Explain the concept of object repository?
What are metrics and matrix?
What is keyword view in qtp?
what type of run time errors you get while you ar edoing rpg program?