Hi,

I tried to use bring_to_front as described in cheat sheet:
http://wiki.openqa.org/display/WTR/Cheat+Sheet

But I was not successful. Later I discovered that I can write
something like

require 'win32ole'

and then

@autoit = WIN32OLE.new("AutoItX3.Control")

and only after that bring_to_front worked as I expected. The funny is
that I found the solution in the FAQ's 'how to take a screenshot'
section:

http://wiki.openqa.org/display/WTR/FAQ#FAQ-HowdoItakescreenshotsandappendtoaWordfile%3F

So, do I really need that @autoit ... line and should the cheat sheet
(and other relevant documentation) be updated or am I missing
something?

Cheers,

--
Emre Sevinc


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to