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.

Problem recording dropdown created with 'Chosen' javascript plugin

thth Members
edited November -1 in Sahi - Open Source
Hi,
I am new to sahi and started evaluation it today - sadly I ran right into a problem with my first testcase:

We have some Chosen (as I cannot post links: if you don't know Chosen just google for 'javascript chosen' - it's the first hit) dropdowns which autocommit a form by selecting a value, but sahi isn't able to record them. Hovering over the entry with CTRL pressed and using the 'click' function to record the selection doesn't work either.

Is this a know issue? Or, maybe anyone can point me in the right direction to find a workaround...

Thanks in advance
Thomas

Evnvironment:
* Win7 with Firefox 10
* Win7 with Firefox 7
* Win7 with IE8

I tried
* install_sahi_v35_20110719.jar and
* install_sahi_pro_v4_20111129.jar

Comments

  • Hi th,

    Are you able to launch the controller? Since when i tried for the first time i was not able to launch the controller because of some data been blocked.

    Now i m able to CTRL+Hover on the elements.

    If you are trying to select the dropdown items then use

    _setSelected(element, option_identifier, isMultiple) API.

    You can find the details about the API in Sahi's website.

    Also, let me know if you are able to identify other elements on the specified site?

    Regards
    Smrithi
  • Hi Th,

    We are able to identify the choosen dropdown elements in sahi.

    Sahi able to identify the elements more efficiently than anyother tool.

    Can you please restart the sahi and check if it is able to identify the elements.

    Regards,
    Theeran.
Sign In or Register to comment.