Re: [Wtr-general] Scheduler

2007-06-08 Thread Jet Liu
Hi, When I set up my schedule using something like C:\Program Files\Mozilla Firefox\firefox.exe -chrome chrome://selenium-ide/content/selenium/TestRunner.html?baseURL=http://www.xyz.comtest=file:///C:\Documents%20and%20Settings\Test%20User\Desktop\Selenium\us/testsuite.html; -height 750 -width

Re: [Wtr-general] click link in iframe?

2007-06-08 Thread mihai
no ideea? ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Best Combination of Ruby and Watir

2007-06-08 Thread Simba
Hi, Since one month I have been trying to implement Watir in our project , but still now i am struggling to decide which combiniation of ruby watir suites my project.Presently i am using Raby 1.8.2 Watir-1.5.1.1158 this will work fine for javascriptscript alert box 's but won't support

Re: [Wtr-general] forum do not get the postings made using the mailing list

2007-06-08 Thread Željko Filipin
On 6/7/07, Bret Pettichord [EMAIL PROTECTED] wrote: I have been considering migrating watir-general to google groups. +1 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Best Combination of Ruby and Watir

2007-06-08 Thread Alister Scott
There is a Watir Extension Toolkit (WET) that may be of use to you. It supports modal dialogs. The details are on this site at http://www.openqa.org/wet/ ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] How to capture mail box icon

2007-06-08 Thread Željko Filipin
Hi Sapna, Sometimes I would like to be able to read mind of other people, but unfortunately, I can not do that. Good news is that I do not have to read you mind to be able to help you. You just need to post HTML of that image when it is opened and closed. :) Zeljko -- ZeljkoFilipin.com

[Wtr-general] NoMethodError :Undefined method Process_id for 1808:Fixnum

2007-06-08 Thread Simba
When i Run Below is code in IRB ,its throwinf error require 'watir' ie=Watir::IE.start(www.google.com) Error : NoMethodError :Undefined method Process_id for 1808:Fixnum Please some body tell me why this error is coming? Before Going into IRB , I had installed Win32-process 0.4.0

Re: [Wtr-general] Modal dialog

2007-06-08 Thread Ethan Jewett
Does the following work? http://rubyforge.org/pipermail/wtr-general/2005-April/001461.html There are a couple of other examples on the FAQ including one that uses click_no_wait, which I think won't block the current process, though you'll have to handle timing issues yourself as with the

Re: [Wtr-general] click link in iframe?

2007-06-08 Thread Ethan Jewett
Mihai, What is the code you are trying to use to click this menu link? It will need to be something like ie.frame(:index, 1).link(:text, Link text here).click You might want to consider using something like the IE Developer Toolbar or Firebug to see what is inside the iframe. Ethan On 6/8/07,

Re: [Wtr-general] click link in iframe?

2007-06-08 Thread mihai
tnx, i had a problem with ie.show_frames...it didn't display the frame..now that it works i've solve my problem too just like u said with ie.frame(:index,xx).frame(:index,yy)... and so on ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] Scheduler

2007-06-08 Thread Charley Baker
You might want to ask this on the Selenium forum. On 6/8/07, Jet Liu [EMAIL PROTECTED] wrote: Hi, When I set up my schedule using something like C:\Program Files\Mozilla Firefox\firefox.exe -chrome chrome://selenium-ide/content/selenium/TestRunner.html?baseURL=

[Wtr-general] frames and url()

2007-06-08 Thread Chong Jiang
Hello, Is there some way to return the url of a frame, for example, ie.frame(:index, 1), so I can navigate to the page with a goto? Thanks in advance, Chong ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] Trouble selecting list box item - Any suggestions

2007-06-08 Thread Charley Baker
Sure it's pretty easy. The sizes all show up in divs with size swatch id tags, you can see them all with the IE dev toolbar. Sold out sizes will have a div class of soldOut, so look out for those. Watir 1.5 is coming out soon, until then, you can install a prebuilt development gem :

