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.

Just when I thought I was getting it...

DougStevensDougStevens Members
edited November -1 in Sahi - Open Source
_select(0, _under(_div("Section Of Act"))) evaluates to the correct dropdown list. When I selected a value ("203b"), I get the value is not in the dropdown list even though I can see it. I tested the length of the input from the db. It came back as 4.

However, when I did _select(2) and had it enter "203b" it worked, what am I missing?

Comments

  • narayannarayan Administrators
    Hi Doug,

    Could you post the full _setSelected statement? It looks like some error in matching the closing brackets.

    Regards,
    Narayan
  • Here's another example

    _setSelected(_select(0,_under(_cell("State"))),<some variable>);

    I get option not found even though it is in dropdown.
  • Hi Doug,

    The above code is working fine with the latest Sahi release (2010-08-20).

    We will get in touch with you by email, to see if there is something we are missing.
Sign In or Register to comment.