[wtr-general] RE:Test suite name

2009-02-04 Thread chandushree
Hi, One clarification, when ever i give all_tests for run, it tells Loaded Unamed Test suite. Is there no way to display which test suite is loaded ? Regards, Srichand.V --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[wtr-general] Eclipse is displaying the execution summary

2009-02-04 Thread Niharika Patro
Hi, I am facing a weird issue while executing Watir scripts in Eclipse. After execution is complete, Eclipse should display the summary of number of tests, assertions, errors, failures etc at the end in the console. Its not displaying the same sometimes. Has anybody face this issue before?

[wtr-general] Re: Unable to install watir

2009-02-04 Thread Goodie
Hi, You may simply download PRoR 186-14 http://www.itest2.com/downloads.html It is packaged specially for testing, including Ruby 1.8.6, Watir 1.6.2. And it's small: 7.1M James --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[wtr-general] Re: browser seems to hang sporadically

2009-02-04 Thread aidy lewis
Hi Lisa, 2009/2/3 Lisa Crispin lisa.cris...@gmail.com: Has anyone seen this problem running Watir suites in Vista (64-bit) / IE7? We have a number of Watir suites, plus one big giant suite that includes all the others, the giant one takes maybe 3 hours to run. I ran this giant suite for 3+

[wtr-general] Unable to install WATIR on VM client machine

2009-02-04 Thread Natasha
Hi All, I am having trouble installing WATIR on VM client machine. I have installed Ruby on the VM client machine. Now I have been trying to install Watir on it. I tried commands: gem update --system It simply hangs while executing the above command. Thanks, Natasha

[wtr-general] Re: Unable to install WATIR on VM client machine

2009-02-04 Thread aidy lewis
Try downloading the packaged gem and place on C: C: gem install -l watir 2009/2/4 Natasha itsn...@yahoo.co.uk: Hi All, I am having trouble installing WATIR on VM client machine. I have installed Ruby on the VM client machine. Now I have been trying to install Watir on it. I tried

[wtr-general] Re: Unable to install WATIR on VM client machine

2009-02-04 Thread Natasha
Thanks Aidy. I have tried doing that. Its keeps prompting me to install other gems first. Its asking me to install activesupport gem. I have been looking for that gem. Regards, Natasha On Feb 4, 3:04 pm, aidy lewis aidy.le...@googlemail.com wrote: Try downloading the packaged gem and place

[wtr-general] Re: Unable to install WATIR on VM client machine

2009-02-04 Thread aidy lewis
Good point. Not sure if you can just copy over your gem folder. Or create the VM after you have installed your test environment Aidy 2009/2/4 Natasha itsn...@yahoo.co.uk: Thanks Aidy. I have tried doing that. Its keeps prompting me to install other gems first. Its asking me to install

[wtr-general] Re: Unable to install WATIR on VM client machine

2009-02-04 Thread Bret Pettichord
it is possible to simply copy over your ruby directory after you have installed watir on another machine. i've done this. bret aidy lewis wrote: Good point. Not sure if you can just copy over your gem folder. Or create the VM after you have installed your test environment Aidy 2009/2/4

[wtr-general] Re: Unable to install WATIR on VM client machine

2009-02-04 Thread aidy lewis
Does Natatsha need to copy the whole Ruby folder or will just the gems folder do? Aidy 2009/2/4 Bret Pettichord b...@pettichord.com: it is possible to simply copy over your ruby directory after you have installed watir on another machine. i've done this. bret aidy lewis wrote: Good

[wtr-general] Re: Unable to install WATIR on VM client machine

2009-02-04 Thread Paul Rogers
as long as you set the env variables to point to the ruby executable, gems etc it should be fine. I guy I used to work with wanted to check the whole ruby tree in to svn along with a batch file to set the env vars so it was really easy to set up a new machine. Paul On Wed, Feb 4, 2009 at 9:03

[wtr-general] How to check if JavaScript popup occurs

2009-02-04 Thread SushilKarwa
Hi, Am a newbie to Watir and trying to check if a JavaScript popup occurs. What am trying to do is, entering some input on a page and clicking some button. Now what I want to check is to see if any JavaScript pop up occurred. If it, then it should fail and log a message that the test failed.

[wtr-general] Re: Unable to install watir

2009-02-04 Thread aidy lewis
Is this a proxy error? set HTTP_PROXY=http://[proxy]:port Aidy 2009/2/4 arunaprabha...@gmail.com arunaprabha...@gmail.com: Hi, 1.Downloaded ruby186-26.exe 2.Installed it 3.got following error when im tried to install watir: C:\Documents and Settings\lagem update --system Updating

[wtr-general] Re: Eclipse is displaying the execution summary

2009-02-04 Thread Bret Pettichord
I used to use eclipse this way, and have had similar troubles and now just run my tests from the command line. I still use eclipse for editing. Even when i get Eclipse to run my tests, it is slow. Niharika Patro wrote: Hi, I am facing a weird issue while executing Watir scripts in Eclipse.

[wtr-general] Re: Unable to install WATIR on VM client machine

2009-02-04 Thread Natasha Ranney
I have tried copy the gem that Watir wants, Activesupport. copied C:\ruby\lib\ruby\gems\1.8\gems\activesupport-2.2.2 to the VM machine. Ruby is already installed on that machine. After copying the gem, I also set the path on VM machine, as shown below:

[wtr-general] Re: Unable to install WATIR on VM client machine

2009-02-04 Thread Natasha Ranney
I also tried copying the entire gems folder from the machine where ruby+watir was installed, onto the VM client machine. Then tried executing the watir script, but it failed to execute. Let me try installing the gems one by one, after downloading the gems. --- On Wed, 4/2/09, Natasha Ranney

