[wtr-general] How to access to onclick attribute

2010-05-05 Thread Rodrigo
Hi guys, I'm trying to click a button I have on a site I'm working on, but this button is identified by the following tag and properties: a onclick=document.selectterm.submit(); href=#Select/a I've tried to use the different methods to be able to click on the button but no one was successful.

[wtr-general] Re: How to access to onclick attribute

2010-05-05 Thread orde
Try something like this: browser.link(:text, text).fire_event('onclick') For reference: http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Element.html#M000557 orde On May 5, 7:16 am, Rodrigo rodrigo.bert...@gmail.com wrote: Hi guys, I'm trying to click a button I have on a site I'm working

[wtr-general] Vapir

2010-05-05 Thread Ethan
Dear Watir people, I am happy to announce the release of the Vapir library, which is a fork of Watir and FireWatir. It is documented primarily at the github wiki at http://wiki.github.com/vapir/vapir/ Documentation is sorely lacking at the moment, and improving it is my highest priority, but

Re: [wtr-general] Vapir

2010-05-05 Thread Felipe Knorr Kuhn
Hello, Ethan, Congratulations, it looks very promising :) Even though I understand it's a fork, what can we expect from now on? I liked most of the differences pointed in the Wiki, and I believe others will like them too, so why not make them to the main Watir project? Will there be a new user

[wtr-general] time loop

2010-05-05 Thread Shlomit Gazit
How can I create a loop for a test to run every 15 minutes? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post:

Re: [wtr-general] time loop

2010-05-05 Thread Felipe Knorr Kuhn
http://rufus.rubyforge.org/rufus-scheduler/ On Wed, May 5, 2010 at 3:36 PM, Shlomit Gazit shlomitpatr...@gmail.comwrote: How can I create a loop for a test to run every 15 minutes? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You

Re: [wtr-general] Vapir

2010-05-05 Thread Charley Baker
Felipe, We'd talked about merging some changes into the current Watir 1.x path. As Ethan mentioned, there are quite a lot of changes and not enough people currently to merge them back in. Hopefully with some time and ideally with pull requests as they can be broken out, I'd love to see some of

[wtr-general] Re: How to access to onclick attribute

2010-05-05 Thread Rodrigo
Thanks it worked!!! Rodrigo On 5 mayo, 13:59, orde ohil...@gmail.com wrote: Try something like this: browser.link(:text, text).fire_event('onclick') For reference:http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Element.html#M000557 orde On May 5, 7:16 am, Rodrigo

[wtr-general] Re: [Wtr-development] Vapir

2010-05-05 Thread Tim Koopmans
This makes no sense to me. Shouldn't we just merge important changes like modal support into Watir main? Or am I missing something? Is vapir a silent protest of sorts? Regards, Tim On 06/05/2010, at 3:47, Ethan notet...@gmail.com wrote: Dear Watir people, I am happy to announce the

Re: [wtr-general] i cannot run the scripts on internet explorer[i do have ie8]

2010-05-05 Thread Cristina
I downgraded to 1.8.6. And now it works. Thanks a lot! Cristina 2010/5/4 windy lyfi2...@sina.com I think ruby1.9's win32api has some problem, so you get the error. please try to use ruby 1.8.6 . hope this help you. 在 Wed, 05 May 2010 00:31:38 +0800,Cristina cristina.toro...@gmail.com

Re: [wtr-general] Vapir

2010-05-05 Thread Cristina
Hi, if we have ruby/watir. All we have to do in order to have vapir is just to run: gem install --pre vapir-firefox gem install --pre vapir-ie Do we have to be in a specific place when we run the installation? Do we have to be on C:\Ruby or on C: Matters? Thanks a lot. Cristina On Wed,

[wtr-general] Re: time loop

2010-05-05 Thread Adam Reed
Rufus looks neat for building it in... If you're looking for something external and are using Windows, you can create a Scheduled Task and point it to the .rb file you'd like to run. If using RSpec, you can create a batch file (.bat) with your spec command line text and schedule that batch file

Re: [wtr-general] Vapir

2010-05-05 Thread Felipe Knorr Kuhn
Charley, I don't know if I'm able to help with the merging because I would probably break everything, unless the unit tests are covering most part of the code :) Also, I have never worked as a coder in a project this big, but it could be a good time to try :) Since there are lots of changes,

Re: [wtr-general] Vapir

2010-05-05 Thread Ethan
More unit tests of my changes are one area in need of major improvement, up there with documentation. Element#text isn't any different (except I think, for whitespace stuff in Firefox), and the only code change to inner/outer html is that I implemented outer_html for firefox where it doesn't

[wtr-general] Re: Handling popups without using click_no_wait

2010-05-05 Thread Rats
On May 6, 6:02 am, Etsap aaron.di...@gmail.com wrote: Make sure you are using Ruby 1.8.6-26, not 1.8.6-27. Can you please tell me how I can check this? Thanks. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because

[wtr-general] Re: Handling popups without using click_no_wait

2010-05-05 Thread Betsy
typing ruby -v on the command prompt gives us ruby version till say 1.8.6, but how do we check for 26/27? @Rats - You can probably try out Autoit to be able to handle popups without using click_no_wait. -Betsy Joy On May 6, 9:56 am, Rats crapats...@yahoo.com.au wrote: On May 6, 6:02 am, Etsap