Why not to use Reporter.ReportEvent instead of Standard QTP Checkpoint? Just get the needed property and write a simple IF-THEN-ELSE to check for pass/fail. And then use Reporter.ReportEvent with micPass or micFail. I think it's better than Standard Checkpoint.
2009/9/14 Jose <[email protected]> > > Hi All, > > I´m still working on the field validation issue (http:// > groups.google.com/group/mercuryqtp/browse_thread/thread/ > dba9c4d0803c540f<http://groups.google.com/group/mercuryqtp/browse_thread/thread/%0Adba9c4d0803c540f> > ). > > I have performed Dhanasekar´s suggestions and finally I´m able to > validate the asterisk color and get a "Pass / Fail" result via > VBscript. > Now, I´m trying to generate a checkpoint in order to validate that > result and display it at the summary as a "Pass / Fail step", is this > possible? > > If not... i have figured out that the WebElements corresponding to > mandatory asterisks (red color) and delayed mandatory asterisks (blue > color) can be identified referring to the object class (red asterisk > class = txtred // blue asterisk class = txtblue), but when I create a > Standard Checkpoint, the "class" property is not listed at Checkpoint > Properties setup. > Is there any way to add the "class" property to it? > > Any feedback will be really appreciated. > > Thanks in advice. > > Jose. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---
