Re: [wtr-general] Unable to handle dialog box in IE

2014-06-18 Thread Raveendran P
Hi Minyi,

   Please share the current code then only we can atlaest
understand the problem to help.

For now:

browser.alert.ok -- will solve your problem

1


On Fri, Jun 13, 2014 at 5:37 PM, Joe Fleck joeflec...@gmail.com wrote:

 MinYi,

 You could try using sikuli (sikuli.org) it can be called within your
 script to close those dialog boxes.

 I did find these two solutions:


 http://grokbase.com/t/gg/watir-general/1282yx6mvs/wtr-general-re-handling-a-windows-file-upload-dialog-box

 http://watirwebdriver.com/javascript-dialogs/

 Joe



 On Fri, Jun 13, 2014 at 12:02 AM, MinYi minyi.y...@xynapse-asia.com
 wrote:

 Hi, I'm developing the watir script and facing some difficulties when
 comes to the
 dialog box handling in IE. I managed to do that in Firefox with the
 watir-webdriver library.
 However, I'm unable to handle/click the pop out dialog box in IE with the
 watir library. The dialog box is a confirmation
 dialog box with 'OK' and 'Cancel' button. I have tried on several method
 but still it is not working.I also go through the related topic in the
 forum and yet non of the solution is working for me
 Any ideas on how to handle to handle the pop out dialog box in IE with
 watir library..? Thanks and appreciate :)

 --
 --
 Before posting, please read http://watir.com/support. In short: search
 before you ask, be nice.

 watir-general@googlegroups.com
 http://groups.google.com/group/watir-general
 watir-general+unsubscr...@googlegroups.com

 ---
 You received this message because you are subscribed to the Google Groups
 Watir General group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to watir-general+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


  --
 --
 Before posting, please read http://watir.com/support. In short: search
 before you ask, be nice.

 watir-general@googlegroups.com
 http://groups.google.com/group/watir-general
 watir-general+unsubscr...@googlegroups.com

 ---
 You received this message because you are subscribed to the Google Groups
 Watir General group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to watir-general+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
Regards,
P.Raveendran
http://raveendran.wordpress.com

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
Watir General group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Unable to handle dialog box in IE

2014-06-13 Thread Joe Fleck
MinYi,

You could try using sikuli (sikuli.org) it can be called within your script
to close those dialog boxes.

I did find these two solutions:

http://grokbase.com/t/gg/watir-general/1282yx6mvs/wtr-general-re-handling-a-windows-file-upload-dialog-box

http://watirwebdriver.com/javascript-dialogs/

Joe



On Fri, Jun 13, 2014 at 12:02 AM, MinYi minyi.y...@xynapse-asia.com wrote:

 Hi, I'm developing the watir script and facing some difficulties when
 comes to the
 dialog box handling in IE. I managed to do that in Firefox with the
 watir-webdriver library.
 However, I'm unable to handle/click the pop out dialog box in IE with the
 watir library. The dialog box is a confirmation
 dialog box with 'OK' and 'Cancel' button. I have tried on several method
 but still it is not working.I also go through the related topic in the
 forum and yet non of the solution is working for me
 Any ideas on how to handle to handle the pop out dialog box in IE with
 watir library..? Thanks and appreciate :)

 --
 --
 Before posting, please read http://watir.com/support. In short: search
 before you ask, be nice.

 watir-general@googlegroups.com
 http://groups.google.com/group/watir-general
 watir-general+unsubscr...@googlegroups.com

 ---
 You received this message because you are subscribed to the Google Groups
 Watir General group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to watir-general+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
Watir General group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.