Re: [wtr-general] Watir Issue with Japanese characters

2012-11-26 Thread Željko Filipin
On Mon, Nov 26, 2012 at 10:05 AM, Ashok Prabhu ashokprab...@gmail.com wrote: I have a found a way to make this work. Thanks for letting us know. I have noticed similar questions from time to time. Željko -- Before posting, please read http://watir.com/support. In short: search before you

Re: [wtr-general] Watir Issue with Japanese characters

2012-11-25 Thread Ashok Prabhu
Hi Zeljko, I tried to read the japanese characters from an excel sheet. However it does not seem to work. It showing up boxed characters still in internet explorer text_field. Thanks, ~Ashok. On Friday, November 23, 2012 9:27:04 PM UTC+5:30, Željko Filipin wrote: On Fri, Nov 23, 2012 at

[wtr-general] Watir Issue with Japanese characters

2012-11-23 Thread Ashok Prabhu
m using ruby 1.8.6 and watir 1.5.1.1230 for my testing. I m trying to enter some japanese characters into the internet explorer textbox using watir. However I getting a series of boxed characters instead. I tried writing the japanese characters into a file using ruby and it works fine. Please

Re: [wtr-general] Watir Issue with Japanese characters

2012-11-23 Thread Željko Filipin
On Fri, Nov 23, 2012 at 4:18 PM, Ashok Prabhu ashokprab...@gmail.com wrote: m using ruby 1.8.6 and watir 1.5.1.1230 Where did you get that version? It is not on the list here: https://rubygems.org/gems/watir/versions Željko -- https://leanpub.com/watirbook -- Before posting, please read

Re: [wtr-general] Watir Issue with Japanese characters

2012-11-23 Thread Željko Filipin
On Fri, Nov 23, 2012 at 4:18 PM, Ashok Prabhu ashokprab...@gmail.com wrote: m using ruby 1.8.6 and watir 1.5.1.1230 for my testing. I m trying to enter some japanese characters into the internet explorer textbox using watir. However I getting a series of boxed characters instead. Maybe one of

[wtr-general] Watir-Automation on Windows 7 with IE8

2012-11-15 Thread user2085
1 down vote favoritehttp://stackoverflow.com/questions/13386356/watir-automation-on-windows-7-with-ie8# I am trying to run watir scripts on Wndows 7 on IE8 as administrator. Here is problem description: Problem was with below statement(popup windows) popup = Watir::IE.attach(:url,

[wtr-general] Watir, Watir-webdriver giving errors

2012-11-03 Thread sivam
Hi All, Today i have replaced my older version of watir to 4.0.2. After this updation im not able to even open a webpage and i am getting the below error. Error: in `main': uninitialized constant Watir::IE (NameError) Code: require rubygems require 'watir' browser2 =

Re: [wtr-general] Watir, Watir-webdriver giving errors

2012-11-03 Thread Željko Filipin
On Sat, Nov 3, 2012 at 8:01 PM, sivam sivamma...@gmail.com wrote: browser2 = Watir::IE.start(www.example.com) Try this: browser2 = Watir::Browser.start(www.example.com) Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Watir, Watir-webdriver giving errors

2012-11-03 Thread sivam
Thanks for your help. it is working now. On Sunday, 4 November 2012 01:03:39 UTC+5:30, Željko Filipin wrote: On Sat, Nov 3, 2012 at 8:01 PM, sivam sivam...@gmail.com javascript: wrote: browser2 = Watir::IE.start(www.example.com) Try this: browser2 = Watir::Browser.start(www.example.com)

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-11-02 Thread Dinanath Basumatary
Downgrading win-process works On Saturday, 8 September 2012 03:19:04 UTC+5:30, Željko Filipin wrote: On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.comjavascript: wrote: ffi (1.1.5)

[wtr-general] Watir-Classic 3.3.0 Released!

2012-10-27 Thread Jarmo
Hello everyone! I'm happy to announce that Watir-Classic 3.3.0 has been released! Put it into your Gemfile: gem watir-classic, ~ 3.3.0 Or install it manually with: gem install watir-classic Changes: * Add support for optional Element#style property argument, which allows to get specific

[wtr-general] watir-classic Element#style vs watir-webdriver Element#style

2012-10-26 Thread Connor C
Hey Jarmo or whoever else can help :), In the latest wair-classic the Element#style() method works as follows # return the css style as a string def style assert_exists ole_object.style.cssText end but it still doesn't behave like the webdriver version (which takes a

[wtr-general] watir-webdriver not loading page with ajax correctly?

2012-10-25 Thread RJ
Im not sure if its ajax loading or something else (or their site detecting watir?) But this site (groupme.com) keeps timing out. def test_post_message_to_groupme browser.goto 'http://groupme.com' browser.link(:text = 'Log In').click browser.text_field(:id = 'session_phone_number').set

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-10-23 Thread pranay bhagde
Down grading the win32-processes to 0.6.5 really works thanks a lot. On Saturday, 8 September 2012 03:19:04 UTC+5:30, Željko Filipin wrote: On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gi...@gmail.comjavascript: wrote: ffi (1.1.5)

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-10-23 Thread Jarmo Pertman
I'm wondering if the author of win32-process gem is aware of this issue already? If some of you could take some time and create an issue under https://github.com/djberg96/win32-process/issues - that would be awesome :) I'm not on win xp and can't reproduce it. Jarmo Pertman - IT does

[wtr-general] Watir 4.0.1 Released!

2012-10-21 Thread Jarmo
Hello everyone! I'm happy to announce that Watir 4.0.1 has been released. Add this into your Gemfile: gem watir, ~4.0.1 or install it manually with: gem install watir Then in your test file: require watir browser = Watir::Browser.new Changes: * Add support for Watir::Browser.start,

[wtr-general] watir-classic 3.2.0 - issue with file_field in IE9

2012-10-15 Thread Kevin Scott
When using the below code in an IE8 environment with Ruby 1.8.6 Watir 1.6.5 installed - everything works as designed. b.file_field(:id, 'fileName').set('C:\projects\testcases\booksmart\watir\test_data\2010-01-30-XML3.zip') b.button(:name, 'upload').click() When using the same code in an IE9

[wtr-general] Watir article on English Wikipedia

2012-10-12 Thread Željko Filipin
I am updating Watir article on English Wikipedia[1] and I need some help. If you open the page[1] you will see a warning: This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and

[wtr-general] Watir framework using method_missing and ghost methods

2012-10-07 Thread Paul
This is not a question but a share of my latest Watir framework engine code using metaprogramming. In the app under test there are a lot of deeply nested frames and divs, in addition there is lots of javascipt and Ajax going on that can change page layouts often. Every call to a Watir method

Re: [wtr-general] Watir 4.0 Released!

2012-10-05 Thread Željko Filipin
On Sun, Sep 30, 2012 at 5:59 PM, Jarmo jarm...@gmail.com wrote: I'm happy to announce that Watir 4.0 has been released. I have just updated wikipedia article :) http://en.wikipedia.org/wiki/Watir I will create the blog post next week. Željko -- Before posting, please read

Re: [Wtr-development] [wtr-general] Watir 4.0 Released!

2012-10-05 Thread Jarmo
Awesome :) J. On Sat, Oct 6, 2012 at 1:23 AM, Željko Filipin zeljko.fili...@gmail.comwrote: On Sun, Sep 30, 2012 at 5:59 PM, Jarmo jarm...@gmail.com wrote: I'm happy to announce that Watir 4.0 has been released. I have just updated wikipedia article :) http://en.wikipedia.org/wiki/Watir

Re: [Wtr-development] [wtr-general] Watir-Classic 3.2.0 Released!

2012-10-04 Thread Aliaksandr Ikhelis
Hi Jarmo, Thanks for the great news and hard work on this! We have faced an issue with SelectList Option #text() method, it returns an empty string for all options which are not currently selected, because they are... not visible. I am not sure whether it is per design because we are unable to

Re: [Wtr-development] [wtr-general] Watir-Classic 3.2.0 Released!

2012-10-04 Thread Jarmo
Hi Aliaksandr, Yup, that seems to be like a bug caused by watir-webdriver logic of returning an empty text for invisible elements and as you pointed out then option is almost always an invisible element. Please open up an issue in github at https://github.com/watir/watir-classic/issues Thanks!

[wtr-general] Watir 4.0 Released!

2012-09-30 Thread Jarmo
Hello everyone! I'm happy to announce that Watir 4.0 has been released. Install this gem with the following command: gem install watir Then in your test file: require watir browser = Watir::Browser.new Refer to the additional usage at the readme:

[wtr-general] Watir-Classic does not close Javascript Dialog when button onclick event fired

2012-09-30 Thread enroxorz
When I do the following, the Javascript Dialog does not close (in fact, the button click is stuck and does not go any further). Is there a work around? irb(main):001:0 require 'watir-classic' irb(main):002:0 b = Watir::Browser.new irb(main):003:0 b.goto 'file:///c:/test.html' irb(main):004:0

Re: [wtr-general] watir slow performance on a remote selenium grid2

2012-09-25 Thread Jarmo Pertman
One solution would be to use the alternative method described at http://watirwebdriver.com/javascript-dialogs/ Jarmo Pertman - IT does really matter - http://itreallymatters.net On Friday, September 21, 2012 11:28:30 AM UTC+3, Željko Filipin wrote: I would suggest that you send this to

[wtr-general] watir slow performance on a remote selenium grid2

2012-09-21 Thread Thien-An Mac
I have started to point my cucumber/watir-webdriver test suites on our remote grid (hosted on another server, in a different physical location) and the performance is quite dreadful compared to a local grid (ie i'm executing my cucumber scripts on the same machine as the grid). The performance

Re: [wtr-general] watir slow performance on a remote selenium grid2

2012-09-21 Thread Željko Filipin
I would suggest that you send this to wtr-developm...@rubyforge.org Željko -- filipin.eu On Fri, Sep 21, 2012 at 1:42 AM, Thien-An Mac thienan@gmail.com wrote: I have started to point my cucumber/watir-webdriver test suites on our remote grid (hosted on another server, in a different

Re: [wtr-general] Watir-Classic 3.2.0 Released!

2012-09-20 Thread Željko Filipin
On Wed, Sep 19, 2012 at 10:32 PM, Jarmo jarm...@gmail.com wrote: I'm happy to announce that Watir-Classic 3.2.0 has been released! Thanks Jarmo! Everybody, feel free to share the news: http://watir.com/2012/09/20/watir-classic-3-2-0-released/ https://twitter.com/watir/status/248730057814708224

[wtr-general] watir can't find button

2012-09-20 Thread Derek Romeyn
I've been struggling with this today. Some watir/ruby scripting still trips me up.How would I locate and click on this OK button? I've tried using value of OK and I tried finding it using xpath but both just return unable to locate element. Any guidance here would be appreciated.

Re: [wtr-general] watir can't find button

2012-09-20 Thread Željko Filipin
On Thu, Sep 20, 2012 at 3:55 PM, Derek Romeyn rome...@gmail.com wrote: INPUT TYPE=BUTTON VALUE=OK This should work: browser.button(:value = OK).click If the button is in the frame then something like this: browser.frame(:id = frame_id).button(:value = OK).click Željko -- filipin.eu --

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-09-20 Thread Emanuele Mandaglio
It works!! Thank you all for the support Regards, Emanuele Il giorno martedì 18 settembre 2012 10:57:02 UTC+2, Željko Filipin ha scritto: On Tue, Sep 18, 2012 at 1:46 AM, hillary weima...@gmail.com javascript: wrote: so in the end win32-process was the only gem that had to be

[wtr-general] Watir-Classic 3.2.0 Released!

2012-09-19 Thread Jarmo
Hello everyone! I'm happy to announce that Watir-Classic 3.2.0 has been released! Put it into your Gemfile: gem watir-classic Or install it manually with: gem install watir-classic Changes: * Add Element#browser method as an alias for Element#page_container. * Fix SelectList#{select|clear} to

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-09-18 Thread Željko Filipin
On Tue, Sep 18, 2012 at 1:46 AM, hillary weimar1...@gmail.com wrote: so in the end win32-process was the only gem that had to be downgraded. Thanks for letting us know. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-09-17 Thread hexogen
gem uninstall win32-process -v 0.7.0 gem install win32-process -v 0.6.6 -- it works, really thanks~~~ 在 2012年9月14日星期五UTC+8上午3时01分24秒,smile-on写道: I have got exactly same error after upgrade watir (watir-classic) from 3.0.0 to latest and grates 3.1.0 :) After downgrade this problem has

[wtr-general] Watir 4.0.0.rc1 Released!

2012-09-17 Thread Jarmo
Hello everyone! I'm happy to announce that Watir 4.0.rc1 has been released. Please install it with: gem install watir --pre Refer to the usage at the readme: https://github.com/watir/watir/blob/master/README.md All questions, comments or suggestions are welcome. PS! This gem detects

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-09-17 Thread hillary
I also got this issue. It worked with the following gem configuration on my windows7 and xp.sp3 machines: watir-classic 3.1.0 ffi 1.1.5 win32-process 0.6.6 so in the end win32-process was the only gem that had to be downgraded. On Friday, September 7, 2012 2:49:04 PM UTC-7, Željko Filipin

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-09-15 Thread Jarmo Pertman
I can see that you've uninstalled win32-process too, but didn't touch ffi gem. If you're using win32-process -v 0.6.6 with watir-classic -v 3.1.0 what happens? What version of ffi are you using? Jarmo On Thursday, September 13, 2012 10:01:24 PM UTC+3, smile-on wrote: I have got exactly same

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-09-15 Thread Jarmo Pertman
Also, what is the error message when you use the following code: browser = Watir::IE.new Jarmo On Saturday, September 15, 2012 9:48:38 PM UTC+3, Jarmo Pertman wrote: I can see that you've uninstalled win32-process too, but didn't touch ffi gem. If you're using win32-process -v 0.6.6 with

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-09-13 Thread ppilotte
I get the same error message on Windows XP SP3. Anyone has fond a fix or workaround for this? Thanks. ppilotte -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-09-13 Thread smile-on
I have got exactly same error after upgrade watir (watir-classic) from 3.0.0 to latest and grates 3.1.0 :) After downgrade this problem has gone. downgrade steps: gem uninstall watir-classic -v 3.1.0 gem install watir-classic -v 3.0.0 gem uninstall win32-process -v 0.7.0 gem install

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-09-10 Thread Emanuele Mandaglio
Thank you for the support. I've tried to downgrade the ffi gem but it still doesn't work. Here's the result: 1.1.5 : not work 1.1.4 : not work 1.1.3 : not work 1.1.2 : not work 1.1.1 : not work 1.1.0 : not work 1.0.11 : not work The previous versions gives me a compilation error... The error

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-09-08 Thread Pierre-yves motreff
Hello, This code below works for me on xp sp3, dunno rly why :) begin ie = Watir::IE.new rescue Exception e begin ie = Watir::Browser.new rescue Exception e puts #{e} end end Regards, Le vendredi 7 septembre 2012 23:49:04 UTC+2, Željko Filipin a écrit : On Fri, Sep 7, 2012 at

Re: [wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-09-07 Thread Željko Filipin
On Fri, Sep 7, 2012 at 5:15 PM, Emanuele Mandaglio e.gia...@gmail.com wrote: ffi (1.1.5) C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.1.0/lib/watir-classic/browser.rb:89:in `eval': Function '_get_errno' not found in [msvcrt.dll] (FFI::NotFoundError) This looks like a problem with ffi

