Re: [wtr-general] Please help me with watir-ruby script
can you go through the unit tests for clicking javascript pop ups in firefox. It should be in [watir installation directory]/firewatir/unittests or something like this. - Angrez On Tue, Nov 16, 2010 at 6:26 PM, robin dsouza robin.so...@gmail.com wrote: I used this function def startClicker( button , waitTime = 3) w = WinClicker.new longName = ie.dir.gsub(/ , \\ ) shortName = w.getShortFileName(longName) c = start rubyw #{shortName }\\watir\\clickJSDialog.rb #{button }#{ waitTime} puts Starting #{c} w.winsystem(c ) w=nil end and called the function when pop up was appeared startClicker(OK) which did not work.. it gave a error as C:/Rubyscripts/new/RegistrationFatcowIE_priya.rb:16:in `startClicker': uninitialized constant WinClicker (NameError) Do i have use different require for WinClicker for FireFox? On Tue, Nov 16, 2010 at 6:11 PM, Basim Baassiri ba...@baassiri.ca wrote: without any code that you've written or html, no one in this forum will be able to help other than refer you to the documentation http://watir.com/documentation/ On Tue, Nov 16, 2010 at 7:28 AM, Robin D'Souza robin.so...@gmail.comwrote: Please help me with code for javascript pop up confirmation box for Fire Fox to click OK button -- 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.comhttp://groups.google.com/group/watir-generalwatir-general+unsubscr...@googlegroups.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.comwatir-general%2bunsubscr...@googlegroups.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.comwatir-general%2bunsubscr...@googlegroups.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
[wtr-general] Please help me with watir-ruby script
Please help me with code for javascript pop up confirmation box for Fire Fox to click OK button -- 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
Re: [wtr-general] Please help me with watir-ruby script
without any code that you've written or html, no one in this forum will be able to help other than refer you to the documentation http://watir.com/documentation/ On Tue, Nov 16, 2010 at 7:28 AM, Robin D'Souza robin.so...@gmail.comwrote: Please help me with code for javascript pop up confirmation box for Fire Fox to click OK button -- 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 -- 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
Re: [wtr-general] Please help me with watir-ruby script
On Tue, Nov 16, 2010 at 1:28 PM, Robin D'Souza robin.so...@gmail.com wrote: Please help me with code for javascript pop up confirmation box for Fire Fox to click OK button Take a look at this: http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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
Re: [wtr-general] Please help me with watir-ruby script
I used this function def startClicker( button , waitTime = 3) w = WinClicker.new longName = ie.dir.gsub(/ , \\ ) shortName = w.getShortFileName(longName) c = start rubyw #{shortName }\\watir\\clickJSDialog.rb #{button }#{ waitTime} puts Starting #{c} w.winsystem(c ) w=nil end and called the function when pop up was appeared startClicker(OK) which did not work.. it gave a error as C:/Rubyscripts/new/RegistrationFatcowIE_priya.rb:16:in `startClicker': uninitialized constant WinClicker (NameError) Do i have use different require for WinClicker for FireFox? On Tue, Nov 16, 2010 at 6:11 PM, Basim Baassiri ba...@baassiri.ca wrote: without any code that you've written or html, no one in this forum will be able to help other than refer you to the documentation http://watir.com/documentation/ On Tue, Nov 16, 2010 at 7:28 AM, Robin D'Souza robin.so...@gmail.comwrote: Please help me with code for javascript pop up confirmation box for Fire Fox to click OK button -- 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.comhttp://groups.google.com/group/watir-generalwatir-general+unsubscr...@googlegroups.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.comwatir-general%2bunsubscr...@googlegroups.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