How many type of status messages are there ..explain?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
I've some problem in Descriptive programming plz help me. I've written in a click event code in Functional library when I run this flight reservation program It is not run. How to I write multiple click event in functional library. My program is this. I have associate an action with functional library. Public Function ClickButton(byval ApplicationName, byval WindowName, byval ObjectName, byref Comments) If Dialog("text:=" &WindowName).WinButton("text:=" &ObjectName).Exist Then Dialog("text:=" &WindowName).Activate Dialog("text:=" &WindowName).WinButton("text:=" &ObjectName).Click Elseif Window("text:="&ApplicationName).WinButton("text:=" &ObjectName).Exist Then Window("text:=" &ApplicationName).Activate Window("text:=" &ApplicationName).WinButton("text:=" &ObjectName).Click End if End Function
how to write code for to select all the checkboxs in the gmail i wrote code for my question but it didn't works any body suggest what wrong my code my code is Set chkboxDesc=Description.Create() chkboxDesc("type").value="chekbox" Set chboxcollection=Browser("name:=Gmail .*").Page("title:=Gmail .*").ChildObjects(chkboxDesc) For i=0 To chboxcollection.count-1 chboxcollection(i).set "ON" Next i was getting general run time error pls help me i am in learing stage
What is the "Release Notes", what it cosists? Key components in Release Notes ?
what is syncurnisation point? what is the use of this in real time environment? plz explain?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
What is the difference between a Function and Action in QTP?
How to find the number the number of Links, Brolken Links in a webpage?
why is execute file used.
Explain in brief about the QTP Automation Object Model.
How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????
Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?
Once the Actions are splitted , is there any way to merge them