[Wtr-general] mouse right click?

2007-06-08 Thread mihai
can i send to a control mouse right click without using autoit? ..fireevent(rightclick) doesn't simulate right click on a html page ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Link description from file

2007-06-08 Thread reinier
I have the same issue. Anyone knows how to handle regular expression retrieved from a file? (so they are a string when used) ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] mouse right click?

2007-06-08 Thread Paul Rogers
search the archives for onContextMenu - i posted some code to do right clicks a few months back Paul - Original Message - From: mihai [EMAIL PROTECTED] To: wtr-general@rubyforge.org Sent: Friday, June 08, 2007 8:54 AM Subject: [Wtr-general] mouse right click? can i send to a control

[Wtr-general] test

2007-06-08 Thread charley . baker
test ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] NoMethodError :Undefined method Process_id for 1808:Fixnum

2007-06-08 Thread Charley Baker
You might try updating the win32-process gem. Latest version is 0.5.2. There was a similar posting on the win32-process list on rubyforge. That may or may not resolve the issue. -Charley On 6/8/07, Simba [EMAIL PROTECTED] wrote: When i Run Below is code in IRB ,its throwinf error require

Re: [Wtr-general] Best Combination of Ruby and Watir

2007-06-08 Thread Bret Pettichord
Simba wrote: Since one month I have been trying to implement Watir in our project , but still now i am struggling to decide which combiniation of ruby watir suites my project.Presently i am using Raby 1.8.2 Watir-1.5.1.1158 this will work fine for javascriptscript alert box 's but won't

Re: [Wtr-general] Best Combination of Ruby and Watir

2007-06-08 Thread Jeff Fry
On 6/8/07, Bret Pettichord [EMAIL PROTECTED] wrote: The IE#modal_dialog command only works with Ruby 1.8.2. You can use the latest version of Watir 1.5. Oops. This may not be clear in the rdocs. To be clear, are you saying that the IE#modal_dialog command works with ruby 1.8.2 but not with

Re: [Wtr-general] Best Combination of Ruby and Watir

2007-06-08 Thread Charley Baker
modal_dialog only works for 1.8.2 currently since that's the version of Ruby that the win32ole.so library was compiled against. Bret added an error if you try to use this feature in newer versions of Ruby. If you need modal_dialog, you're limited to 1.8.2. -c On 6/8/07, Jeff Fry [EMAIL

Re: [Wtr-general] Best Combination of Ruby and Watir

2007-06-08 Thread Jeff Fry
Thanks. Is this an accurate correction then? To Install Ruby:http://ruby-lang.org Best is to use Ruby 1.8.2-14. Most of Watir works with newer versions of ruby as well, but IE#modal_dialog requires the 1.8.2 WIN32OLE library. It will NOT work with Ruby 1.8.1-13. (This version of Ruby

Re: [Wtr-general] Best Combination of Ruby and Watir

2007-06-08 Thread Bret Pettichord
I suggest this: quote Best is to use Ruby 1.8.2-14 or later. However, if you are using the Watir::IE#modal_dialog method, you must use Ruby 1.8.2-14 and not a more recent version. Watir (in general) will not work with Ruby 1.8.1-13. (This version of Ruby has a bad WIN32OLE library.) /quote

Re: [Wtr-general] Concurrent tests, different regions...

2007-06-08 Thread Bret Pettichord
Paul Carvalho wrote: Without seeing more of the code, I'm pretty sure you need to start by moving away from using Global variables. I agree. You also will want to run each test in a separate thread. ___ Wtr-general mailing list

Re: [Wtr-general] Best Combination of Ruby and Watir

2007-06-08 Thread Jeff Fry
On 6/8/07, Bret Pettichord [EMAIL PROTECTED] wrote: I suggest this: quote Best is to use Ruby 1.8.2-14 or later. However, if you are using the Watir::IE#modal_dialog method, you must use Ruby 1.8.2-14 and not a more recent version. Watir (in general) will not work with Ruby 1.8.1-13. (This