[wtr-general] Re: Unable to install WATIR on VM client machine

2009-02-04 Thread aidy lewis
Hi Natasha, I think the consesus was to copy over the whole Ruby folder. Aidy 2009/2/4 Natasha Ranney itsn...@yahoo.co.uk: I also tried copying the entire gems folder from the machine where ruby+watir was installed, onto the VM client machine. Then tried executing the watir script, but it

[wtr-general] Re: How to check if JavaScript popup occurs

2009-02-04 Thread SushilKarwa
Anybody? Thanks, Sushil On Feb 4, 5:02 pm, SushilKarwa sushil.ka...@gmail.com wrote: Hi,   Am a newbie to Watir and trying to check if a JavaScript popup occurs. What am trying to do is, entering some input on a page and clicking some button. Now what I want to check is to see if any

[wtr-general] Re: How to check if JavaScript popup occurs

2009-02-04 Thread Paul Rogers
theres lots of info on this in the mailing list and on the wiki. If you are having particulr problems, post the particular question. Paul On Wed, Feb 4, 2009 at 11:11 AM, SushilKarwa sushil.ka...@gmail.com wrote: Anybody? Thanks, Sushil On Feb 4, 5:02 pm, SushilKarwa

[wtr-general] Re: Unable to install WATIR on VM client machine

2009-02-04 Thread Natasha Ranney
Hi Aidy, That worked :). I just tried executing a very simple Ruby script. Let me try executing my actual test scripts. Thanks a lot, Natasha --- On Wed, 4/2/09, aidy lewis aidy.le...@googlemail.com wrote: From: aidy lewis aidy.le...@googlemail.com Subject: [wtr-general] Re: Unable to install

[wtr-general] Re: How to check if JavaScript popup occurs

2009-02-04 Thread Paul Rogers
which line is the error occuring on? Im guessing its this one hwnd = browser.enabled_popup(5) and thats probably because 'browser' is not known to this method. Since I dont know what browser is its difficult to help. Paul On Wed, Feb 4, 2009 at 11:32 AM, SushilKarwa sushil.ka...@gmail.com

[wtr-general] Re: How to check if JavaScript popup occurs

2009-02-04 Thread bwaybandit
need 2 pieces of info: 1. What browser you are using as Paul mentioned 2. What version of watir are you using 3. The error indicates that you have a bad browser reference. Can you tell us how you are instantiating the browser (all the steps) On Feb 4, 1:54 pm, Paul Rogers paul.rog...@shaw.ca

[wtr-general] How to wait until onclick method has executed?

2009-02-04 Thread maven999
Hi, I have a test that enters some info (date, time, etc) and then clicks a 'Modify' button. The html code for the Modify button is (the text on the button is 'Modify'): input type=button onclick=modify_behavior() value=Modify/ My Watir test code to simulate this clicking is:

[wtr-general] Problems recognizing MS Reporting Services reports

2009-02-04 Thread Monkeybuns
I'm trying to use Watir to automate the testing of a set of db reports which were created using 'Report Designer', a part of MS SQL Server Reporting Services. The reports take input from the user thru HTML text fields, select lists, etc., located in the top half of a browser, run a corresponding

[wtr-general] Extending the IE class

2009-02-04 Thread Brian Tomlin
I have an old script that extends the IE class. Here are the first few lines: require 'rubygems' require 'watir' include Watir class Portal IE This use to work fine before, but I have recently updated to Watir 1.6.2 (running with Ruby 1.8.6 on XP) and it no longer works. When I try to

[wtr-general] Re: Extending the IE class

2009-02-04 Thread SH
Try making IE a member of Portal. I ran into a similar type of problem - after an upgrade my scripts wouldn't work. Someone here recommended that instead of my class extending IE to make IE a member of my class. Did that and then my scripts started working again. On Feb 4, 2:21 pm, Brian Tomlin

[wtr-general] Re: Extending the IE class

2009-02-04 Thread Bret Pettichord
doing include Watir might be the source of your problem. Bret Brian Tomlin wrote: I have an old script that extends the IE class. Here are the first few lines: require 'rubygems' require 'watir' include Watir class Portal IE This use to work fine before, but I have recently updated

[wtr-general] Re: Problem with running test scripts on Firefox/3.0.4

2009-02-04 Thread sumanth krishna
Thx, this helped me tooo :) On Dec 7 2008, 8:58 pm, anna barbara ostrowska ab.ostrow...@gmail.com wrote: Thx, Firefox didnt allow pop up and open tab instead of new window. I have changed setting and it works now:) Thx, again 2008/12/5 Michael Hwee michael_h...@yahoo.com Did you go and

[wtr-general] Re: Unable to install watir

2009-02-04 Thread Bret Pettichord
The error indicates that the gem installer is unable to access rubyforge.org, where the gems are stored. This can happen if there is a firewall, in which case you need to set a proxy. It can also happen if your computer is not connected to the network. Bret aruna prabha wrote: I have set

[wtr-general] Re: Eclipse is displaying the execution summary

2009-02-04 Thread Niharika Patro
Hi Bret and Chen, Thanks for your inputs :) I would try using Netbeans. Regards Niharika On Thu, Feb 5, 2009 at 8:14 AM, wesley chen cjq@gmail.com wrote: Maybe, Netbeans may be a good choice. I use it and find it really convenient. Thanks. Wesley Chen. On Thu, Feb 5, 2009 at 1:10

[wtr-general] How to append results to an existing Excel file

2009-02-04 Thread Prince3105
Hi All, I am a newbie to watir. My scenario is to validate e-mail text field with various input data which taken from a external excel sheet, then i have to write the results to the same excel sheet. In some cases i should use the same data for more than one pages, if the test gets failed i