[wtr-general] Re: Problem installing watir gem

2009-01-28 Thread malar
hi, i have added HTTP_PROXY with ip address and port number in system variable. but no use of it. still i am getting errors. C:\watgem install watir ERROR: http://gems.rubyforge.org/ does not appear to be a repository ERROR: could not find watir locally or in a repository What is the

[wtr-general] Re: Watir doesn't work under cygwin

2009-01-28 Thread sai
Not sure how many have tried Watir with Cygwin but your problem seems to be a permission one. Can you try to change the permission by doing a chmod and check if it is working? Also has anyone faced any problems in using Watir with PowerShell? Regards, Sai On Jan 27, 6:19 pm, Arco

[wtr-general] Factors affecting UI testability

2009-01-28 Thread sai
I know this is not the right forum to ask this question but there are so many people here who are experienced and have faced this issue as myself. So here it goes... I have been thinking about the points which affect UI testability for sometime. When it comes to unit testing there are specific

[wtr-general] WIN32OLE::new(excel.Application) can Open() method takes relative path?

2009-01-28 Thread sHiVa
Hi all, When i use this code with relative path, i am getting an error, but not if i use absolute path. As a part of my Watir framework, i need to use relative path. Please help me in this. - Thanks excel =

[wtr-general] Re: Page load time script

2009-01-28 Thread Natasha
Thanks Aidy. I don't mind using these options. Just that both are equally new to me. I am sure BadBoy would be simpler compared to JMeter. Let me go through it and understand the setup complexity. Also need to understand the similarities/differences between Watir and these tools. I will get back

[wtr-general] Re: Page load time script

2009-01-28 Thread aidy lewis
Natasha, There easiest way to do this is to use BadBoy and JMeter. If you need help with this drop me a mail off-line. Aidy On 28/01/2009, Natasha itsn...@yahoo.co.uk wrote: Hello All, Am writing a script to find the load time for certain web pages. I tried it in a way that my

[wtr-general] Re: Page load time script

2009-01-28 Thread Natasha
Thanks John for sharing the information. So I believe WATIR uses a thicker client compared to JMeter. Is this right? On Jan 28, 1:07 pm, JArkelen johnvanarke...@gmail.com wrote: What tooling you are going to use depends heavily on what the goal of your test is. Be aware that JMeter is

[wtr-general] require 'roo' giving Bad file descriptor error

2009-01-28 Thread sHiVa
Hi all, i am trying to use roo for reading Excel file. When i am trying to invoke 'roo' package using require 'roo' the following error is displayed. Plase help me in this.-- Thanks Errno::EBADF: Bad file descriptor from c:/ruby/lib/ruby/gems/1.8/gems/parseexcel-0.5.2/lib/parseexcel/

[wtr-general] Re: Integration with Rally

2009-01-28 Thread Richard Lawrence
Hi Aidy, I had more of a desktop application in mind (though the idea isn't very fleshed out yet). A wiki is a good idea, though. I'm interested in seeing where it goes, but I don't have time to collaborate on it right now. Best, Richard On Tue, Jan 27, 2009 at 3:54 PM, aidy lewis

[wtr-general] Re: Need help with verifying if text exists!

2009-01-28 Thread Michael Hwee
Replace if verify($ie.text.include?(searchedtext))==true with if $ie.text.include?(searchedtext) - Original Message From: Margam nk.mar...@gmail.com To: Watir General watir-general@googlegroups.com Sent: Tuesday, January 27, 2009 11:16:06 AM Subject: [wtr-general] Need help with

[wtr-general] QA w/ Watir

2009-01-28 Thread Matt
If anyone is looking for a position, I have a client who has a need for a QA Tester/Analyst who is experienced with Watir. I have an exclusive on this opportunity so if you, or someone you know is interested, please call me asap. Thanks Matt 800 428 9073 x189 mrich...@eliassen.com

[wtr-general] Re: require 'roo' giving Bad file descriptor error

2009-01-28 Thread Gaurav Bansal
have you installed roo gem? --~--~-~--~~~---~--~~ 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

[wtr-general] Need to pick number from the text

2009-01-28 Thread vasu
Hi, Iam new to watir can anyone help me in this regard: Your are registered as a Member, we will SMS you soon. Ref ID: 12345 I want to Pick that 12345 from the the above output. Please helpme --~--~-~--~~~---~--~~ You received this message because you are

[wtr-general] Re: Need to pick number from the text

2009-01-28 Thread praveen k
You can take a look at ruby's string class for a solution to your problem. Here's the URL: http://www.ruby-doc.org/core/classes/String.html On Wed, Jan 28, 2009 at 8:56 PM, vasu br.vas...@gmail.com wrote: Hi, Iam new to watir can anyone help me in this regard: Your are registered as a

[wtr-general] Re: Need to pick number from the text

2009-01-28 Thread sHiVa
Hi Vasu, use this code; #* text=Ref ID: 12345 num=text.split(:) intnum=num[1].to_i print intnum #* I hope this will help u . :) On Jan 29, 9:56 am, vasu br.vas...@gmail.com wrote: Hi,

[wtr-general] Re: to string?

2009-01-28 Thread praveen k
You can use .text instead of .Value. Here's some reference material for using ruby with excel: http://rubyonwindows.blogspot.com/search/label/rubygarden On Tue, Jan 27, 2009 at 12:26 AM, magn...@ifi.uio.no wrote: Hello, I am using WatiR as webtesting tool and I have seperated the data onto a

[wtr-general] Re: Need to pick number from the text

2009-01-28 Thread vasu
Ref ID will be changing randomly please let me know i can't hard code that part On Jan 29, 10:32 am, sHiVa krapa.ph...@gmail.com wrote: Hi Vasu, use this code; #* text=Ref ID: 12345 num=text.split(:) intnum=num[1].to_i print intnum

[wtr-general] Re: Need to pick number from the text

2009-01-28 Thread rob
What about trying to use regex? Use some regex to find 'Ref ID: ', then grab only the digits that follow. I'll try to give you a code example but don't have the time at the moment. Hope this helps get you started at least. On Jan 28, 9:42 pm, vasu br.vas...@gmail.com wrote: Ref ID will be