[wtr-general] Not Able to Use Rspec framework

2009-10-23 Thread abhisheksreepal
Hi, Please specify what changes should be done to use Rspec Framework require 'rubygems' require 'watir' require 'spec' require 'watir/container' include Watir::Container $email=www.gmail.com $username=username $password=password describe 'Navigating to Gmail Login Screen' do before :all do

[wtr-general] Re: Help required regarding link method

2009-10-23 Thread Amit Kulkarni
Thanks for the help. Following is the page source. body div class=main !-- main -- div class=header-container !-- header -- div class=header div class=actions welcome a href=/profile/nikeman alt=nikeman class=underline

[wtr-general] Re: Help required regarding link method

2009-10-23 Thread Wesley Chen
I tried all the methods below, they work: 1. $ie.link(:after?, $ie.image(:title, Photogallerysanity1)).click 2. $ie.link(:after?, $ie.image(:alt, Photogallerysanity1)).click 3. $ie.link(:after?, $ie.image(:src, /s3.amazonaws.com \/staging-brandpotion-prints/)).click 4. $ie.image(:alt,

[wtr-general] Re: Help required regarding link method

2009-10-23 Thread Amit Kulkarni
Thanks Wesley, I will try it out and let you know. Thanks for thee help. :-) 2009/10/23 Wesley Chen cjq@gmail.com I tried all the methods below, they work: 1. $ie.link(:after?, $ie.image(:title, Photogallerysanity1)).click 2. $ie.link(:after?, $ie.image(:alt, Photogallerysanity1)).click

[wtr-general] Re: Problem with radio button

2009-10-23 Thread Amit Kulkarni
Hi Super, I tried with using your code. It didnt give me any error but it did not click on the desired button. Also it did not print any value. Also tell me one thing For this we have to run scripts compulsary in I.E or is it ok to run in FireFox? On Thu, Oct 22, 2009 at 8:31 PM, Super Kevy

[wtr-general] Re: SafariWatir-general mailing list retired

2009-10-23 Thread Željko Filipin
On Fri, Oct 23, 2009 at 6:03 AM, Tom Copeland t...@infoether.com wrote: So if you notice more safariwatir-related traffic here, that's why :-) Tom, Thanks a lot. I think it is a big step forward. Since I was pushing towards merging the lists, I will do my best to reply to SafariWatir related

[wtr-general] Re: Not Able to Use Rspec framework

2009-10-23 Thread Željko Filipin
What happens if you just run this: require 'rubygems' require 'watir' $email=www.gmail.com $username=username $password=password $ie = Watir::IE.new $ie.goto($email) $ie.text_field(:id, 'Email').set($username) $ie.text_field(:id, 'Passwd').set($password) $ie.button(:name, 'signIn').click Željko

[wtr-general] Re: Downloading File and FireWatir

2009-10-23 Thread Željko Filipin
On Wed, Oct 21, 2009 at 12:42 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: You have to add {code} Pallavi, I see that you have not done this. Do you need help? I will do it if you do not have the time. Željko --~--~-~--~~~---~--~~ You received this

[wtr-general] Re: Watir 1.6.5.rc2 - release candidate available for testing

2009-10-23 Thread Željko Filipin
On Thu, Oct 22, 2009 at 11:14 PM, Charley Baker charley.ba...@gmail.com wrote: We have a new version of Watir for testing, 1.6.5.rc2. I just did upgrade from 1.6.2 and everything works fine so far. Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You

[wtr-general] Re: Not Able to Use Rspec framework

2009-10-23 Thread abhisheksreepal
Hi Zeljko, My OS is Windows Xp. The code you mentioned is running fine. But I wanted to Use Rspec. So i modified my Old Code and also installed new gem safariwatir which made my code work. I have added the OUTPUT also. I am getting PENDING which i want to implement Please tell me how to

[wtr-general] Re: Downloading File and FireWatir

2009-10-23 Thread Pallavi Sharma
Zeljko Sorry didn't get time. I actually need some help, coz i tried a lot but couldn't mend it. Sorry should have told you so. Please do let me know what to do exactly. I put seperators between the code line but still didn't help. Pallavi. On Fri, Oct 23, 2009 at 2:55 PM, Željko Filipin

