This is a migrated thread and some comments may be shown as answers.

Select Chosen.js without dektop command

1 Answer 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
André
Top achievements
Rank 1
André asked on 05 Feb 2018, 11:01 AM

Hello,

please, take a look at https://harvesthq.github.io/chosen/ .

- 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 

Thanks

André

1 Answer, 1 is accepted

Sort by
0
Nikolay Petrov
Telerik team
answered on 06 Feb 2018, 08:54 AM
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!
Tags
General Discussions
Asked by
André
Top achievements
Rank 1
Answers by
Nikolay Petrov
Telerik team
Share this question
or