Select Chosen.js without dektop command

2 posts, 0 answers
  1. André
    André avatar
    3 posts
    Member since:
    Mar 2017

    Posted 05 Feb 2018 Link to this post


    please, take a look at .

    - there's a example dropdown element under: "Standard Select" -> "Into This" (a select for countries on the right side)

    Can anyone tell my, how i set this element to "Germany" without using a Desktopcommand Mouse Leftclick 



  2. Nikolay Petrov
    Nikolay Petrov avatar
    308 posts

    Posted 06 Feb 2018 Link to this post

    Hello André,

    The "Desktop Mouse Click" action will trigger attached to the drop-down events.

    It there is a need to workaround this approach it is possible to trigger the events attached to the drop-down set of elements. Then it will be necessary to know to which element the appropriate event is attached. The fastest way to check the events is to inspect the elements in Firefox as shown on the attached screen-shot.

    Then you can add this DOM element in the elements repository using elements menu. Next step will be to select this element in the repository and record an "Actions" -> "JavaScript Events" step from the step builder.
    To open the drop-down it is necessary to trigger OnMouseDown event and to select country - OnMouseUp. Please, refer to the attached test script for further clarification.

    I hope these pointers are useful to you.

    Best Regards,
    Nikolay Petrov
    Progress Telerik
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top