what is the purpose of the Reporter.ReportEvent in QTP and
also please give the brief description about
Reporter.ReportEvent ?
Answer Posted / pinks
You can use Reporter.ReportEvent to report custom test
steps in QTP's test results tree
Syntax -Reporter.ReportEvent EventStatus, ReportStepName,
Details [, ImageFilePath]
Event Status can have values
0 or micPass sends a pass status to test result window
1 or micFail sends a pass status to test result window
2 or micDone sends a message to test result window without
affecting the Pass/Fail status
3 or micWarning sends a warning message to the result window
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Mention how to access array data?
Explain about scrrun.dll?
how to write validation function for date in vb script
When does ‘on click of button’ event gets triggered in the vbscript language?
How can the spaces from the string be removed?
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?
How will you convert a string to upper case string using vbscript?
Which in-built function is used to format the number in the vbscript language?
Why is the use of exit do or exit for statements within loops discouraged?
Mention the rules for using option explicit statement?
How to assign a date value to a variable?
What is vbscript procedures?
How are comments handled in the vbscript language?
For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com