Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
problem in popup handling
Karthic Ganesan
7/28/2008 4:05:00 PM
i have to handle the popup in my client page.
this is my program:
ie.button(:name,'BtnSubmit').click_no_wait
dialog = Watir::Dialog.new
dialog.button("OK").click
ie.waitForIE
but i got an error msg like,
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.3/./watir/dialog.rb:38:in
`click': Watir::Exception::UnknownObjectException
Once click on submit button it ll show an
popup msg. i hv to click on click button.
Please advise how to solve this popup issue?
--
Posted via
http://www.ruby-...
.
1 Answer
Yt Hu
9/10/2008 12:13:00 AM
0
Hi
Is this a JS pop up or a modal dialog?
everything is here
http://wiki.openqa.org/display/W...
have fun
Karthic Ganesan wrote:
> i have to handle the popup in my client page.
> this is my program:
>
> ie.button(:name,'BtnSubmit').click_no_wait
> dialog = Watir::Dialog.new
> dialog.button("OK").click
> ie.waitForIE
>
> but i got an error msg like,
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.3/./watir/dialog.rb:38:in
> `click': Watir::Exception::UnknownObjectException
>
> Once click on submit button it ll show an
> popup msg. i hv to click on click button.
>
> Please advise how to solve this popup issue?
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
problem in popup handling
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password