Re: [Wtr-general] Project Map

2006-07-31 Thread Zeljko Filipin
Patrick from Openqa is trying to merge Watir General forum and this list. There are some problems, but I hope he will resolve them in near future.ŽeljkoOn 7/28/06, Bret Pettichord [EMAIL PROTECTED] wrote: OpenQA provides a web-based forum:http://forums.openqa.org/forum.jspa?forumID=5start=15,

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Zeljko Filipin
I use Arachno Ruby (http://ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php). Take a look.Željko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Adrian Lewis
I use Arachno Ruby (http://ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php ). Take a look. supports only 1.8.2. and the beta for 1.8.4 ([for me] kept crashing). Would like peoples experience on Rad Rails though. aidy

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Zeljko Filipin
Did you sent crash reports? Every time I send one, Lothar (developer) quickly fixes it.On 7/31/06, Adrian Lewis [EMAIL PROTECTED] wrote: I use Arachno Ruby ( http://ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php). Take a look.supports only 1.8.2. and the beta for 1.8.4 ([for me] kept crashing).

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Zeljko Filipin
I have ruby 1.8.4 and official version of Arachno works at my windows machine (http://ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php). There is even a Linux version (beta) http://ruby-ide.com/forum/showthread.php?t=589.ŽeljkoOn 7/31/06, Adrian Lewis [EMAIL PROTECTED] wrote:Zeljko Could you give

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Adrian Lewis
I have ruby 1.8.4 and official version of Arachno works at my windows machine But there is no de-bugging with this version and 1.8.4. Am I correct in saying that? aidy --- This message

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Zeljko Filipin
I do not use debugger a lot, but I just tried it and it works. If you have any problems, contact Lothar or post a question at Arachno forum. What happens when you start debugger? Nothing?Željko On 7/31/06, Adrian Lewis [EMAIL PROTECTED] wrote: But there is no de-bugging with this version and

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Adrian Lewis
What happens when you start debugger? Nothing? Crashes. But the last time I used it was over a month ago. Aidy --- This message and any attachment are confidential and may be

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Zeljko Filipin
Try new and improved Arachno, it will work. And, if it does not, just submit crash report and it will be fixed soon.ŽeljkoOn 7/31/06, Adrian Lewis [EMAIL PROTECTED] wrote: What happens when you start debugger? Nothing? Crashes. But the last time I used it was over a month ago.

Re: [Wtr-general] Newbie - Ruby dev IDE question

2006-07-31 Thread Lonny Eachus
We have been using RadRails almost since it has been available. It is based on the time-tested Eclipse IDE from IBM. (Get it? This was started when Java became big. Eclipse as opposed to Sun). So RadRails has a solid foundation, but it is still dependent on its developers to make sure it works

Re: [Wtr-general] No tests specified

2006-07-31 Thread Max Russell
Hi- I tried changing the code as suggested: quote Test::Unit::TestCase must have at least one method which name starts with test_. Change def centralvision load 'centralvision.rb' end to def test_centralvision load 'centralvision.rb' end and you should be fine.

[Wtr-general] Watir 1.5

2006-07-31 Thread Chintakrindi Meghanath
Hi Thanks, I downloaded and installed using the gem. (gem install watir) How do I know where it got installed ? Also currently I am running watir 1.4.x, shall I need to remove it ? Thanks Meghanath ___ Wtr-general mailing list

Re: [Wtr-general] Watir 1.5

2006-07-31 Thread Charley Baker
I'd recommend you uninstall your previous version if you've used the one click installer for Watir 1.4.1. Gems get installed into your ruby gems directory - ruby_install_directory\lib\ruby\gems\1.8\gems. Read through the FAQ, should help explain some basics. -CharleyOn 7/31/06, Chintakrindi

[Wtr-general] Click on the Tab

2006-07-31 Thread Chintakrindi Meghanath
Hi I am trying to click a "Tab" in my application . I tried with various combinations, but couldnt succeed. Here is the source code can anyone help me ? I have to click on the "Parties" tab. div id='Zeroth_HdrTabId' style='position:absolute; left:0px; top:12px; width:595px;

Re: [Wtr-general] Watir 1.5

2006-07-31 Thread Adam Reed
Meghanath, You will most likely have some trouble if you do not uninstall 1.4 first. To check, run this command from a DOS prompt: ruby -e 'require "watir"; puts Watir::IE::VERSIONIf it still shows 1.4, use 'gem uninstall watir' and choose the 1.4 version at the promptThanks,Adam

Re: [Wtr-general] Click on the Tab

2006-07-31 Thread David Schmidt
You can use the cell text contents to find the cell to click: table = ie.table(:index, 1)# Find the tab table using some method tab_cell = table.cell(:text, 'Parties') tab_cell.click If you know that this cell is the ONLY one with that text then you can just look for it anywhere on

Re: [Wtr-general] simple solution for basic authentication

2006-07-31 Thread Danny R. Faught
I tried and failed, but I thought my problem was in the way IE handled the data. I'd love to be proven wrong: It works for me, hacking watir.rb with hardcoded credentials like so - def goto( url ) user = username pass = password auth =

Re: [Wtr-general] Click on the Tab

2006-07-31 Thread Chintakrindi Meghanath
Hi I tried with ie.cell(:text, /Par/).click but its not working. Thanks Meghanath -Original Message- From: David Schmidt [mailto:[EMAIL PROTECTED] Sent: Monday, July 31, 2006 2:33 PM To: wtr-general@rubyforge.org Cc: Chintakrindi Meghanath Subject: Re: [Wtr-general] Click on the Tab

Re: [Wtr-general] simple solution for basic authentication

2006-07-31 Thread Chris McMahon
This is working for a site that's a huge mess of nested frames plus a swarm of small js, image, and css files, etc. I noticed that you hardcoded the base64 encoding of the credentials. Did you try to do it by doing the encoding on the fly? Didn't try that, I didn't think it would have an

Re: [Wtr-general] Click on the Tab

2006-07-31 Thread David Schmidt
OK, that may be a feature of the 1.5 development thread, which I'm running here. Did you try it with the quoted version? ie.cell(:text, 'Parties').click I've found the 1.5 versions to be very stable and worth running, BTW. David Chintakrindi Meghanath wrote: Hi I tried with

[Wtr-general] Watir 1.5

2006-07-31 Thread Chintakrindi Meghanath
Hi I unstalled the version 1.4.1 using the gem command and after that installed 1.5 version But when I used the command ruby -e 'require "watir"; puts Watir::IE::VERSION its showing as 1.4.1. I repeated the same twice but still its showing the 1.4 version Thanks Meghanath

Re: [Wtr-general] simple solution for basic authentication

2006-07-31 Thread Bret Pettichord
On 7/31/06, Danny R. Faught [EMAIL PROTECTED] wrote: To productize it, I'd recommending adding a credentials method likeWin32::IE::Mechanize uses.I don't understand the $realm argument in this API. Can you explain? Could we drop it?Bret ___ Wtr-general

Re: [Wtr-general] simple solution for basic authentication

2006-07-31 Thread Chris McMahon
On 7/31/06, Bret Pettichord [EMAIL PROTECTED] wrote: On 7/31/06, Danny R. Faught [EMAIL PROTECTED] wrote: To productize it, I'd recommending adding a credentials method like Win32::IE::Mechanize uses. I don't understand the $realm argument in this API. Can you explain? Could we drop it?

Re: [Wtr-general] 40 K limit to attachments

2006-07-31 Thread Bret Pettichord
On 7/31/06, Zeljko Filipin [EMAIL PROTECTED] wrote: I would not even look at 40K+ html. All I really need to provide some help is a little snippet of relevant html.I see your point, although sometimes people send us the wrong snippet. Esp. when it comes to _javascript_. (They often send the

[Wtr-general] Not working here. Re: simple solution for basic authentication

2006-07-31 Thread Chris McMahon
I am getting exactly the same behavior using this approach as I did hacking the raw string: my browser is authorized only for the outer page. In my app, frames and links inside the outer page are also protected by basic auth. That is, each of the internal frames and links send back a 401 error

Re: [Wtr-general] RPC Server unavailable

2006-07-31 Thread Danny R. Faught
w 1. Add time delays between the ie.close and ie.new or ie.start. This will give a chance for the ie.close to really close. 2. Don't close IE -- just reuse the existing client between tests. 3. Create an additional IE. As long as this lives, the IE server will continue to live and you can

Re: [Wtr-general] Watir 1.5

2006-07-31 Thread Adam Reed
In this case, pleaseuninstall and reinstall watir and Ruby. If you install watir from the source ".gem" file instead of the windows installer (this obviously does not apply to 1.5.1 since it is only in .gem format), you will not have the uninstall trouble in the future. Thanks, Adam

Re: [Wtr-general] Click on the Tab

2006-07-31 Thread Lonny Eachus
On my lunch break, I copied your html into the body of an otherwise empty web page. (Had to add a /div to the end.) Then I fired up IRB, required 'watir', attached to the page, and tried this: irb(main):015:0 ie.cell(:text, /Par/).exists? = true irb(main):016:0 ie.cell(:text, /Par/).text =

[Wtr-general] Forums and mailing list merged

2006-07-31 Thread Patrick Lightbody
The mailing lists are now synchronizing with the forums at http://forums.openqa.org. You can post using either medium and be sure it will reach the same audience. The forums provided the added advantages of RSS feeds and reward points, but of course are only available online.

Re: [Wtr-general] Not working here. Re: simple solution for basic authentication

2006-07-31 Thread Chris McMahon
Again, I could be wrong, but the code below on my app behaves exactly like my other demonstration code. if anyone were really motivated to see what's happening, you could download the free version of the app I ran against: http://lyris.com/products/listmanager/free_trial.html -Chris

Re: [Wtr-general] RPC Server unavailable

2006-07-31 Thread Bret Pettichord
A collegue reports that he directly kills the iexplore process as a way of closing IE, and avoiding the RPC error.On 7/31/06, Danny R. Faught [EMAIL PROTECTED] wrote:w 1. Add time delays between the ie.close and ie.new or ie.start. Thiswill give a chance for the ie.close to really close. 2.

[Wtr-general] DL::DLError too many callbacks defined from winClicker.rb (with fix)

2006-07-31 Thread David Schmidt
While running a web scraping application under Mongrel we started getting a DL::DLError too many callbacks defined exception from winClicker.rb (which we're using to pull the static text from Javascript popups. I finally tracked this down to two problems in winClicker.rb where DL Callback

[Wtr-general] Want to run my test in slow speed??

2006-07-31 Thread mi
What exactly do i have to code in Watir to run my test in slow mode so i can see what is typing during debugging?? Thanks! ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] launch broswer as another user ?

2006-07-31 Thread Marco
Hi has anyone had to come up with a way of launching an instance of ie from within a script but run as another user context? I tried using cpau and I can launch a browser using a ruby script. I then run that script using cpau -u user -p password -ex cmd /K \launchbrowser.rb params -enc