jarmo / RAutomation

RAutomation
MIT License
100 stars 33 forks source link

Fix locator :hwnd #96

Closed gwww closed 10 years ago

gwww commented 10 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 10 years ago

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

jarmo commented 10 years ago

Thanks. Merged & released new version.