Need help in after clicking button

10 views
Skip to first unread message

Elvin

unread,
Nov 6, 2009, 7:23:16 PM11/6/09
to watij
Hi All,

I have a situation that I need to solve. On a page, once user click on
the Submit button to delete a record, there is a IE modal dialog
popup, to confirm the submission request with Yes and No button. I
have no problem in clicking this button.

My problem is that once the click method is executed, it is not
returning back to the script. On another words, the next line of the
code, which is right below "Click", is not executed. I believe there
is must be some wait for response/request in the "Click" method.

I know there thread can be written to close this modal dialog once it
is poped up. Is there any other method other than this? For example,
is that posible to stop the "wait for response/request" in the click
method.

Thanks
Elvin.

Adrian Ghidu

unread,
Nov 7, 2009, 7:37:40 AM11/7/09
to wa...@googlegroups.com
Most likely this is a blocking modal dialog. You should get the modal dialog (class ModalDialog) - ie.modalDialog(), close it by calling close or click on one of the buttons.

Elvin Wong

unread,
Nov 7, 2009, 5:33:44 PM11/7/09
to wa...@googlegroups.com
Yeah Adrian,

Actually, that is the next step I am trying to perform, close the modalDialog but watij stucks at the click mechanism at the button which will pop this modal dialog.

Thanks,
Elvin
--
Thanks,
Kien Chiew (Elvin) Wong
(415) 860-9880

Adrian Ghidu

unread,
Nov 8, 2009, 3:05:36 AM11/8/09
to wa...@googlegroups.com
Elvin,
You should create a new thread for the click action. Can you also post the portion of the code you wish to run?

Adrian

shradha koleshwar

unread,
Nov 9, 2009, 2:25:16 AM11/9/09
to wa...@googlegroups.com
Hi
The same we had faced. We have resloved this by using Ruby's old version and modaldialog.rb.

Elvin Wong

unread,
Nov 9, 2009, 12:59:30 PM11/9/09
to wa...@googlegroups.com
Thanks you both Adrian and Ghidu.

Thanks,
Elvin

Adrian Ghidu

unread,
Nov 10, 2009, 3:57:44 AM11/10/09
to wa...@googlegroups.com
You're welcome Elvin. I take it you found the solution.

Adrian

feis

unread,
Nov 25, 2009, 8:36:23 PM11/25/09
to watij
may be is the local language not english or ie version not correct .
You can step into watij java source . Maybe you'l find some solutions.
Reply all
Reply to author
Forward
0 new messages