Re: [wtr-general] watir web driver not working after upgrading ruby and ruby gems and installation of RVM...Please need help

2012-08-28 Thread Željko Filipin
On Tue, Aug 28, 2012 at 3:23 AM, goka priyanka priyankag...@gmail.com wrote: gem search watir *** LOCAL GEMS *** Looks like you did not install watir-webdriver gem. Follow the instructions: https://github.com/zeljkofilipin/watirbook/blob/master/installation/mac.md Željko -- filipin.eu --

Re: [wtr-general] watir web driver not working after upgrading ruby and ruby gems and installation of RVM...Please need help

2012-08-27 Thread goka priyanka
$ gem search watir *** LOCAL GEMS *** gala:~ p$ watir-webdriver -bash: watir-webdriver: command not found This is the message that iam seeing kindly help me!!! On Saturday, August 25, 2012 4:13:37 PM UTC-4, Željko Filipin wrote: On Sat, Aug 25, 2012 at 3:57 AM, goka priyanka

Re: [wtr-general] watir web driver not working after upgrading ruby and ruby gems and installation of RVM...Please need help

2012-08-25 Thread Željko Filipin
On Sat, Aug 25, 2012 at 3:57 AM, goka priyanka priyankag...@gmail.com wrote: 1.9.3p194 :001 require 'Watir-webdriver' LoadError: cannot load such file -- Watir-webdriver What do you get if you run this in terminal? gem search watir Also, Ruby cares about case, try this: require

