What does Reporter.Reortevent2 does?
Answers were Sorted based on User's Feedback
Answer / rahul roy
By using this method we can report the user defined results
in results window
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, as i'm not in a possition to afford any 'Fee' to join in any institutions. Hence, if possible, kinldy mail PDF file to my mail-ID: chakri_avala@yahoo.co.in Regards, Chakradhar Yadav.
95 Answers Cap Gemini, Citrix, CTS, IBM, Logistics, QA InfoTech,
WHAT IS ENVIRONMENT VARIABLES?
write a qtp script to see time in windows command prompt? its urgent....
what is On Error Resume Next ?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
How can i use Output Check points in QTP
Hybrid framework supports Descriptive programming. Is it true?
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action 1 for the two iterations only after which i want to exceute the next Action2. How is this possible?
how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script
if full in Object Repostoiory then how to load other Object Repository
unable to get item from the combobox using descriptive programing. can any one give me the peice of code to schedule the booking from one place to another using DESCRIPTIVE PROGRAMING.