[wtr-general] Re: Not Able to Use Rspec framework

2009-10-23 Thread Željko Filipin
On Fri, Oct 23, 2009 at 11:38 AM, abhisheksreepal abhisheksree...@gmail.com wrote: But I wanted to Use Rspec. Then this is rspec problem. You should ask them for support: http://rspec.info/ We have some rspec documentation on the wiki: http://wiki.openqa.org/display/WTR/RSpec

[wtr-general] Re: Downloading File and FireWatir

2009-10-23 Thread Željko Filipin
2009/10/23 Pallavi Sharma write2pall...@gmail.com Please do let me know what to do exactly. - go to http://wiki.openqa.org/display/WTR/File+Downloads - click `Edit` - click `Rich Text` - select the code - click `--Format--` select box - select `code` - enter comment at the bottom of the page -

[wtr-general] Watir merge: ChromeWatir

2009-10-23 Thread Željko Filipin
I had a chat today with Sai, author of ChromeWatir, and he agreed that I could upload chromewatir-1.5.0.gem to RubyForge. I have created chromewatir package at wtr project and uploaded it there: http://rubyforge.org/frs/?group_id=104 Soon you will be able to do this: gem install chromewatir

[wtr-general] Re: `method_missing': unknown property or method `document' (WIN32OLERuntimeError) HRESULT error code:0x800706ba

2009-10-23 Thread LaurenL
Bret, I pasted the script below. Thanks for you looking into this. ~L # OMS Order Ack #-# # testOrderAck.rb #Author: Lauren #Date 6/15/2009 # # Purpose: to Ack orders in OMS prepping them for shipment # * Go to oms # * Click on

[wtr-general] Re: Watir + test unit + windows strange behavior

2009-10-23 Thread de Villamil Frédéric
Hello, I reply to myself to mention I've solved my issue due to a massive lack of sleep. I did the require test/unit into the test/XXX.rb and not into the files that actually included the test files. The result was ruby to open 1 window for every test file I required. I apologize for the

[wtr-general] Re: Problem with radio button

2009-10-23 Thread Amit Kulkarni
Hey all, What i have done is: I got all the elements by my_array = Browser.table(:class , 'admin-monochrome').to_a Under my_array i got the string Test. Now how should i click on Delete button? Please help? On Fri, Oct 23, 2009 at 1:55 PM, Amit Kulkarni amitkkulkarni...@gmail.comwrote: Hi

[wtr-general] Re: Not Able to Use Rspec framework

2009-10-23 Thread abhisheksreepal
Hi , Thanks for the reply. I know SafariWatir will not work in Windows. When I didn't had safariwatir installed, i was getting error similar to this . No such file to Load -- safariwatir I didn't know what was the root cause . So had to install Safari Watir.

[wtr-general] Re: Problem with radio button

2009-10-23 Thread Super Kevy
Well of course it didn't work against your application. You asked to click the delete button in a table row which has 3 columns of content. The above sample had your content in a single rowed table of which only 1 table in the body of the html code. ThusThe samples all point to only a single

[wtr-general] Re: Team (was: Sai)

2009-10-23 Thread Željko Filipin
I had a chat with Bret today, and he suggested I should add Tom to the Watir team (into ports section), because it is clear now that he is leading SafariWatir, since he released a new version. Done. http://watir.com/team/ Tom, welcome to the team. :) Željko

[wtr-general] Re: Not Able to Use Rspec framework

2009-10-23 Thread Bret Pettichord
abhisheksreepal wrote: include Watir::Container Don't do this. --~--~-~--~~~---~--~~ 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

[wtr-general] Running FF with JSSH

2009-10-23 Thread Shlomit Gazit
Angrez hello, I am running on MacOS. How should I run the tests not through eclipse? Thank you, Shlomit Date: Thurs, Oct 22 2009 3:57 pm From: Shlomit Gazit I opened ff with jssh from terminal and was able to telnet only if I was a super user. When I run the firewatir test from eclipse I

