How many type of status messages are there ..explain?

Answers were Sorted based on User's Feedback



How many type of status messages are there ..explain?..

Answer / mercy

Status of the report step:
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 or component fails.
2 or micDone: Sends a message to the report without
affecting the pass/fail status of the test or component.
3 or micWarning: Sends a warning message to the report, but
does not cause the test or component to stop running, and
does not affect the pass/fail status of the test or
component.

Is This Answer Correct ?    5 Yes 0 No

How many type of status messages are there ..explain?..

Answer / jim sears

micPass = 0
micFail = 1
micDone = 2
micWarning = 3
micInfo = 4

I was thinking there was one for 'not complete' but that would be for test status. These five statuses are for step status during run time for Reporter.RunStatus.
As in:
Reporter.RunStatus = micFail
is the same as
Reporter.RunStatus = "1"

Is This Answer Correct ?    1 Yes 0 No

How many type of status messages are there ..explain?..

Answer / sumanth

With above four you have,
4 for mic Information, passes an information regarding the
output status.

Is This Answer Correct ?    0 Yes 0 No

How many type of status messages are there ..explain?..

Answer / kalyan

0-micpass
1-micfail
2-micdone
3-micwarning.

we can use 0 instead of micpass.

Is This Answer Correct ?    1 Yes 1 No

How many type of status messages are there ..explain?..

Answer / jayadev acharam

micPass Status as Pass
micFail Status as Fail
micDone Status as Done
example
Reporter.ReportEvent misPass,"RequirmentNo:1.2.1","Update
Functionality is Checked"

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

Hi, every one aim new to automation testing(QTP),aim looking for software versions any. If any one can HELP me that will be great. Thank u.(9620427211,Bangalore)

0 Answers   ME,


Syntax for how to call one script from another? and Syntax to call one "Action" in another?

3 Answers  


Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?

3 Answers  


What r the advantages of automation?

3 Answers  


how to get the object property

4 Answers   Covansys,


one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

0 Answers   Mindlance,


What is meant by Pseudo Code?

5 Answers   Satyam,


How do you test the different ads displayed in the Inbox home page of Yahoo. Once u login Yahoo mail, in inbox page there will a banner, where different ads are scrolling, how do you test that using qtp?

2 Answers  


I am new with QTP. Is anybody could tell me where I can find a good tutorial with lots of samples?

0 Answers  


How to capture dynamic objects in qtp like mark up text

3 Answers  


what is the difference between development and testing

1 Answers  


What is method name to compare two XML files.

0 Answers  


Categories