Forum Discussion
PanB
9 years agoOccasional Contributor
Is it PrimeFaces control?
- baxatob9 years agoCommunity HeroNo, it's not a PrimeFaces.
As I can see - click on the combobox or on the elements inside it should run javascript.- PanB9 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()
Related Content
- 12 months agomtsapa
- 3 years agoramprabhus
Recent Discussions
- 12 hours agotramuntana
- 3 days agoSlickRick