Gui automation

Hey

Well, I start with saying that I am new to Ruby. I would like to run a
windows application by native call to windows api. I seem to be able to
get the windows handle, but no success to get access to menu items. Will
someone tell me how far I ma from getting this code useful

The code is attached as file. this is what I get at the command prompt

c:\Ruby200-x64\bin>ruby.exe c:\Temp\ruby\Tests\user32.rb
DL is deprecated, please use Fiddle
The main window’s handle is 855122.
menu handle is 0
counter is -1
The first sub menu is 0.
Menu ID is -1

Thanks
Masoud

Hi Masoud,

You can try with Cobra [1], which supports Ruby API and you can
manipulate
with menu.

Thanks
Nagappan

[1] - GitHub - ldtp/cobra: Windows version of Linux Desktop Testing Project