Hi Anthony,
You can use the Check method to compare the checkpoint with the actual
output.
Syntax is:
object.check CheckPoint("<Checkpoint Name here>")
Example:
if browser(b).Page(p).image(I).check CheckPoint("CheckPointName") = 0 Then
Reporter.reportevent micPass, "Image Checkpoint", "Checkpoint Passed"
else
Reporter.reportevent micfail, "Image Checkpoint", "Checkpoint failed"
Regards,
Vivek
On Mon, Sep 8, 2008 at 8:43 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hey,
>
> I apologize, but I am rather new to QTP automation...
>
> I've got a Checkpoint looking for a bit of text in a browser
> window...
> How would I check or determine the result through vbscript/script,
> during execution?
>
> I appreciate your cooperation and would like to thank you in advance,
>
> Anthony
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "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
-~----------~----~----~----~------~----~------~--~---