jarmo / RAutomation

RAutomation
MIT License
100 stars 33 forks source link

Changing select_list values do not fire Window's events #15

Closed myungs closed 11 years ago

myungs commented 13 years ago

For example: let us say I have a combo box, and depending on the value selected in the combo box, the OnChange event will change a value in a text field dynamically.

 @window.select_list(:id => "select_list_1").options(:text => "Cheese")[0].select

If I use RAutomation, it will not trigger the OnChange event.

leviwilson commented 12 years ago

I was hoping that the ms_uia adapter would fix this, but it has the same implementation as the win_32 adapter so it does not trigger this event. I was going to look into changing it to use UIA to select the item instead.

jarmo commented 11 years ago

This works now with ms_uia adapter. Not sure that it's possible to make it work with other ones. Closing.