jarmo / RAutomation

RAutomation
MIT License
100 stars 33 forks source link

Fix locator :hwnd #96

Closed gwww closed 9 years ago

gwww commented 9 years ago

When creating an object using :hwnd as a locator the window is not found. For example

windows.text_field( :hwnd => some_valid_hwnd ).set "123"

fails. The composed method call control_hwnd is tried to be called with one parameter when it takes two.

jarmo commented 9 years ago

Can you also add some specs, which would fail without your changes, but would pass with them?

jarmo commented 9 years ago

Thanks. Merged & released new version.