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 |
If u prepare bug report in Excel sheet . Is it possible to send thrw Test director? how it is?
What is the use of Accessibility check point?
Can we Script any test case with out having Object repository? or Using Object Repository is a must
I am using DataTable.ImportSheet method to import the data from an excel sheet to the Runtime DataTable of QTP. here is my piece of code DataTable.import("c:\DataSheet.xls","Members","Members") The first row headings of Members sheet of DataSheet.xls and Members sheet of QTp are matched. but the QTP is taking very long time(approximately half an hour) to import the data into runtime datatable even though the DataSheet.xls has one or two rows in it. Please let me know why this is happening and is there any alternative for impoting the data into runtime datatable of qtp ?
Plz explain about InTERNAl Environment variable, External environment variable,builtin environment variables with examples?
I have the script like this: Browser("Philips Web Login").Page("Philips CL DMS2 Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. If i want to get that value "DC3701737" in to a variable, how? pls let me know if you didn't get the question. Help me out in this.
How to export QTP results to an ".xls" file?
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
I am using excel sheet to export data to QTP but it selects just one row of data from excel sheel how to import all rows of excel sheet to QTP during runtime
how can i pass a "cript"as a parameter in to a function
Why you are Using Descriptive programming instead of Object Repository?