The code line I try to execute is:
<INPUT class=rec_butt TYPE='submit' NAME='b_Add_' VALUE='Add' TITLE='Add' >
As you
can see it clicking the button is executing an onclick event. I replaced my code
with
ie.button(:name, add.wacTagAdd).fire_event("onclick")
w
= WinClicker.new()
#("#32770", "Microsoft Internet Explorer",
handle = w.getWindowHandle("Microsoft Internet Explorer")
puts handle
w.makeWindowActive(handle)
w.clickWindowsButton_hwnd(handle,"OK")
and as I can see it is firing the event. However now
the popup is not coming up.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paatsch, Bernd
Sent: Thursday, January 26, 2006 2:46 PM
To: '[email protected]'
Subject: Re: [Wtr-general] Order of execution / button().click?
To clarify. After clicking the button IE tries to load the
new web page but then I have a windows popup ontop waiting for an
confirmation.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paatsch, Bernd
Sent: Thursday, January 26, 2006 2:23 PM
To: '[email protected]'
Subject: [Wtr-general] Order of execution / button().click?
Hello,
I run into following issue: After I click a button on the web page a popup window opens waiting for user action. However the script is waiting indefinitely for the button.click to finish, that itself waits for the popup window to be take care of.
Is there a workaround?
Code sample
ie.button(:name, add.wacTagAdd).click
Puts "It
never reaches the puts!"
Thanks
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
