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 |
What is output value? How many types of output values are there in qtp?
Can we do Load Teting with QTP?
Explain how qtp identifies objects?
What are the details steps to connect a remote mysql database in QTP
How to find the path of folder in which the test is saved in qtp?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
What is the difference between Accessibility Checkpoint and Bitmap Checkpoint in QTP? Note: I have read it in QTP help but i dont want answer from that.......
Which environments does qtp support?
can anyone please tell me which is the best institute for learning QTP and Automation Testing tools in hyderabad with realtime examples and scenarios...I heard about many institutes in Ammerpet hyderabad i.e Suresh Reddy's Smart Solutions, Ashwin Palaparthi's Tech Teach,SUNNYSOFT, SITE institute, I-VINTAGE, siritechnologies and sriven institute..pls suggest me which to choose for learning QTP....Which institute has fasttrack option?
I encountered with very strange problem in qtp while writing the script i written the code window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit this code was working fine for about 10-15 times i executed the script but after some time qtp started giving the error with the same code the error is "Object doesnt support this method or function window(...).window(..)" then i modified the code with only window"regexpwndtitle:=Open").Exit in place of window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit now again its working fine i cannot understand what thing is creating the problem if same code executed successfully in starting for about 10 times then why it is giving the error now can anyone give the reason .
Can we do server automation by QTP? If you have any helpful links ,pls post it. Thanks Uma
HI How to take screenshots of a Webpage and saving it in a external word document using QTP.