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.

Issue clicking a particular button

michael01612michael01612 Members
edited November -1 in Sahi - Open Source
Hi,

We have a question about Sahi's behavior in regard to clicking a particular button in our applicaiton.

To facilitate the discussion, I have done the following:
1) made our application available at this location: h t t p ://ec2-50-17-151-217.compute-1.amazonaws.com:7080/coregui/
2) copied our test script below

1 _setValue(_textbox("user"), "rhqadmin");
2 _setValue(_password("password"), "rhqadmin");
3 _click(_cell("Login"));
4 _click(_cell("Inventory"));
5 _click(_cell("Platforms"));
6 _click(_link("ip-10-196-203-68.ec2.internal"));
7 _click(_cell("Alerts"));
8 _click(_cell("Definitions")); //this is the button that we are having trouble with when we play our script
9 _click(_cell("New"));

Can you advise?

Thanks,

Michael Foley

Comments

  • Try with this script.

    _click(_submit("Definitions"));

    Thanks
    Praveen Omkaram
  • Thank you Praveen for the suggestion!

    I am trying it now, and it does not seem to be working though. _click(_submit("Definitions")); does not seem to identify and click the button in our application.

    Regards,

    Michael
Sign In or Register to comment.