When a Control is clicked, causing the Window to go away, RAutomation will crash ruby as noted in #72 here. This only happens if the control is found by a UIA locator, not a Win32 locator.
window.button(:value => 'OK').click # this is fine
window.button(:id => 'buttonOK').click # this crashes
When a
Control
is clicked, causing theWindow
to go away,RAutomation
will crash ruby as noted in #72 here. This only happens if the control is found by a UIA locator, not a Win32 locator.