Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to sent more than one value to Kendo Multiselect element. whenever i use the Following function

((IJavaScriptExecutor)driver).ExecuteScript(String.Format("$('#   {0}').data('kendoMultiSelect').value({1});", "TagName", "Value"));

I am able to send only one value if I try to send another value first one is deleted

Please help


share|improve this question

According to their live demo's HTML, that widget is is a prettily-styled list. Rather than using javascript, you should be able to click on an element found by css "div.k-widget", then click on an element with css "li.k-item" with the right text inside of it. That's the equivalent to how the user would interact with the device: click on the box, then click on the item they want judging by what the text is.

Remember: with Selenium, you're usually trying to get as close as possible to how the user will interact with the page, so you can test the user's experience.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.