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

2009-10-22 Thread yuping zhong
The unit test is running according to the name of the def. So you should make the definition for the name as following: def test_a .. end def test_b end def test_c . end and so on. It will running on order,hope that help. -Zhong On Oct 22, 7:25 am, Tiffany Fodor

[wtr-general] Re: After upgrading to Watir 1.6.2, it is not working fine.

2009-10-22 Thread Naveen devadass
Hi, I tried adding require rubygems but i did not get the error rectified and i got following C:\irb irb(main):001:0 require rubygems = false irb(main):002:0 require watir LoadError: no such file to load -- watir from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in

[wtr-general] Re: Problem with Checkbox

2009-10-22 Thread Amit Kulkarni
Any suggestions on the above issue? Please help On Wed, Oct 21, 2009 at 5:49 PM, Amit Kulkarni amitkkulkarni...@gmail.comwrote: No,it does not flash up anything. It also does not display any error and goes to next step On Wed, Oct 21, 2009 at 5:39 PM, Željko Filipin

[wtr-general] Re: Problem with radio button

2009-10-22 Thread Amit Kulkarni
Help required on above issue :-) 2009/10/21 Amit Kulkarni amitkkulkarni...@gmail.com -- Forwarded message -- From: Amit Kulkarni amitkkulkarni...@gmail.com Date: Wed, Oct 21, 2009 at 4:40 PM Subject: Re: [wtr-general] Re: Problem with radio button To:

[wtr-general] Re: Browse an Image

2009-10-22 Thread Amit Kulkarni
Thanks a lot Željko . On Wed, Oct 21, 2009 at 1:43 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Oct 21, 2009 at 9:06 AM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: Browser.file_field(:name, photo).set(path name i.e. C:\\abc\\abc.jpg) Please dont forget to enter

[wtr-general] Help required regarding link method

2009-10-22 Thread Amit Kulkarni
Hello all, Following is my scenario: I have a list of images and below that image contains Edit link. Now i want to click on that Edit so that i can Edit the Title and Description. Following is the html code: div style=width: 150px; height: 150px;input id=attachment[218] type= checkbox value=1

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

2009-10-22 Thread Željko Filipin
On Thu, Oct 22, 2009 at 10:05 AM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: i want to recognize this Edit link using the image title. browser.link(:after?, browser.image(:title, Photogallerysanity)).click Željko -- http://watirpodcast.com/

[wtr-general] Re: Thanks for any support you can offer

2009-10-22 Thread Željko Filipin
Thomas, I do not think this e-mail is appropriate for watir-general. I have removed it from the web site. Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To

[wtr-general] Team (was: Sai)