Re: [wtr-general] Watir-Classic 3.1.0 Released!

2012-08-22 Thread Željko Filipin
On Mon, Aug 20, 2012 at 1:31 PM, Jarmo jarm...@gmail.com wrote: I'm happy to announce that another version of Watir-Classic has just been released - 3.1.0. I have created a blog post: http://watir.com/2012/08/22/watir-classic-3-1-0-released/ And linked it on a few social networks, so feel free

[wtr-general] Watir on Win7 x64 IE 9 - problems going to Yahoo

2012-08-21 Thread Chad Larkin
I'm running into an interesting issue setting up a Watir env on Win7 x64 with IE9. When using the goto statement in IRB to goto yahoo.com I am getting an undefined method error. the steps in IRB are: require 'rubygems' require 'watir' $b=Watir::Browser.new $b.goto('http://www.yahoo.com') the

[wtr-general] Watir-Classic 3.1.0 Released!

2012-08-20 Thread Jarmo
Hello everyone! I'm happy to announce that another version of Watir-Classic has just been released - 3.1.0. Changelog: * Add Browser#name, which returns :ie. * Add Dl#to_hash. * Add support for Alert API ( https://github.com/watir/watirspec/blob/master/alert_spec.rb). * Add support for

[wtr-general] WATIR hourly help wanted - small project

2012-08-03 Thread rheoled
Hi All, I am looking for help updating some Watir scripts on an hourly rate basis. This is a small project (less than 10 hours?) which could potentially lead to more at a later date. If you're interested, please send me an email including your contact info, availability, and your hourly rate

[wtr-general] Watir Version

2012-08-01 Thread Sohail Mirza
Hi, What are the different versions of Watir available? i just tried following and somehow come to know that watir version 1 is installed on my machine. Is it the latest one? * * *C:\ruby -e 'require watir; puts Watir::IE::VERSION'* *-e:1:in `main': uninitialized constant Watir::IE::VERSION

Re: [wtr-general] Watir Version

2012-08-01 Thread Željko Filipin
On Wed, Aug 1, 2012 at 8:26 AM, Sohail Mirza mrz...@gmail.com wrote: What are the different versions of Watir available? Take a look at the list: https://rubygems.org/gems/watir/versions I think versions from 3.0 will be listed here: https://rubygems.org/gems/watir-classic/versions i just

[wtr-general] WATIR can't find links or buttons on parent page after switching back from frame

2012-07-31 Thread Julian
I'm on Ubuntu Linux/Firefox 13 and WATIR. I have a Webpage that contains links to about 16 iframes.. all linked like this Clicking 11 will bring up an iframe that has both a name and id equal to page_11 a href=javascript:nextPage(8);9/a a href=javascript:nextPage(9);10/a a

[wtr-general] Watir Framework?

2012-07-28 Thread Sohail Mirza
Hi, I just wanted to know which is the best Watir Framework for automating web application? Any example available on github? Which is the best IDE for Watir script development? Thanks Sohail -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Watir Framework?

2012-07-28 Thread Željko Filipin
On Sat, Jul 28, 2012 at 3:11 PM, Sohail Mirza mrz...@gmail.com wrote: I just wanted to know which is the best Watir Framework for automating web application? Any example available on github? I could not guarantee that it is the best, but I prefer page-object gem:

Re: [wtr-general] Watir Framework?

2012-07-28 Thread Sohail Mirza
Željko Thanks for your comment... Could you more explain page-object gem? How to setup page-object gem? Could you give some link reference where i can find more details about page-object gem? Thanks On Sat, Jul 28, 2012 at 5:14 PM, Željko Filipin zel...@filipin.eu wrote: On Sat, Jul 28, 2012

Re: [wtr-general] Watir Framework?

2012-07-28 Thread Željko Filipin
On Sat, Jul 28, 2012 at 3:30 PM, Sohail Mirza mrz...@gmail.com wrote: Could you more explain page-object gem? How to setup page-object gem? Could you give some link reference where i can find more details about page-object gem? https://github.com/cheezy/page-object

Re: [wtr-general] Watir Framework?

2012-07-28 Thread Sohail Mirza
seems not able to get the point from where to start... do you have something to help me out on this... I wanted to have following folder structure ObjectRepositry (should contains object repositry file and i have no idea how to make OR here in watir) Library (should contains library code) Data

Re: [wtr-general] Watir Framework?

2012-07-28 Thread Oscar Rieken
to help you to figure out where to go next. -- *From:* Sohail Mirza mrz...@gmail.com *To:* watir-general@googlegroups.com *Sent:* Saturday, July 28, 2012 12:50 PM *Subject:* Re: [wtr-general] Watir Framework? seems not able to get the point from where to start

[wtr-general] Watir-webdriver doesnt store all cookies

2012-07-26 Thread Sridhar S
When I go to the following link on firefox (V-12), the browser on my Ubuntu machine allows me to login normally. https://r.espn.go.com/members/v3_1/login?language=enforwardUrl=appRedirect=http%3A%2F%2Fgames.espn.go.com However, if I use watir-webdriver, I get the message: Cookies must be

Re: [wtr-general] watir

2012-07-26 Thread mani racha
Thanks Zeljko..its working On Wednesday, 11 July 2012 18:47:48 UTC+5:30, Željko Filipin wrote: On Wed, Jul 11, 2012 at 3:09 PM, mani racha manira...@gmail.com wrote: browser.select_list(:id,...).set( ) browser.select_list(:id,' ').select_item_in_select_list(:index,2) #set and

[wtr-general] watir-webdriver behind proxy error

2012-07-24 Thread leder
Hello all, I have an issue with 'watir-webdriver'. Windows and FF are configured for proxy usage. BTW: IE with 'watir' works fine, but I'd like to see FF running :-( But when I start the following: require 'watir-webdriver' browser = Watir::Browser.new :ff

Re: [wtr-general] watir/ruby in Jenkins

2012-07-21 Thread Bill Agee
On Fri, Jul 20, 2012 at 1:24 PM, Ry crossan...@gmail.com wrote: I just wanted to thank everyone. I did come across and used your article at some point Zeljko, very well written and informative. I was able to learn a few things from it. Bill's comment got me to my goal though, I was using

Re: [wtr-general] Watir is compatible with UNIX ?

2012-07-20 Thread Sophia Sunitha
Thanks for your response... Sophia On Friday, July 6, 2012 1:08:59 PM UTC+5:30, Željko Filipin wrote: On Fri, Jul 6, 2012 at 6:43 AM, Sophia Sunitha sophia.joac...@gmail.com wrote: Can Watir be installed on UNIX OS??? I by unix you mean linux or mac, then take a look at these links:

Re: [wtr-general] Watir is compatible with UNIX ?

2012-07-20 Thread Sophia Sunitha
Thanks Dan. On Friday, July 6, 2012 6:31:22 PM UTC+5:30, Dan wrote: I've used watir-webdriver on Open Suse, Scientific Linux, Centos and Fedora, in addition to the OSses Željko mentoined without any issues. On Friday, July 6, 2012 3:38:59 AM UTC-4, Željko Filipin wrote: On Fri, Jul

Re: [wtr-general] watir/ruby in Jenkins

2012-07-20 Thread Ry
I just wanted to thank everyone. I did come across and used your article at some point Zeljko, very well written and informative. I was able to learn a few things from it. Bill's comment got me to my goal though, I was using window's service. I stopped that and have generated Jenkins through

Re: [wtr-general] watir/ruby in Jenkins

2012-07-18 Thread Željko Filipin
On Tue, Jul 17, 2012 at 4:06 PM, Ry crossan...@gmail.com wrote: Just double checked and yes the script works when launching from desktop, Ruby bash, or Windows bash. I guess I was not explicit. Are you saying watir 3.0.rc was running fine from Jenkins, and watir 3.0 does not? I had some fun

Re: [wtr-general] watir/ruby in Jenkins

2012-07-17 Thread Željko Filipin
On Tue, Jul 17, 2012 at 3:29 AM, Ry crossan...@gmail.com wrote: Yes I was previously on Watir 3.0 r3 Does the script work fine with that Watir version? Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] watir/ruby in Jenkins

2012-07-17 Thread Ry
On Tuesday, July 17, 2012 12:48:28 AM UTC-7, Željko Filipin wrote: On Tue, Jul 17, 2012 at 3:29 AM, Ry crossan...@gmail.com wrote: Yes I was previously on Watir 3.0 r3 Just double checked and yes the script works when launching from desktop, Ruby bash, or Windows bash. Does the script

Re: [wtr-general] watir/ruby in Jenkins

2012-07-17 Thread Bill Agee
C:/Ruby193/lib/ruby/gems/1.9.1/gems/rautomation-0.7.2/lib/rautomation/window.rb:226:in `rescue in wait_until_present': Window with locator {:index=0, :hwnd=262394} doesn't exist or is not visible! (RAutomation::UnknownWindowException) Since the exception seems to be in a part of the test

Re: [wtr-general] watir/ruby in Jenkins

2012-07-17 Thread Ry
Thank you so much for that information.. I am already reading into the wiki links you attached. I wonder though if there is a better product to run automation with Watir in a windows enviroment than Jenkins? or just better to go with Linux and run headless? On Tuesday, July 17, 2012

Re: [wtr-general] watir/ruby in Jenkins

2012-07-17 Thread Bill Agee
On Tue, Jul 17, 2012 at 9:34 AM, Ry crossan...@gmail.com wrote: Thank you so much for that information.. I am already reading into the wiki links you attached. I wonder though if there is a better product to run automation with Watir in a windows enviroment than Jenkins? or just better to

Re: [wtr-general] watir/ruby in Jenkins

2012-07-16 Thread Ry
Yes I was previously on Watir 3.0 r3 I found some articles relating to .net and I had done a .net 4.0 install that day. I uninstalled all that and rebooted. I did a rebuild and new error in log relating to not seeing my content basically. Is there a trick to getting the browser to launch with

Re: [wtr-general] watir/ruby in Jenkins

2012-07-14 Thread Željko Filipin
On Fri, Jul 13, 2012 at 10:32 PM, Ry crossan...@gmail.com wrote: I just updated my watir to latest, but script is failing in jenkins build. Please provide the code that causes the error message. From what version of watir did you upgrade to 3.0? You can uninstall old versions of watir gem with

[wtr-general] watir/ruby in Jenkins

2012-07-13 Thread Ry
I just updated my watir to latest, but script is failing in jenkins build. the log looks like its still trying to use classic watir and rautomation 0.7.2? is that right? do I need to do something to force my script to use the newest watir 3.0.0?

Re: [wtr-general] watir/ruby in Jenkins

2012-07-13 Thread John Fitisoff
13, 2012 1:32 PM Subject: [wtr-general] watir/ruby in Jenkins I just updated my watir to latest, but script is failing in jenkins build. the log looks like its still trying to use classic watir and rautomation 0.7.2? is that right? do I need to do something to force my script to use the newest

[wtr-general] watir

2012-07-11 Thread mani racha
Hi all, I am new to watir...I am getting problem while accessing the item in the select list in my application. I have tried the command browser.select_list(:id,...).set( ) browser.select_list(:id,' ').select_item_in_select_list(:index,2) but tired to get it.. Please help me...Thank you in

Re: [wtr-general] watir

2012-07-11 Thread Oscar Rieken
http://watir.com/examples/ On Wed, Jul 11, 2012 at 9:09 AM, mani racha manira...@gmail.com wrote: Hi all, I am new to watir...I am getting problem while accessing the item in the select list in my application. I have tried the command browser.select_list(:id,...).set( )

Re: [wtr-general] watir

2012-07-11 Thread Željko Filipin
On Wed, Jul 11, 2012 at 3:09 PM, mani racha manira...@gmail.com wrote: browser.select_list(:id,...).set( ) browser.select_list(:id,' ').select_item_in_select_list(:index,2) #set and #select_item_in_select_list methods do not exist for select lists. Try browser.select_list.select More

[wtr-general] Watir is compatible with UNIX ?

2012-07-06 Thread Sophia Sunitha
Can Watir be installed on UNIX OS??? Thanks in advance. Regards, Sophia -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general

Re: [wtr-general] Watir is compatible with UNIX ?

2012-07-06 Thread Dan
I've used watir-webdriver on Open Suse, Scientific Linux, Centos and Fedora, in addition to the OSses Željko mentoined without any issues. On Friday, July 6, 2012 3:38:59 AM UTC-4, Željko Filipin wrote: On Fri, Jul 6, 2012 at 6:43 AM, Sophia Sunitha sophia.joac...@gmail.com wrote: Can

[wtr-general] Watir wait until key pressed

2012-06-28 Thread Alex Rudnitsky
Hello, Is it possible to make Watir wait until some special key is pressed? I'm doing browser automation, and there are some moments that requires manual verification. I want to Watir to do a pause and when I press a special key - to make Watir go ahead doing the next steps. How to make it

Re: [wtr-general] Watir wait until key pressed

2012-06-28 Thread Željko Filipin
On Thu, Jun 28, 2012 at 9:46 AM, Alex Rudnitsky person...@gmail.com wrote: I want to Watir to do a pause and when I press a special key - to make Watir go ahead doing the next steps. You can use ruby's #gets method: http://www.ruby-doc.org/core-1.9.3/IO.html#method-i-gets Example: $ irb

Re: [wtr-general] Watir / Ajax question

2012-06-15 Thread Oscar Rieken
looks like you are not finding your iframe C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/elemen t.rb:66:in `assert_exists': *Unable to locate element, using {:tag_name=[frame* *, iframe], :name=store}* (Watir::Exception::UnknownFrameException) On Fri, Jun 15, 2012 at

Re: [wtr-general] Watir / Ajax question

2012-06-15 Thread Chuck van der Linden
This also appears to be a duplicate of a very similar question she posted 2 hours prior.. On Friday, June 15, 2012 12:35:19 PM UTC-7, Oscar.Rieken wrote: looks like you are not finding your iframe C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.0.0/lib/watir-classic/elemen

Re: [wtr-general] watir ruby: cannot write double-byte characters in IE

2012-06-13 Thread Željko Filipin
On Wed, Jun 13, 2012 at 5:02 AM, Doris Tian 895512...@qq.com wrote: Because our team is a very old team, the automation scripts were written years ago, so the Ruby and Watir's version are too old. Makes sense now. I am in the same situation with one of my clients. I remember old versions of

Re: [wtr-general] watir ruby: cannot write double-byte characters in IE

2012-06-13 Thread Doris Tian
Thanks for your quick reply. I viewed the link carefully and also didn't know how to solve this problem. In the link page you provided is actually the same issue with mine, but I store the data in the XML, and that is in EXCEL. I still don't know the main reason and how to solve this issue.

Re: [wtr-general] watir ruby: cannot write double-byte characters in IE

2012-06-13 Thread Željko Filipin
On Wed, Jun 13, 2012 at 10:31 AM, Doris Tian 895512...@qq.com wrote: Could you give me some detail solutions. Sorry, but no. I think that was the last time I had to deal with that. I think the newer versions of ruby (1.9.x) have that problem solved. Željko -- Before posting, please read

Re: [wtr-general] watir ruby: cannot write double-byte characters in IE

2012-06-13 Thread Doris Tian
Ok, thank you very much, I will continue to research on it. Best Regards Doris On Thursday, June 14, 2012 4:38:09 AM UTC+8, Željko Filipin wrote: On Wed, Jun 13, 2012 at 10:31 AM, Doris Tian 895512...@qq.com wrote: Could you give me some detail solutions. Sorry, but no. I think that was

Re: [wtr-general] watir ruby: cannot write double-byte characters in IE

2012-06-12 Thread Doris Tian
On Monday, June 11, 2012 3:34:59 PM UTC+8, Željko Filipin wrote: On Mon, Jun 11, 2012 at 3:28 AM, 895512...@qq.com 895512...@qq.com wrote: I'm using watir 1.8.6 and ruby 1.5.2. Why are you using so old versions of Ruby and Watir? The current version or Ruby is 1.9.3 and Watir 3.0.

Re: [wtr-general] watir ruby: cannot write double-byte characters in IE

2012-06-12 Thread Doris Tian
Thanks for your reply, This issue is really confused me, I need to finish the task in one week and the task is blocked by this issue. Because our team is a very old team, the automation scripts were written years ago, so the Ruby and Watir's version are too old. Do you know the main reason?

[wtr-general] watir ruby: cannot write double-byte characters in IE

2012-06-11 Thread 895512...@qq.com
I'm a newer to watir and ruby, recently I got a very confused question: how can I write a double-byte character to the IE. I'm using watir 1.8.6 and ruby 1.5.2. I put the data in the XML, and I get the data from the XML file, and then using the @ie.text_field(:id, 'question_box').set(str), then

Re: [wtr-general] watir specific version installtion.

2012-05-09 Thread Željko Filipin
On Wed, May 9, 2012 at 1:39 AM, Bhavesh bhavesh1_sha...@yahoo.com wrote: there is no .exe file too. The only exe file we had was for watir 1.4.1 and that was back in 2005: http://rubyforge.org/frs/?group_id=104 So is there a way by which we can install specific version of watir? Sure. For

[wtr-general] Watir with RubyMine and Opera

2012-05-09 Thread Tom Initsix
Hi, Im trying to get watir to launch opera from RubyMine but i get the classic `selenium_server_jar': Unable to find the Selenium server jar. Please download the standalone server...blahblahblah error when i run it. It works if i launch opera from irb so it must be something to do with

Re: [wtr-general] Watir with RubyMine and Opera

2012-05-09 Thread Željko Filipin
On Wed, May 9, 2012 at 11:05 PM, Tom Initsix t...@initsix.co.uk wrote: It works if i launch opera from irb so it must be something to do with RubyMine's config. I would suggest that you ask at rubymine support forum, since it looks like the problem is there. Željko -- watir.com/book - author

[wtr-general] watir specific version installtion.

2012-05-08 Thread Bhavesh
Hi Right now if i install watir gem, it install 3.0.x there is no .exe file too. So is there a way by which we can install specific version of watir? Can we list how many version are available? Please suggest. Bhavesh -- Before posting, please read http://watir.com/support. In short:

[wtr-general] Watir 3 with ruby 1.8.7 and Ie9 and jquery

2012-05-01 Thread mkernaghan
I cannot get some links and buttons to click in a jquery up in ie9 scripts work fine in ie8 i switched to watir 3.0 but it is still a problem i could not get ruby 1..9.2 working because of issues with devkit but watir 3 with this older ruby works fine for my other applications for now i have

[wtr-general] Watir 3.0 - innerText method missing?

2012-04-28 Thread mkernaghan
I have switched to Ruby 1.9.2 and Watir 3.0 in order to cope with being forced to use IE9. But my current scripts break on undefined method `innerText' for #Watir::Link:0x4141350 what am I missing? -- Before posting, please read http://watir.com/support. In short: search before you ask, be

[wtr-general] watir/testcase in WATIR 3

2012-04-25 Thread AQUA
Hi All, I have been working on WATIR 2.0.4 since last 6 months and now as WATIR is updated to 3, I cant find watir/testcase in the commonwatir folder. Seems as if watir/testcase has not been included in the latest WATIR version. Can any one help me out of this. And is their any way to by which I

<    1   2   3   4   5   6   7   8   9   >