[wtr-general] Can't run Watir

2009-01-28 Thread Arco
I am unable to run watir. I searched for a solution, and discussed the issue in IRC, but wasn't able to find a solution. Platform: WinXP / Cygwin Here is the text of my error message - http://pastie.org/372148 --~--~-~--~~~---~--~~ You received this message beca

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

2009-01-28 Thread Arco
Watir doesn't work for me. Sadly ironic, for a regression test tool... Platform: WinXP / Cygwin Ruby: ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin] Watir 1.6.2 Here's what I do: - gem install watir - irb >> require 'watir' => true >> x = Watir::IE.new LoadError: Permission denied - /usr/

[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:\wat>gem 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 problem

[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 wrote: > Wati

[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 po

[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] Page load time script

2009-01-28 Thread Natasha
Hello All, Am writing a script to find the load time for certain web pages. I tried it in a way that my watir script just has one line of code i.e. $browser.goto("www.google.com") But is there a simpler way to do it. Basically want to create a script to do that and run that script as a cron job

[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 wrote: > > Hello All, > > Am writing a script to find the load time for certain web pages. > > I tried it in a way that my watir script just

[wtr-general] Re: Page load time script

2009-01-28 Thread JArkelen
What tooling you are going to use depends heavily on what the goal of your test is. Be aware that JMeter is testing on HTTP level and that Watir tests are on real browser level. Depending on the thickness of your client the response time of both tools will be different. Cheers, John On Jan 28, 1

[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 wrote: > What tooling you are going to use depends heavily on what the goal of > your test is. > Be aware that JMeter is testing on HTTP level and

[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 wrote: > >

[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 To: Watir General Sent: Tuesday, January 27, 2009 11:16:06 AM Subject: [wtr-general] Need help with verifying if text exists! HI all, I am trying to

[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 guidelin

[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 s

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

2009-01-28 Thread sHiVa
I have installed roo using "gem install roo" and installation is successful. after that while i am trying to include that package, it is giving "Bad file descriptor error" error.Now i am desinging a framework in RUBY Watir for automating my project. I have choosen roo, because of its easy API.I am

[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 wrote: > > Hi, > > Iam new to watir can anyone help me in this regard: > > "Your are registered as a Member, we will

[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 wrote: > Hi, > > Iam new to wat

[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, wrote: > > Hello, I am using WatiR as webtesting tool and I have seperated the > data onto a Excel file and I

[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 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 wrote: > Ref ID will be changing randomly ple