Forum Discussion
baxatob
11 years agoCommunity Hero
No, it's not a PrimeFaces.
As I can see - click on the combobox or on the elements inside it should run javascript.
As I can see - click on the combobox or on the elements inside it should run javascript.
PanB
11 years agoOccasional Contributor
So it looks silmitar to my problem with PrimeFaces. Here also after you click combobox itemlist is displayed with js.
I wrote some code to work with this kind of controls, mayby it will help you.
function PrimeFaces_Dropdown(DropDownToClick,ListValueToSelect)
{
PropArray = new Array("tagName", "innerText");
ValuesArray = new Array("LI", ListValueToSelect);
DropDownToClick.Click();
NameMapping.Sys.browser.Find(PropArray,ValuesArray,5,true ).Click()
}
---------------------------------------------------------
DropDownToClick - mapped // clickable part of control
ListValueToSelect - text to chose from list
NameMapping.Sys.browser.Find(PropArray,ValuesArray, 5 <- how deep TC will looking for list ,true ).Click()