Hi Avinash,
You mean to say, you want to click on Refresh image, but verification should
be, page should not refresh(means page should remain same). If this is
correct, you can verify with any object on the page to verify that page is
not refreshed.
first identify that the object is present on the page, before clicking on
refresh image
Browser(xxxx).page(xxx).object.exist
Browser(xxxx).Page(xxx).Image.click
Wait 2
if Not Browser(xxxx).page(xxx).object.exist then
reporter.reportevent micfail, "object is not exists"
else
reporter.reportevent micpass, "Object is available means page is not
refreshed"
End if
Reporter.reportevent syntax may be wrong, you can correct that. But this
logic will work for you.
Please let me know if this is going to help you or not.
Thanks,
Madhavi
On Mon, Jun 6, 2011 at 8:49 AM, <[email protected]> wrote:
> is anything happeing on clicking the image like moving to next page or some
> othe object is appearing or not if yeas you can check that object.
>
>
> On , avinash vl <[email protected]> wrote:
> > HI,
> >
> > I want to check whether the page is getting refreshed on clicking an
> image (the check is that it should not get refreshed). How can i do the
> same?
> > Please suggest
> >
> > --
> > Regards,
> > Avinash
> > 9847398004
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> >
> > 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
>
> --
> 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
>
--
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