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.
sahi automation script issue with Button!
Hi all,
I'm automating some sahi scripts for my project which has built with GWT.
Here I'm seeing some problems when I'm dealing with Button.
Sahi script only highlight's the Definitions button. But it's not /performing exact click operation which normally does with buttons.
Please check with sample test sahi script as below! Added comments to the steps which are not performing.
_setValue(_textbox("user"), "rhqadmin");
_setValue(_password("password"), "rhqadmin");
_click(_cell("Login"));_click(_link("Inventory"));
_click(_cell("Servers"));
_click(_link("RHQ Agent"));
_click(_cell("Alerts"));
_click(_cell("Definitions"));// problem is:-it only highlight's the Definitions button. But it's not
//performing exact click operation which lists the Alert Definitions with the New Button( which will help you to create new
//definition)
_click(_cell("New"));
_setValue(_textbox("isc_TextItem_84"), "alerttest");
_click(_cell("Conditions"));
_click(_cell("Notifications"));
Can you please look into above issue, let me know your suggestions/solutions on the same.
Thanks, Venkat
I'm automating some sahi scripts for my project which has built with GWT.
Here I'm seeing some problems when I'm dealing with Button.
Sahi script only highlight's the Definitions button. But it's not /performing exact click operation which normally does with buttons.
Please check with sample test sahi script as below! Added comments to the steps which are not performing.
_setValue(_textbox("user"), "rhqadmin");
_setValue(_password("password"), "rhqadmin");
_click(_cell("Login"));_click(_link("Inventory"));
_click(_cell("Servers"));
_click(_link("RHQ Agent"));
_click(_cell("Alerts"));
_click(_cell("Definitions"));// problem is:-it only highlight's the Definitions button. But it's not
//performing exact click operation which lists the Alert Definitions with the New Button( which will help you to create new
//definition)
_click(_cell("New"));
_setValue(_textbox("isc_TextItem_84"), "alerttest");
_click(_cell("Conditions"));
_click(_cell("Notifications"));
Can you please look into above issue, let me know your suggestions/solutions on the same.
Thanks, Venkat
Comments
AS you are using GWT Project, You can try another way to do this.
By your project, you can define a ID for that element.
then you can access that element by _click(_byId("id"));
Let me know if it works