08-03-2009, 09:29 PM
How can I add a report. reporter event to a checkpoint??
Can I add a reporter event to a checkpoint
|
08-03-2009, 09:29 PM
How can I add a report. reporter event to a checkpoint??
08-04-2009, 11:42 AM
CheckPoint in QTP itself has the Reporter.Reportevent that goes to the test result as Pass or Fail. You will not be able to alter this. Let us know exactly what do you want to do, may be some more detail will help.
08-05-2009, 01:01 PM
Laura -
Yes you can add. I hope this is what you are looking at, Code: Chkstat = Browser("Google").Page("Google").Check (CheckPoint("Google")) -basanth
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
08-05-2009, 03:25 PM
Yes. Thanks
08-05-2009, 03:33 PM
Is it - Laura? I thought you want to use reporter.reportevent with checkpoint as mentioned in your question.
Hi,
CheckPoint statement in QTP returns a boolean value. You can verify the return value & put reporter.reportevent statement accordingly eg. Code: If Browser("Google").Page("Google").Check (CheckPoint("Google")) then ...continue... When you will see the result you will find the same case has been reported twice. First by the "CheckPoint" statement & other by "Reporter.ReportEvent" statement
08-05-2009, 09:54 PM
Done. thanks for your help
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
[UFT] [WPF] Table: how simulate Click or DBClick event | robertosalemi | 0 | 3,030 |
05-17-2016, 08:22 PM Last Post: robertosalemi |
|
How to capture objects of Event Viewer ? | Vishnu Narayan | 1 | 2,590 |
06-11-2015, 06:29 PM Last Post: venkatesh9032 |
|
Reporter unable to load results when objects are involved? | Elimelech.Eli | 2 | 3,792 |
06-01-2014, 01:37 PM Last Post: Elimelech.Eli |
|
MouseOver Event on Flex Object | Sourabh146 | 0 | 2,590 |
01-13-2014, 07:36 PM Last Post: Sourabh146 |
|
How to get qtp Reporter/Summary in vb script | rlin2012 | 1 | 3,519 |
11-20-2012, 02:55 PM Last Post: harishshenoy |