18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

How to create capture an image click

LokeshwarLokeshwar Members
edited November -1 in Sahi - Open Source
It is not clicking the image, stored in Script. Can you plz provide the option with with we can add step to click an image.

Comments

  • globalwormingglobalworming Moderators
    edited February 2011
    Hi Lokeshwar

    is adding a _click(_image("identifier")); to your script not working?
    Please provide some more information on what exactly the problem is.
    Could you post the code in your script and the URL where to find the image?
  • Hi,

    Following is the code used for image, please provide any solution to capture it in script.

    <img src="/img/btn-addcart.gif" alt="Add to Cart" border="0" height="20" width="85"></a></td>
    <td style="background-image: url("/img/box-3-7.gif");" width="10">

    Thanks
  • Sorry, I don't really understand where the problem is. Do you have a "_click(_image("btn-addcart.gif"));" in your script which isn't working? If possible provide the URL where to find the Image, maybe when I try to l click it , I understand better what is not working.
    Do you tried to use the controller to access the picture and click it or isn't just the record not working properly? Is the _click command in your script, but isn't working?
Sign In or Register to comment.