[wtr-general] Re: Click ok on popup

2009-10-23 Thread Shlomit Gazit
Any replies for this one? On Oct 2, 10:21 am, Shlomit Gazit shlomitpatr...@gmail.com wrote: For handling prompt popups, I am using myClicker.rb file: ___ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__ require

[wtr-general] Re: Team (was: Sai)

2009-10-23 Thread Tom Copeland
On Oct 23, 2009, at 10:37 AM, Željko Filipin wrote: I had a chat with Bret today, and he suggested I should add Tom to the Watir team (into ports section), because it is clear now that he is leading SafariWatir, since he released a new version. Done. http://watir.com/team/ Tom,

[wtr-general] Re: Click ok on popup

2009-10-23 Thread Tiffany Fodor
Hi! Just in case you haven't seen this page: http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups Can you provide the error you're getting when the click doesn't work? Is there a chance that the pop-up isn't loaded yet? You could try troubleshooting with irb and try various commands to click

[wtr-general] Re: Running FF with JSSH

2009-10-23 Thread Angrez Singh
I think it will automatically open a new Firefox instance with JSSH when you run the test. - Angrez On Fri, Oct 23, 2009 at 8:43 PM, Shlomit Gazit shlomitpatr...@gmail.comwrote: Angrez hello, I am running on MacOS. How should I run the tests not through eclipse? Thank you, Shlomit

[wtr-general] Re: Running FF with JSSH

2009-10-23 Thread Shlomit Gazit
The thing is that when I Quit FF from the Dock, my telnet connection is being disconnected. I am concern about that since I am trying to use attach method with firewatir and from what I read in another discussion is only if I use firewatir 1.6.2 with JSSH running I will be able to get the attach

[wtr-general] Working with gwt Tables

2009-10-23 Thread Dave McNulla
Does anybody have sample code for working with gwt Tables? I can figure out some basic stuff, but the rows in the table are really divs that have a one row table in them. It's difficult to work with the table to identify what all is in there, and which row each thing appears on. Here is the

[wtr-general] Re: Working with gwt Tables

2009-10-23 Thread Jari Bakken
On Fri, Oct 23, 2009 at 9:05 PM, Dave McNulla mcnu...@gmail.com wrote: Does anybody have sample code for working with gwt Tables? I can figure out some basic stuff, but the rows in the table are really divs that have a one row table in them. It's difficult to work with the table to identify

[wtr-general] Answering incomplete requests

2009-10-23 Thread Bret Pettichord
This is a note to those of you who are answering other people's questions here. The rest of you can stop reading. Really. If you stay I'll just hurt your feelings. Ok. We need to have a frank discussion. We're getting a lot of crappy questions. There are a lot of requests for help coming in

[wtr-general] Re: Answering incomplete requests

2009-10-23 Thread Chris
1. Stop responding to incomplete requests. Maybe they will repost with more information. Maybe not. Anyway, just ignore them. 2. Humiliate them and question their right to claim to be a tester if they can't even report a problem correctly. Make it clear that Watir is only for testers who

[wtr-general] Re: Answering incomplete requests

2009-10-23 Thread Željko Filipin
On Fri, Oct 23, 2009 at 9:49 PM, Bret Pettichord b...@pettichord.com wrote: 1. Stop responding to incomplete requests. Maybe they will repost with more information. Maybe not. Anyway, just ignore them. Until I get some time for a longer reply, I just want to say I will ignore bad questions.

[wtr-general] Re: Answering incomplete requests

2009-10-23 Thread Jason Trebilcock
Seems to me, if we're receiving 'incomplete requests', then maybe there's a way to drive towards more complete requests. In the LoadRunner forum on SQAForums, they're pretty militant about getting environment information upfront before they'll answer questions. Maybe if we adopted some sort of a

[wtr-general] Re: Answering incomplete requests

2009-10-23 Thread Bret Pettichord
Chris wrote: one option might be to emulate the Perl community of the time and start a 'watir-beginners' list, with a commitment from some veterans to spend time there, but emphasize that it is a list for newbies to help each other. Any one interested in doing this?

