problem in popup handling

K

Karthic Ganesan

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top