Visual Studio Coded UI Test for Kendo UI -


is there way vs2013 coded ui test work on kendo ui?

specially combobox read span element , not select.

thanks.

you need write utility functions handle such controls. refer below function kendodrop down selenium c#. same can written in codedui

 public static void kendodropdown(string id, string name, string value, iwebdriver driver)         {             iwebelement input = driver.findelement(by.id(id));             input.click();              //put wait              iwebelement levelbox = driver.findelement(by.id(name));             var optionslist = levelbox.findelements(by.tagname("li"));             foreach (var dropdownoption in optionslist)             {                 if (dropdownoption.text.contains(value))                 {                     dropdownoption.click();                     break;                 }             }         } 

it has 3 part interact dropdown arrow, list box , list items.


Comments