[Wtr-general] How to make IE as active windows and capture it?
Charley Baker
charley.baker at gmail.com
Wed Apr 4 13:34:39 EDT 2007
ie = IE.new
ie.goto('http://www.google.com')
ie.bring_to_front
-Charley
On 4/4/07, Jason He <Jason.He at resilience.com> wrote:
>
> Dear all,
>
>
>
> I use a batch script in Windows command prompt (console) to start ruby
> scripts, when capture the active window using screen_capture("test.jpg",
> true), it will capture the console window rather than the Internet Explorer,
> how to make IE as active window and bring it forward by watir/ruby script?
>
>
>
> Regards,
>
> Jason
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070404/56d1dc93/attachment.html
More information about the Wtr-general
mailing list