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 selecting item in a particular list

michael01612michael01612 Members
edited November -1 in Sahi - Open Source
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 below

The issue is selecting items from the Available Resources listbox and moving them to the Assigned Resource listbox.

1 _setValue(_textbox("user"), "rhqadmin");
2 _setValue(_password("password"), "rhqadmin");
3 _click(_cell("Login"));
4 _click(_cell("Administration"));
5 _click(_cell("Inventory"));
6 _click(_cell("Compatible Groups"));
7 _click(_cell("New"));
8 _setValue(_textbox("name"), "abc");
9 _click(_cell("Next"));
10 _click(_div("RHQ Agent")); //this is the step where we are having trouble when the script runs
11 _click(_image("right_Disabled.png"));

Thank you in advance for your advice.

Regards,

Michael Foley

Comments

Sign In or Register to comment.