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

Please explain me in detail! How to handle runtime errors in QTP useing recovery senario or with out scenario

5 Answers   Quinnox,


For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that .............

3 Answers   Satyam,


any one could you explain the following code with example: intFieldItemsCnt =CInt(GetProperty(Browser ("Browsername").Page("Pagename").Weblist ("weblistname"),"items count")) msgbox intFieldItemsCnt

1 Answers  


why text area checkpoints cannot used for web applications

0 Answers  


give me an example where u used good judgement and logic in solving a problem

0 Answers  


Hi, this is venkatesh. Q: I have 10 files in a folder(say D:\). Out of which there are some .txt, .xls, .doc. I want to know how to get the count of each file using qtp? If U have any ans, plz write script for that...

4 Answers   EDS,


I have a tool for automation testing (eg:qtp).I have two functionality(A & B) to test.A is tested once in a year. B is tested everyday. At present i have the money and resource availability to automate only one functionality.Which one will u suggest and why?

3 Answers   Wipro,


What is difference between Class and MicClass

2 Answers  


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

0 Answers  


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

0 Answers  


How to retrieve the property of an object?

1 Answers  


What is error handled other than recovery scenario manager?

2 Answers  


Categories