[wtr-general] Re: Difference b/w Click_no_wait and .Click!
The case I have encountered for using click!, is when 'click' doesn't return for a long time (or sometimes never depending on how buggy a web page or ad-servers are), and a 'click!' followed by a 'wait_until' to check the event success/fail is sufficient. --Shane. On Oct 13, 12:44 pm, Bret Pettichord b...@pettichord.com wrote: Shane wrote: So if no IE modal dialogs pop up, I would recommend you use click!, because you don't have the overhead of starting up a new ruby process each time. And that has worked for me so far. In this case, i would recommend using plain old click. I have not seen a use case for click! Bret --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Difference b/w Click_no_wait and .Click!
Shane wrote: The case I have encountered for using click!, is when 'click' doesn't return for a long time (or sometimes never depending on how buggy a web page or ad-servers are), and a 'click!' followed by a 'wait_until' to check the event success/fail is sufficient. That makes sense to me. Thanks. Bret --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Difference b/w Click_no_wait and .Click!
For Watir, the difference is that while click! does it's execution in the same ruby process, click_no_wait actually creates a new ruby script to attach to the current IE window and click on the specified control, and executes that in a completely new process using rubyw.exe. The problem this solves (which I've encountered), is that while click! does not wait for the page to be refreshed, if the button/link pops up a modal dialog (IE msg window), then that process and contained threads will still hang while waiting for the modal box to go away. So if no IE modal dialogs pop up, I would recommend you use click!, because you don't have the overhead of starting up a new ruby process each time. And that has worked for me so far. I haven't used fireWatir, so can't answer for how that operates. Thanks, Shane. On Oct 11, 9:57 pm, Pallavi Sharma write2pall...@gmail.com wrote: Hi We have installed ruby 1.86-26 only, but whats exactly difference between these two methods? Please let me know. On Fri, Oct 9, 2009 at 8:56 PM, Charley Baker charley.ba...@gmail.comwrote: The one major reason that click! would work and not click_no_wait is if you've installed from the ruby one click installer 1.8.6.27 rc2. Try the previous version 1.8.6.26. -c On Thu, Oct 8, 2009 at 11:06 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Can anyone here tell me what are the differences between Click! and click_no_wait for both watir and firewatir I have a scenario in which click_no_wait is failing but .click! is working? What could be the reason? Can i use safely .click! instead of click_no_wait even for pop ups?? Thanks Pallavi. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Difference b/w Click_no_wait and .Click!
Shane wrote: So if no IE modal dialogs pop up, I would recommend you use click!, because you don't have the overhead of starting up a new ruby process each time. And that has worked for me so far. In this case, i would recommend using plain old click. I have not seen a use case for click! Bret --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Difference b/w Click_no_wait and .Click!
Hi We have installed ruby 1.86-26 only, but whats exactly difference between these two methods? Please let me know. On Fri, Oct 9, 2009 at 8:56 PM, Charley Baker charley.ba...@gmail.comwrote: The one major reason that click! would work and not click_no_wait is if you've installed from the ruby one click installer 1.8.6.27 rc2. Try the previous version 1.8.6.26. -c On Thu, Oct 8, 2009 at 11:06 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Can anyone here tell me what are the differences between Click! and click_no_wait for both watir and firewatir I have a scenario in which click_no_wait is failing but .click! is working? What could be the reason? Can i use safely .click! instead of click_no_wait even for pop ups?? Thanks Pallavi. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Difference b/w Click_no_wait and .Click!
The one major reason that click! would work and not click_no_wait is if you've installed from the ruby one click installer 1.8.6.27 rc2. Try the previous version 1.8.6.26. -c On Thu, Oct 8, 2009 at 11:06 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Can anyone here tell me what are the differences between Click! and click_no_wait for both watir and firewatir I have a scenario in which click_no_wait is failing but .click! is working? What could be the reason? Can i use safely .click! instead of click_no_wait even for pop ups?? Thanks Pallavi. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---