[wtr-general] Re: Answering incomplete requests

2009-10-23 Thread Bret Pettichord
Jason Trebilcock wrote: Seems to me, if we're receiving 'incomplete requests', then maybe there's a way to drive towards more complete requests. In the LoadRunner forum on SQAForums, they're pretty militant about getting environment information upfront before they'll answer questions.

[wtr-general] Re: Answering incomplete requests

2009-10-23 Thread Tiffany Fodor
I try to give them a shot and ask for more information. If they don't provide any, I ignore the question. One of my favorite things about Watir is the group of really great people who support it and the patience they showed me when I was just learning. You're right, though, there are some

[wtr-general] Re: Answering incomplete requests

2009-10-23 Thread Ethan
Perhaps a wiki page on what information is needed from people in order for them to get help - the initial response could just be a link to that page, and if they don't reply with information that generally conforms to what is required, it gets ignored. Of course, some people asking questions here

[wtr-general] Re: Answering incomplete requests

2009-10-23 Thread Željko Filipin
On Fri, Oct 23, 2009 at 11:01 PM, Ethan notet...@gmail.com wrote: Perhaps a wiki page on what information is needed from people in order for them to get help Take a look at the footer of every e-mail from this group. You will find this: Before posting, please read the following guidelines:

[wtr-general] Re: `method_missing': unknown property or method `document' (WIN32OLERuntimeError) HRESULT error code:0x800706ba

2009-10-23 Thread Tiffany Fodor
Hi Lauren! I've seen this error when the app goes down while my tests are running. Have you verified that you can access the site manually with IE6? If so, the next step I would try is to use irb to step through your test. If all else fails, I'd uninstall/reinstall IE6 and/or ruby and watir

[wtr-general] Re: Answering incomplete requests

2009-10-23 Thread Bret Pettichord
Bret Pettichord wrote: Jason Trebilcock wrote: Check out the top paragraph here: http://groups.google.com/group/watir-general Bret The guidelines link was broken. I just fixed it. Maybe that will help. --~--~-~--~~~---~--~~ You received this

[wtr-general] Re: `method_missing': unknown property or method `document' (WIN32OLERuntimeError) HRESULT error code:0x800706ba

2009-10-23 Thread Bret Pettichord
LaurenL wrote: puts Is there another order to ack? while b.link(:name, 'ack_0').exists? puts There is another order to Ack b.link(:name, 'ack_0').click b.button(:name, oms/util/SendOrderAckDroplet.sendOrderAck).click b.refresh sleep 3 end What happens after you click the button?

[wtr-general] READ BEFORE POSTING QUESTIONS

2009-10-23 Thread Bret Pettichord
Click this link and read it. http://wiki.openqa.org/display/WTR/Support --~--~-~--~~~---~--~~ 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

[wtr-general] Re: Answering incomplete requests

2009-10-23 Thread Nathan Lane
Hey Zeljko, I didn't mean to offend. By no means must one have a background in a Computer Science related field to understand software testing. I think it helps because in order to test software very effectively I think you must be able to understand it. Anyway, detail-oriented-ism and an eye for

[wtr-general] Re: Answering incomplete requests

2009-10-23 Thread Željko Filipin
On Fri, Oct 23, 2009 at 11:42 PM, Nathan Lane nathamberl...@gmail.com wrote: I didn't mean to offend. I did not get it as an insult. :) I just wanted to say that I think you just need to have a brain, and you will be able to ask a good question. Maybe it is a language problem. Maybe people just

[wtr-general] Re: Working with gwt Tables

2009-10-23 Thread Dave McNulla
Thanks. First time I've dealt with them so I didn't know if the dev was taking shortcuts or wasn't possible. Now I have a plan of action. Thanks for taking the time! Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[wtr-general] Re: Answering incomplete requests

2009-10-23 Thread Željko Filipin
On Fri, Oct 23, 2009 at 9:49 PM, Bret Pettichord b...@pettichord.com wrote: 2. Humiliate them and question their right to claim to be a tester if they can't even report a problem correctly. Make it clear that Watir is only for testers who have some basic competence. I do not think this would