Windows GUI automation question

A

Axel Etzold

Dear all,

I want to use Ruby to automate some Windows GUI application.
I tried to use WET (Ruby gem: wet-winobj), because in this book:

http://www.pragprog.com/titles/idgtr/scripted-gui-testing-with-ruby ,

it is promised that using this gem, Ruby objects for all the handles in the GUI application will be provided (see p. 170), so that I could easily send some text to a particular text field in an external application and read out the result as given in some other text field in that application.

Unfortunately, I can't get this to work. My problem is essentially the same as this :

http://www.ruby-forum.com/topic/153374 .

Is it possible to change the gem specification and rebuild the gem ? How would I do that ?

Thank you very much!

Best regards,

Axel
 
L

Luis Lavena

Dear all,

I want to use Ruby to automate some Windows GUI application.
I tried to use WET (Ruby gem: wet-winobj), because in this book:

http://www.pragprog.com/titles/idgtr/scripted-gui-testing-with-ruby,

it is promised that using this gem, Ruby objects for all the handles in the GUI application will be provided (see p. 170), so that I could easily send some text to a particular text field in an external application and readout the result as given in some other text field in that application.

Unfortunately, I can't get this to work. My problem is essentially the same as this :

http://www.ruby-forum.com/topic/153374.

Is it possible to change the gem specification and rebuild the gem ? How would I do that ?

You can do gem unpack in a directory, which is going to extract all
the gem files, then you can change it.

But I would rather suggest to contact the author and ask him to fix
it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top