Hi all!

 

As some of you may remember, I was the guy freaked out with modal popups… I’ve sent a couple of messages to the list, and finally Praveen Kumar Kammitta [EMAIL PROTECTED] suggest me to use WET.

 

Well, it really worked out and pretty fine!

This is how I finally managed this:

 

require 'WET'

include WET

$ie=Browser.new()

$ie.goto("https://happiness.dhs.org", OUTOFPROCESS)

$ie.Dialog("title:=Security Alert").Button("index:=1").click

 

This is great! But now I have another trouble (I’m a problematic human, I know :S )

I’ve done several and LARGE scripts using Watir, and now I really don’t want to re-code all the lines which has references to the browser (there are differences between Watir Browser and WET Browser…

 

So, does exists a way of instanciate the WET browser, and then attach to that browser with Watir? I hope the question is made correctly, as my english need some improvement…

 

Cheers and Thanks in Advance!

Rodrigo Martin

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to