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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,067
Latest member
HunterTere

Latest Threads

Top