18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
Trouble clicking an image
Hi,
We are having some questions about Sahi selecting items from a particular listbox.
To facilitate the discussion, I have done the following:
1) made our application available to you at this location: h t t p : / / ec2-50-17-151-217.compute-1.amazonaws.com:7080/coregui
2) Copied our test script
_setValue(_textbox("user"), "rhqadmin");
_setValue(_password("password"), "rhqadmin");
_click(_cell("Login"));
_click(_link("Administration"));
_click(_cell("Templates"));
_click(_image("Edit_Alert.png"));
_click(_link("Logout"));
The image only appears when the mouse cursor hovers over a line. Sort of tricky ...
Thanks in advance for any advice,
Michael
We are having some questions about Sahi selecting items from a particular listbox.
To facilitate the discussion, I have done the following:
1) made our application available to you at this location: h t t p : / / ec2-50-17-151-217.compute-1.amazonaws.com:7080/coregui
2) Copied our test script
_setValue(_textbox("user"), "rhqadmin");
_setValue(_password("password"), "rhqadmin");
_click(_cell("Login"));
_click(_link("Administration"));
_click(_cell("Templates"));
_click(_image("Edit_Alert.png"));
_click(_link("Logout"));
The image only appears when the mouse cursor hovers over a line. Sort of tricky ...
Thanks in advance for any advice,
Michael
Comments
As I had mentioned before, the website loads very slowly for us. Let us do an online meeting to figure out these problems.
In this case, I think you need to add a _mouseOver() over the line before you click on the png. mouse overs are not automatically recorded by Sahi and need to be added manually to the script.
Regards,
Narayan