2009-10-22 Thread Željko Filipin
On Thu, Oct 22, 2009 at 1:31 AM, Paul Rogers paul.rog...@shaw.ca wrote: until I read that I thought I was still an active member of watir, even though I cant remember the last time I did a check in ;-( Paul, I have no problem with moving you to active members. I just thought it would be

[wtr-general] Re: How to access methods from Modules

2009-10-22 Thread Željko Filipin
On Thu, Oct 22, 2009 at 4:07 AM, Bret Pettichord b...@pettichord.com wrote: I don't know if any one is using it any more. Sounds to me like it should be removed from Watir. :) Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You received this message

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

2009-10-22 Thread Željko Filipin
On Thu, Oct 22, 2009 at 10:18 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: Anybody do not think it would be a good idea? This should be: Anybody thinks it would not be a good idea? Željko --~--~-~--~~~---~--~~ You received this message because you

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

2009-10-22 Thread Wesley Chen
I think, Watir general is a great group, it is kind of because there are many kind men who are generous. I think we won't reject any guys who wants to contribute. We may allow any talent to share their ideas, even if they may leave in seconds. Do you think so? Thanks. Wesley Chen. For life, the

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

2009-10-22 Thread de Villamil Frédéric
Hello, Thank you for teling me. I've been developping with Ruby for more than 6 years now and know how to make test suits. My issue is more like as soon as a test attaches the browser, it starts the next one, opens a new browser windows and tries to run it as a parallel process. I'm

[wtr-general] Re: How to access methods from Modules

2009-10-22 Thread abhisheksreepal
Hi Tiffany, Thanks for the reply. I have modified my code require 'test/unit' require watir require 'watir/testcase' require 'watir/watir_simple' include Watir::Simple class Login Watir::TestCase def test_login ie=Watir::IE.new ie.goto(SOME LINK) ie.link(:href,some

[wtr-general] Re: How to access methods from Modules

2009-10-22 Thread Željko Filipin
On Thu, Oct 22, 2009 at 12:28 PM, abhisheksreepal abhisheksree...@gmail.com wrote: require 'watir/watir_simple' include Watir::Simple I think that watir simple is not supported any more. You should use regular watir, it is not more complicated. Start here:

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

2009-10-22 Thread Amit Kulkarni
Hi Željko, I tried browser.link(:after?, browser.image(:title, Photogallerysanity)).click but no success I also tried using .flash method but it does not flash anything. Can you please tell me what is going wrong? On Thu, Oct 22, 2009 at 1:40 PM, Željko Filipin zeljko.fili...@wa-research.ch

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

2009-10-22 Thread Željko Filipin
On Thu, Oct 22, 2009 at 12:36 PM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: I tried browser.link(:after?, browser.image(:title, Photogallerysanity)).click but no success Amit, You have posted a few very similar questions in the last two days. Have you read the tutorial?

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

2009-10-22 Thread Amit Kulkarni
Sorry for the trouble. I got it that my queries are similar. But i dont know why is it not working on my side. No my application does not use frames. Even i try to flash any object it does not. Can you tell me what is the problem? On Thu, Oct 22, 2009 at 4:17 PM, Željko Filipin

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

2009-10-22 Thread Željko Filipin
On Thu, Oct 22, 2009 at 1:10 PM, Amit Kulkarni amitkkulkarni...@gmail.com wrote: Even i try to flash any object it does not. Can you tell me what is the problem? No. It could help if the application is public and you provided the link to it, so I could take a look. Željko

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

2009-10-22 Thread Amit Kulkarni
Sorry again, Yes i read the tutorial. I tried some stunts but no success.So posted my queries here. On Thu, Oct 22, 2009 at 4:48 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Oct 22, 2009 at 12:47 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: Have you read the

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

2009-10-22 Thread Amit Kulkarni
I also tried to use using Xpath. i.e. Browser.link(:xpath,//a...@href='/Nikes/photo_gallery/attachments/218/edit?media=print']/).text # = Edit Still no success.Is there something wrong with the above code? On Thu, Oct 22, 2009 at 4:55 PM, Amit Kulkarni amitkkulkarni...@gmail.comwrote: Sorry

[wtr-general] firewatir not able to recognise the text box

2009-10-22 Thread arihan sinha
Hi All, When i am running the ruby test from eclipse , the text box in the firefox is not getting recognised because of id=advSearchFirstSearchTerm class=adv_searchTerm type=text value= name=firstSearchTerm onfocus=select() style=background: yellow none repeat scroll 0% 0%;

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

2009-10-22 Thread Angrez Singh
can you try this? Browser.link(:xpath,//i...@title='Photogallerysanity']/a).flash() or click() - Angrez On Thu, Oct 22, 2009 at 5:03 PM, Amit Kulkarni amitkkulkarni...@gmail.comwrote: I also tried to use using Xpath. i.e.

[wtr-general] Re: How to access methods from Modules

2009-10-22 Thread abhisheksreepal
Hi Zeljko, Thanks for the reply. I'll start using Regular watir But incase if anyone wanted to use .. i got a SOLUTION Solution 1:Better one I just added this setter method in this file (C:\Ruby\lib\ruby\gems \1.8\gems\watir-1.6.2\lib\watir\watir_simple) def

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

2009-10-22 Thread Amit Kulkarni
Hi Angrez, I tried with the link you provided but it shows below error Unable to locate element, using :xpath, //i...@title='Photogallerysanity']/ (Watir::Exception::UnknownObjectException) Same error appears when i use .click or .flash On Thu, Oct 22, 2009 at 5:14 PM, Angrez Singh

[wtr-general] Re: firewatir not able to recognise the text box

2009-10-22 Thread Angrez Singh
Can you post the HTML and your ruby code for the same? On Thu, Oct 22, 2009 at 5:14 PM, arihan sinha arihan.si...@googlemail.comwrote: Hi All, When i am running the ruby test from eclipse , the text box in the firefox is not getting recognised because of id=advSearchFirstSearchTerm

[wtr-general] Re: Problem with radio button

2009-10-22 Thread Super Kevy
Try something like this where value=delete or update ie.radio(:name,'act2[165]',value).focus ie.radio(:name,'act2[165]'',value).set --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post

[wtr-general] Re: Problem with radio button

2009-10-22 Thread Amit Kulkarni
Thanks a lot.But the name act2[165] is not going to be same all the time. I have my poll title as Test.So i want to set my focus on delete radio button whose title is Test. Is it possible to do this? This is my html script tr tdTest/td tdUnpublished/td td class=actions label for=Update input

[wtr-general] Re: Problem with radio button

2009-10-22 Thread Super Kevy
Interesting... I'm assuming table matching is the ticket and dynamic variables being the pain... Try this snippet and modify to suit for page require 'watir' require 'watir/ie' require 'watir/dialog' require 'Win32API' ie = Watir::IE.new sURL='http://www.google.com' sURL='C:\Documents and

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

2009-10-22 Thread Paul Rogers
no, dont worry about making the change. Maybe if I do some commits I can work my way back up to active. On Thu, Oct 22, 2009 at 2:18 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Oct 22, 2009 at 1:31 AM, Paul Rogers paul.rog...@shaw.ca wrote: until I read that I thought I

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

2009-10-22 Thread Željko Filipin
On Thu, Oct 22, 2009 at 5:02 PM, Paul Rogers paul.rog...@shaw.ca wrote: Maybe if I do some commits I can work my way back up to active. We are all waiting for that drag and drop stuff. :) Željko --~--~-~--~~~---~--~~ You received this message because you are

[wtr-general] Re: firewatir not able to recognise the text box

2009-10-22 Thread arihan sinha
Thanks Angrez for looking into it. The html code div class=adv_search_box input type=text onfocus=select() class=adv_searchTerm id= advSearchFirstSearchTerm name=firstSearchTerm value=/ in

[wtr-general] Use Rpec in SciTE

2009-10-22 Thread abhisheksreepal
Hi, I am executing my Watir Scripts using SciTE tool.I was using Unit Test framework I recently came to know about Rspec framework But i can execute only in cmd prompt for e.g C:\spec test.rb --format specdoc But i want to Run the Script using Rspec in SciTE. Please help me how to run

[wtr-general] Re: firewatir not able to recognise the text box

2009-10-22 Thread Angrez Singh
works for me: require 'watir' # the controller require 'test/unit/ui/console/testrunner' require 'test/unit/testsuite' class Sampletest Test::Unit::TestCase def test_firefox $ie = FireWatir::Firefox.new $ie.goto('http://www.thelancet.com/advancedsearch')

[wtr-general] Re: cannot register window class in IE8

2009-10-22 Thread aidy lewis
Hi Bret, I am getting an unspecified WIN32OLERuntimeError. Not much information, I know. Aidy 2009/10/22 Bret Pettichord b...@pettichord.com: I haven't heard of this. Can your provide a stack trace and complete error message? Bret aidy lewis wrote: Hi, Has anyone received 'cannot

[wtr-general] Re: cannot register window class in IE8

2009-10-22 Thread Jason Trebilcock
Couple of thoughts in the following: http://www.microsoft.com.nsatc.net/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.internetexplorer.betatid=77003381-d793-4236-a6a6-5466c779b85dcat=lang=cr=sloc=p=1 In a nutshell, three potential options: 1. Ctrl-F5 2. Delete temporary internet

[wtr-general] Re: cannot register window class in IE8

2009-10-22 Thread aidy lewis
Jason, Looks like the fireshot plugin for IE. Aidy 2009/10/22 Jason Trebilcock jason.trebilc...@gmail.com: Couple of thoughts in the following:

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

2009-10-22 Thread Charley Baker
Hi all, We have a new version of Watir for testing, 1.6.5.rc2. the release is here with instructions: http://wiki.openqa.org/display/WTR/Development+Builds If you have a chance to take a look at it, let us know. There have been a few changes since the last release candidate, most of those are

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

2009-10-22 Thread Željko Filipin
Moved team page to watir.com. http://watir.com/team/ I think it is important for any project to say who is behind it. If you think anybody/anything should be added/removed/edited, please let me know. Željko --~--~-~--~~~---~--~~ You received this message

[wtr-general] ohloh.net/p/watir

2009-10-22 Thread Željko Filipin
I have spent some time with this today: http://www.ohloh.net/p/watir Take a look. Some interesting statistics about Watir project. Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To

[wtr-general] Testing with Windows 7

2009-10-22 Thread George
Hello, I'm not sure if this has been posted before...with the advent of Windows 7, has anyone tried using their Watir scripts against this OS? Our company is gearing up to do this and just wanted to be ready for whatever comes up. Thanks, George

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

2009-10-22 Thread Bret Pettichord
Can you show us this code? C:/ruby/qa_scripts/OMS/testOrderAck.rb:41 Bret LaurenL wrote: About two weeks ago I stopped being able to run all watir scripts on my machine. I have not updated or changed anything. The same scripts run on a different computer, so I know its not the script.

[wtr-general] Re: Testing with Windows 7

2009-10-22 Thread Ethan
Testing on windows 7 should be about the same as on Vista, if that's what you're on. If you're on XP now, the major change is with process integrity, introduced in Vista. Basically, if you have to navigate to local files you'll have to either disable some security enhancements in IE (by unchecking

[wtr-general] Re: ohloh.net/p/watir

2009-10-22 Thread Bret Pettichord
Željko Filipin wrote: I have spent some time with this today: http://www.ohloh.net/p/watir Take a look. Some interesting statistics about Watir project. This is interesting. You might be interested to see the list of contributors. Please note, however, that I get credit for much of

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

2009-10-22 Thread Wesley Chen
Your this question has taken so much time. I think you still have not described your question clearly enough. For the html code you provided, of course it is easy for us to help you to locate. Please give us the whole page source you failed to locate, and show the error message you got.

[wtr-general] SafariWatir-general mailing list retired

2009-10-22 Thread Tom Copeland
Hi all - In an effort to consolidate things a bit we've shut down the safariwatir-general mailing list and recommended (as a final message to the list) that folks head over here for questions. The archives are here in case someone needs to look around for historical stuff: