c# - Input a value in Dijit Combobox using the IJavaScriptExecutor -


i doing webdriver automation of webpage uses dijit webelements (they suck).

one of elements infamous dijit comobobox: http://dojotoolkit.org/reference-guide/1.10/dijit/form/combobox.html

the webdriver can input value doing several steps (click here, sendkeys, click there, etc), testing done in ie9 , slow.

i want javascript function, like:

document.getelementbyid("married_status").setattribute('value', 'nicely_married'); 

but doesnt work. can input text in field, not able select 1 of options.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

javascript - Bootstrap Popover: iOS Safari strange behaviour -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -