Re: [wtr-general] watir-webdriver / chrome / ubuntu 11.01 11.10a

2011-08-27 Thread Kyle Korbel
Okay. I'll have to look that up. Thanks for the hint. I did install the official google chrome package and it did work with that. On Sat, Aug 27, 2011 at 2:46 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: Jari said webdriver should be able to drive both chrome and chromium, there

[wtr-general] watir-webdriver can not work on chrome with Browser.windows

2011-08-26 Thread ge bt
Dear: My environment is ruby1.8.7 ,watir2.01 . watir-webdriver0.3.2 windowsxp sp3 .I use the function browser.window(:url=/my.jsp/).use do browser.radio(:index,0).click end to operating the popu window by chrome and I have got a error message when the function is over

[wtr-general] watir: how to select li link with id from a jquery dynamic list

2011-08-26 Thread mo10soccer
Using Watir 2.0, Ruby 1.8.7: I have a dynamic Div that contains div id=industry class=modal dl id=SomeID class=first dtsomeText/dt dd ul li id=someID1 a href=# class=selectedsomeText/a li id=someID2 a href=#SomeText/a This list is in a modal jquery pop up form. So I want to click on any li. and

Re: [wtr-general] watir 2.0.1 table rows method broken

2011-08-26 Thread Michael
Thanks for the update and workaround Alister. I'll add the 'if Watir do it that way, else do it the compatible way' to my code. I'll look forward to a fix in a future version of Watir. :-) On 2011-08-24, at 7:48 PM, Alister Scott wrote: Yeah, it looks bust. You can use:

[wtr-general] watir-webdriver / chrome / ubuntu 11.01 11.10a

2011-08-24 Thread Kyle Korbel
Hello all, I am having a small issue using the chrome browser with Ruby and the Watir-webdriver. Has any one else had this issue? I cannot figure it out. I have it up and running on a Win 7 box but not on my Linux machines. I get the same error with both. I listed it below. One box is Ubuntu

[wtr-general] watir 2.0.1 table rows method broken

2011-08-24 Thread Michael
I've created this bug report for an issue I am seeing, curious if anyone else has run into the same issue or is it just my environment? I completely removed ruby today to start completely fresh, and it still occurs. http://jira.openqa.org/browse/WTR-486 Summary: The rows/trs method on a table

[wtr-general] Watir support for Ruby 1.9.2?

2011-08-22 Thread Alister Scott
Hi, Does Watir 2.0.1+ support Ruby 1.9.2? Just updating watir.com and would like to know. Cheers, Alister -- 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

[wtr-general] watir-webriver won't create a Watir::Browser for Firefox 6.0

2011-08-17 Thread Tony Zanella
Using Ubuntu Natty Narwhal, I just updated my Firefox to Firefox 6.0 today. Now, watir-webdriver will not follow through on creating Watir::Browser.new :firefox $ gem list --local | grep watir-webdriver watir-webdriver (0.3.1) Everything is OK with chrome: $ irb ruby-1.8.7-p352 :001 require

Re: [wtr-general] watir-webriver won't create a Watir::Browser for Firefox 6.0

2011-08-17 Thread Jari Bakken
On Wed, Aug 17, 2011 at 9:39 PM, Tony Zanella tony.zane...@gmail.comwrote: Any suggestions, short of downgrading Firefox? Upgrade selenium-webdriver to 2.4.0. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] [Watir-Webdriver] Carriage Returns

2011-08-16 Thread Jari Bakken
On Tue, Aug 16, 2011 at 2:11 AM, hillary weimar1...@gmail.com wrote: But when i tried this in web-driver it doesn't anymore. It enters text but the values are no longer separated by a carriage return. I've tried everything in this

Re: [wtr-general] [Watir-Webdriver] Carriage Returns

2011-08-16 Thread hillary
I tried your solution and it didn't work. I also tried something like this 44F5DED9\n\n3160E198 without using send_keys and it sets the text field like this 44F5DED93160E198. Here's the html textarea id=TextBoxFilterAccountItemID cols=50 rows=5/textarea I'm not sure why it prevents

Re: [wtr-general] [Watir-Webdriver] Carriage Returns

2011-08-16 Thread Jari Bakken
On Tue, Aug 16, 2011 at 7:02 PM, hillary weimar1...@gmail.com wrote: I tried your solution and it didn't work. Does this mean you ran the code from my link and it did not work? I'm not sure why it prevents up/down/return. It could be just an expanded text field, would that make a

Re: [wtr-general] [Watir-Webdriver] Carriage Returns

2011-08-16 Thread hillary
Yes I tried the code from your script and it didn't work. This is my code. require 'rubygems' require 'watir-webdriver' browser = Watir::Browser.new :ie begin browser.goto mysite #Login to the Application #Click the Sign In button browser.button(:id, btn_sign_in).click

[wtr-general] [Watir-Webdriver] Carriage Returns

2011-08-15 Thread hillary
I have a text area that allows the user to copy and past from a file values that are separated by a carriage return like this: a b c In watir, this code worked: b.text_field(:id, x).set(a b c) But when i tried this in web-driver it doesn't anymore. It enters text but the values are no

Re: [wtr-general] Watir 2.0 Released

2011-08-11 Thread Željko Filipin
On Wed, Aug 10, 2011 at 5:15 PM, Jarmo jarm...@gmail.com wrote: Today is the day when Watir 2.0 is released. And if you want to link somewhere, there is a blog post too: http://watir.com/2011/08/11/watir-2-0/ Jarmo, thanks for the new release! :) Željko -- watir.com - community manager

Re: [wtr-general] watir-webdriver, validating a save confirmation message

2011-08-10 Thread Željko Filipin
On Wed, Aug 10, 2011 at 1:41 AM, hillary weimar1...@gmail.com wrote: The issue seems to be text. I did not understand the problem. Željko -- watir.com - community manager watir.com/book - author watirpodcast.com - host -- Before posting, please read http://watir.com/support. In short: search

Re: [wtr-general] watir-webdriver, validating a save confirmation message

2011-08-10 Thread hillary
I forgot the last part. When it validates the text in web-driver it returns , when I'm expecting it to return Saved. so it fails. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] watir-webdriver, validating a save confirmation message

2011-08-10 Thread hillary
I forgot the last part. When it validates the text in web-driver it returns , when I'm expecting it to return Saved. so it fails. So the problem seems to be that it's not picking up on the correct text. -- Before posting, please read http://watir.com/support. In short: search before you

[wtr-general] Watir 2.0 Released

2011-08-10 Thread Jarmo
Hello! Today is the day when Watir 2.0 is released. Finally we have 0-based indexing as in Watir-WebDriver. Plan is to have better compatibility with Watir-WebDriver with each next release. Let's see how it goes. Here is the full changelog: * RIP FireWatir - there won't be any new releases due

[wtr-general] Watir 2.0.1 Released

2011-08-10 Thread Jarmo
Hello! This should be the fastest release ever! This release aims to fix critical problems with Ruby 1.9.2: * fixed Watir::IE#close for Ruby 1.9.2 - fixes http://jira.openqa.org/browse/WTR-481 * fixed locating elements on Ruby 1.9.2 `gem install watir` to enjoy it. Jarmo -- Before posting,

[wtr-general] watir-webdriver, validating a save confirmation message

2011-08-09 Thread hillary
When a user saves changes, a save confirmation message pops up and then fades away. I was able to validate that 1) it exists 2) the text says Saved. 3) it's color like this in watir: browser.button(:id, Some Button).fire_event(onClick) #Assertion browser.div(:id,

[wtr-general] watir-webdriver: Validating the Color of an element

2011-08-08 Thread hillary
When there's an error, the application i'm testing changes the color of the element, a text_field, changes to red. Currently I validate that the text_field is red like this: b.text_field(:id, text_field).document.currentstyle.color.should == '#444' I also will did to validate the color of a

Re: [wtr-general] watir-webdriver: Validating the Color of an element

2011-08-08 Thread Jari Bakken
WebDriver doesn't give direct access Den 8. aug. 2011 kl. 20:34 skrev hillary weimar1...@gmail.com: When there's an error, the application i'm testing changes the color of the element, a text_field, changes to red. Currently I validate that the text_field is red like this: b.text_field(:id,

Re: [wtr-general] watir-webdriver: Validating the Color of an element

2011-08-08 Thread Jari Bakken
WebDriver doesn't give direct access to the underlying DOM object like other implementations. Instead you can use b.text_field(:id, text_field).style(color). Den 8. aug. 2011 kl. 20:34 skrev hillary weimar1...@gmail.com: When there's an error, the application i'm testing changes the color of the

Re: [wtr-general] watir-webdriver: Validating the Color of an element

2011-08-08 Thread hillary
Thanks. Just to confirm, the color would be it's html value (#444), so it'd be .style(#444)? -- 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-webdriver: Validating the Color of an element

2011-08-08 Thread Jari Bakken
No, .style returns the value of the given CSS property. So .style(color).should == #444. Den 8. aug. 2011 kl. 21:38 skrev hillary weimar1...@gmail.com: Thanks. Just to confirm, the color would be it's html value (#444), so it'd be .style(#444)? -- Before posting, please read

Re: [wtr-general] watir-webdriver: Validating the Color of an element

2011-08-08 Thread hillary
Okay. Thanks. -- 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 watir-general+unsubscr...@googlegroups.com

[wtr-general] Watir framework

2011-08-03 Thread Gaurang
I have write the custom framework using ruby test-unit. I want feedback from you people. http://qtp-help.blogspot.com/2011/08/watir-framework.html -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] watir-webdriver headless browser setup

2011-08-01 Thread Dan Claudiu Pop
Hello, I have the following setup: elsif ENV[HEADLESS] then include Selenium server = Selenium::Server.new(C:/Users/dan.pop/RubymineProjects/xxx/ features/support/selenium-server-standalone-2.2.0.jar, :background = true) server.start capabilities =

Re: [wtr-general] watir-webdriver headless browser setup

2011-08-01 Thread Jari Bakken
On Mon, Aug 1, 2011 at 5:30 PM, Dan Claudiu Pop danclaudiu...@gmail.com wrote: ... when i run my tests with Headless profile i receive the following error: The stack trace looks very much like a bug in HtmlUnit. Celerity's version of HtmlUnit may be newer than WebDriver's. However, it would

Re: [wtr-general] Watir webdriver connection timeout

2011-07-29 Thread Jari Bakken
See the section on Internal Timeouts here: http://code.google.com/p/selenium/wiki/RubyBindings#Timeouts Den 29. juli 2011 kl. 04:54 skrev Dan dfra...@gmail.com: Is there a configuration for how long Watir-webdriver waits for a response? I'm trying to upload a rather large file and the response

Re: [wtr-general] Watir webdriver connection timeout

2011-07-29 Thread Dan
Exactly what I was looking for. Thanks! -- 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 watir-general+unsubscr...@googlegroups.com

Re: [wtr-general] Watir webdriver connection timeout

2011-07-29 Thread Dan
Exactly what I was looking for Jari. Thanks! -- 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 watir-general+unsubscr...@googlegroups.com

[wtr-general] Watir is slow with nested frames

2011-07-28 Thread JMI
I examine the possibility of using Watir to automate my AUT which uses nested frames. To my deception I found that Watir is very slow to act on elements that are located in deeply nested frames. For example, to set a text field within the seventh frame, Watir needs some 15 seconds, while to

[wtr-general] Watir webdriver connection timeout

2011-07-28 Thread Dan
Is there a configuration for how long Watir-webdriver waits for a response? I'm trying to upload a rather large file and the response takes at least over a minute and I keep getting a timeout error from watir. Everything I search for timeout wise is related to waiting for an element to

Re: [wtr-general] Watir webdriver connection timeout

2011-07-28 Thread Lei Zhu
actually, sleep #{duration} which duration is calculated as seconds -- Lei Zhu On Friday, July 29, 2011 at 10:54 AM, Dan wrote: Is there a configuration for how long Watir-webdriver waits for a response? I'm trying to upload a rather large file and the response takes at least over a

Re: [wtr-general] Watir 2.0.0.rc2 released

2011-07-25 Thread Jari Bakken
On Sun, Jul 24, 2011 at 11:53 PM, Jarmo jarm...@gmail.com wrote: Good news everyone! I've found some time to play with Watir and managed to release a new version - 2.0.0.rc2 (rc1 had buggy dependency, sorry)! There are some big changes including 0-based-indexing, which is enabled by default

Re: [wtr-general] Watir 2.0.0.rc2 released

2011-07-25 Thread Alister Scott
I am having a play around with this on Win7/Ruby 1.9.2, but can't get very far. What am I doing wrong? irb(main):001:0 require 'watir' = true irb(main):002:0 b = Watir::Browser.new = #Watir::IE:0x..f90492b14 url=about:blank title= irb(main):003:0 b.goto 'www.google.com' = 1.363929

Re: [Wtr-development] [wtr-general] Watir 2.0.0.rc2 released

2011-07-25 Thread Jarmo
Don't use Ruby 1.9.2 right now since it is related with other bugs related with 1.9.2. Didn't want to fix those at the moment to avoid even bigger changes. Jarmo On Mon, Jul 25, 2011 at 2:59 PM, Alister Scott alister.sc...@gmail.comwrote: I am having a play around with this on Win7/Ruby 1.9.2,

Re: [wtr-general] Watir 2.0.0.rc2 released

2011-07-25 Thread Chuck van der Linden
So just to be clear, at this point for Watir 2.0.0 what would be our 'recommended' version of Ruby, and which versions would be 'supported'? (in that context I consider: 'supported' = should work, may have been tested; 'recommended' = 'tested' and likely to work 'best' and/or used by watir

[wtr-general] Watir 2.0.0.rc2 released

2011-07-24 Thread Jarmo
Good news everyone! I've found some time to play with Watir and managed to release a new version - 2.0.0.rc2 (rc1 had buggy dependency, sorry)! There are some big changes including 0-based-indexing, which is enabled by default and not releasing new versions of FireWatir. Also, all collection

[wtr-general] Watir-Webdriver and target=_blank

2011-07-15 Thread Abe Heward
While using watir-webdriver and driving Firefox 5, if I click a link... *browser.link(:how, what).click* ...and that link that has a *target=_blank* in it, then instead of opening the page in a new tab (which is what happens if I click it manually), I get a new browser window, which is no

Re: [wtr-general] Watir and the Automated Build Process

2011-07-06 Thread Alastair Montgomery
This way I have tried to achieve an automatic test run when there is a new build ready. We use a in-house build system (Powershell scripts), which deployed the build files to a test HTTP server. I then have a Ruby script which is launched from a scheduled task (cron or scheduled tasks on

[wtr-general] Watir and the Automated Build Process

2011-07-05 Thread Jason Shelton
Hello All, I have two related questions about Watir and the automated build process. My team uses TFS for our builds. I looking for a way to use TFS to launch my Watir test suite from the 'automation' box. This test suite is not on the same box as the build processes, so I cannot launch the

Re: [wtr-general] Watir to Count all objects, get the biggest

2011-07-04 Thread Željko Filipin
On Thu, Jun 30, 2011 at 4:50 PM, jose pinto optimus josepintoopti...@gmail.com wrote: -Count all objects, get the biggest. I have no idea what you mean by that. Show us the code. Željko -- watir.com - community manager watir.com/book - author watirpodcast.com - host -- Before posting, please

[wtr-general] Watir 1.9.1 upgrade (from 1.9.1rc or 1.9.0) breaks two things

2011-07-04 Thread Michael
Was running Watir 1.9.1 pre1 and everything was running smoothly. This morning I updated to Wait 1.9.1 to debug an issue a colleague was having. These two issues arose as a result of updating (all tests passed immediately before update, and fail immediately after). 1. bring_to_front no longer

[wtr-general] Watir to Count all objects, get the biggest

2011-06-30 Thread jose pinto optimus
Hi, am using watir to perform web testes .It works fine. Now, I want to, perform others operations like: -Count all objects, get the biggest. Is it possible do it using watir ? Thanks José Pinto -- Before posting, please read http://watir.com/support. In short: search before you ask, be

[wtr-general] Watir 1.9.1 released - IE9 bug fixes

2011-06-30 Thread Hugh McGowan
Hi all, Watir 1.9.1 has been released, containing fixes specific to IE9. There are no feature changes in this release. The only known IE9 problem is that file_fields are not working properly (they of course work fine in IE8). We're currently looking into this issue Thanks! Hugh -- Before

[wtr-general] Watir-Webdriver doesn't click the link

2011-06-29 Thread Abe Heward
Okay, this one's a head-scratcher... Environment: - Windows 7 - Ruby 1.9.2 - Watir-webdriver 0.2.5 Goal: I've got a page with a list of links, from A to Z, and I need my script to iterate through each of those links. Here's my code: #=== chars = ABCDEFGHIJKLMNOPQRSTUVWXYZ

[wtr-general] Watir 1.9.1 testing error

2011-06-28 Thread Reciprocity
I'm runing my scripts through Watir 1.9.1.rc1 on IE8, Win7 and Ruby 187. I have this code: puts 1.year I get this error: undefined method `year' for 1:Fixnum (NoMethodError) This code has always worked in the past. Does anyone know what has changed for this not to work anymore? Thanks in

Re: [wtr-general] Watir 1.9.1 testing error

2011-06-28 Thread John Fitisoff
Doesn't that come from the activesupport library? I don't think the Fixnum class has support for that. - Original Message From: Reciprocity george.wi...@gmail.com To: Watir General watir-general@googlegroups.com Sent: Tue, June 28, 2011 1:08:04 PM Subject: [wtr-general] Watir

[wtr-general] Watir-Webdriver alters text containing tabs.

2011-06-27 Thread Abe Heward
Reporting this here because I'm not sure where else to post it and also because it's perhaps already been reported as a bug. I have a web page that contains tab-delimited text. When I go to that page using Watir and the following code... x = browser.text p x The output I get looks like this:

Re: [wtr-general] Watir-Webdriver alters text containing tabs.

2011-06-27 Thread Jari Bakken
On Mon, Jun 27, 2011 at 10:13 PM, Abe Heward abe.hew...@gmail.com wrote: It's not an HTML page. It's a .log file, containing straight text, including the tabs. What's the purpose of using Watir for this? Why not just read the file from Ruby? -- Before posting, please read

Re: [wtr-general] Watir-Webdriver alters text containing tabs.

2011-06-27 Thread Abe Heward
It's been a simple matter of putting the link to the file in the browser address bar. I suppose I can switch to opening it directly, though. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Watir-Webdriver alters text containing tabs.

2011-06-27 Thread Abe Heward
Ah. Okay. Here's why I can't do that: Because the file is on a server whose drive is not mapped locally. So, File.open(http://69.71.52.209/tmp/fb-pixels.log;, r) results in a The system cannot find the file specified. error. -- Before posting, please read http://watir.com/support. In short:

Re: [wtr-general] Watir-Webdriver alters text containing tabs.

2011-06-27 Thread Jari Bakken
On Mon, Jun 27, 2011 at 11:23 PM, Abe Heward abe.hew...@gmail.com wrote: Ah. Okay. Here's why I can't do that: Because the file is on a server whose drive is not mapped locally. So, File.open(http://69.71.52.209/tmp/fb-pixels.log;, r) results in a The system cannot find the file specified.

Re: [wtr-general] Watir-Webdriver alters text containing tabs.

2011-06-27 Thread Abe Heward
Sweetness! You rock. -- 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 watir-general+unsubscr...@googlegroups.com

[wtr-general] Watir 1.8.7 how to use cruisecontrol for an unattended job

2011-06-23 Thread Charles Richard
Hi, I've been trying for almost a month now to get my watir scripts to run unattended on a windows 2003 server machine. They run fine if I'm logged in. It seems from what I've read that the best way to do this is to use Cruise Control. The only build tool i know is Maven and my knowledge is

Re: [wtr-general] watir-webdriver firebug

2011-06-15 Thread a b
Thanks millions Jari! I working perfect, Cristina Dumitrescu crist...@dumitrescu.ca On Tue, Jun 14, 2011 at 5:07 PM, Jari Bakken jari.bak...@gmail.com wrote: You can either (a) tell WebDriver to use your default profile: browser = Watir::Browser.new(:firefox, :profile = default) (b)

Re: [wtr-general] Watir 1.9.0 released with full support for Ruby 1.8.7 and IE9

2011-06-15 Thread a b
Hi, gem install watir will install the latest release? Thanks On Tue, Jun 14, 2011 at 9:37 PM, Hugh McGowan colinsda...@gmail.com wrote: Hi all, Watir 1.9.0 has been released. This release includes: * Full support for IE9 * Full support for Ruby 1.8.7 * Remove Autoit (replaced with

Re: [wtr-general] Watir 1.9.0 released with full support for Ruby 1.8.7 and IE9

2011-06-15 Thread Charley Baker
Yes. It's been pushed to the gem servers. -c On Wed, Jun 15, 2011 at 12:19 PM, a b cristina.watir.toro...@gmail.comwrote: Hi, gem install watir will install the latest release? Thanks On Tue, Jun 14, 2011 at 9:37 PM, Hugh McGowan colinsda...@gmail.comwrote: Hi all, Watir 1.9.0 has

[wtr-general] watir-webdriver firebug

2011-06-14 Thread a b
Hi, I've noticed that when we run the tests on Firefox3 using watir-webdriver we do not have access to firebug. So we cannot inspect the elements; what we have post etc. We have to go to replicate the steps manually. Do you know if there is any specific setting in order to have access to

[wtr-general] watir scripts in windows scheduled task

2011-06-14 Thread chachster
Hi, I've heard that running watir scripts via the windows scheduled task might not be supported and generally doesn't work too well? If so, is there a workaround for this (ie: stopping the machine from getting locked, etc...). I'm currently using Watir 1.8,1 and Ruby 1.8.7 and have 2 scheduled

[wtr-general] Watir 1.9.0 released with full support for Ruby 1.8.7 and IE9

2011-06-14 Thread Hugh McGowan
Hi all, Watir 1.9.0 has been released. This release includes: * Full support for IE9 * Full support for Ruby 1.8.7 * Remove Autoit (replaced with Rautomation) * Remove WinClicker (RIP) Thanks! Hugh -- Before posting, please read http://watir.com/support. In short: search before you

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-10 Thread Amit Bobade
Thank you very very much Cristina and Jari. :) I tried - gem update childprocess and it worked. Thanks. On Thu, Jun 9, 2011 at 7:11 PM, a b cristina.watir.toro...@gmail.comwrote: Or if it is still not working try to uninstall everything, even ruby; delete the remaining files and

[wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread Amit Bobade
Dear All: I want to use watir-webdriver instead of firewatir. I installed watir-webdriver now but when I execute my script I am getting following error. Why it is so? Error: E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:242:in `activate': can't activate ffi (= 1.0.7, runtime) for

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread Željko Filipin
On Thu, Jun 9, 2011 at 12:04 PM, Amit Bobade amit.sr...@gmail.com wrote: E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:242:in `activate': can't activate ffi (= 1.0.7, runtime) for [selenium-webdriver-0.2.1, watir-webdriver-0.2.4], already activated ffi-0.6.3-x86-mingw32 for This sounds like

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread Amit Bobade
Dear Željko, Thanks for your reply. I tried as you suggested but it didn't work for me. I got following error for the same code. ERROR: E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find ffi (~ 0.6.3) amongst [abstract-1.0.0, actionmailer-3.0.7,

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread Željko Filipin
2011/6/9 Amit Bobade amit.sr...@gmail.com Could not find ffi (~ 0.6.3) Looks like you have uninstalled all versions of ffi. This could help: gem install ffi Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread a b
Hi Amit, try: browser = Watir::Browser.new :ff browser.goto(http://www.gosocially.com/index.php;) Cristina On Thu, Jun 9, 2011 at 6:04 AM, Amit Bobade amit.sr...@gmail.com wrote: Dear All: I want to use watir-webdriver instead of firewatir. I installed watir-webdriver now but when I

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread a b
Or if it is still not working try to uninstall everything, even ruby; delete the remaining files and perform a fresh installation. I have encountered similar errors and that is what i did. Cristina On Thu, Jun 9, 2011 at 9:25 AM, a b cristina.watir.toro...@gmail.comwrote: Hi Amit, try:

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread Jari Bakken
It's a dependency issue between childprocess and selenium-webdriver. This should solve it: gem update childprocess Den 9. juni 2011 kl. 14:28 skrev Amit Bobade amit.sr...@gmail.com: Dear Željko, Thanks for your reply. I tried as you suggested but it didn't work for me. I got following error

[wtr-general] Watir 1.9.0 Release Candidate - Ruby 1.8.7 and IE9

2011-06-08 Thread Hugh McGowan
Hi all, We've got a release candidate for Watir. If you're interested in checking out the release before we go final, you can get it using: gem install watir --pre This release includes: * Support for IE9 * Full support for Ruby 1.8.7 * Remove Autoit (replaced with Rautomation) * Remove

Re: [wtr-general] Watir 1.9.0 Release Candidate - Ruby 1.8.7 and IE9

2011-06-08 Thread Charley Baker
Awesome, works well for me, both on Windows and Mac. -c On Tue, Jun 7, 2011 at 8:11 PM, Hugh McGowan colinsda...@gmail.com wrote: Hi all, We've got a release candidate for Watir. If you're interested in checking out the release before we go final, you can get it using: gem install watir

Re: [wtr-general] watir-webdriver

2011-06-07 Thread a b
Awesome, is working! Thanks millions! Cristina On Mon, Jun 6, 2011 at 1:38 PM, Jari Bakken jari.bak...@gmail.com wrote: On Mon, Jun 6, 2011 at 6:57 PM, a b cristina.watir.toro...@gmail.com wrote: For instance: That is a label : tdspan class=fontmd floatleft id=macbodypage span

Re: [wtr-general] Watir With Login App(Gmail)

2011-06-06 Thread Željko Filipin
On Sun, Jun 5, 2011 at 3:35 PM, edipofederle edipofede...@gmail.com wrote: is a simple test that logs into a gmail account and a text verefica (Mail) via XPath Instead of @fff.cell(:xpath, '/html/body/div[1]/div[2]/div/div[2]/div[1]/div[1]/div[1]/div[1]/div[@id=\':r7\']/span').text I would

[wtr-general] watir-webdriver

2011-06-06 Thread a b
Hi all, do you know where can we find sone documentation about watir-webdriver? I decided to go with watir-webdriver.When I run my scripts I can see that some components are not recognised the way I used to do using firewatir. For instance: That is a label : tdspan class=fontmd floatleft

Re: [wtr-general] watir-webdriver

2011-06-06 Thread Ashok Tulachan
*For instance: That is a label : tdspan class=fontmd floatleft id=macbodypage span string=create_user class=macstringCreatenbsp;User/span/span/td* *I was reading it: createUserLbl = $browser.span(:class = macstring, :string = create_user).text.to_s puts createUserLbl * Try this

Re: [wtr-general] watir-webdriver

2011-06-06 Thread Jari Bakken
On Mon, Jun 6, 2011 at 6:57 PM, a b cristina.watir.toro...@gmail.com wrote: For instance: That is a label : tdspan class=fontmd floatleft id=macbodypage     span string=create_user class=macstringCreatenbsp;User/span/span/td This isn't valid HTML, as the error message points out. Since the

[wtr-general] Watir With Login App(Gmail)

2011-06-05 Thread edipofederle
Hello everyone, is my first contact with Watir and am really enjoying it, but I have a problem to run the following test: https:/ /gist.github.com/1008964 is a simple test that logs into a gmail account and a text verefica (Mail) via XPath, but the test fails and says that the element was not

Re: [wtr-general] Watir page objects variables

2011-06-04 Thread Dmitriy Korobskiy
Rahul, it looks like you are testing using Cucumber, and it's really a Cucumber question. It looks like it should work, instance variables in Cucumber live for a duration of one scenario, if I'm not mistaken. If you want, you can try to switch from Ruby instance variables to class

[wtr-general] Watir Grid Examples Help

2011-06-03 Thread Usman Hussain
Hi Guys, I wanted to get my tests to run parallel to one another so I went to GitHub/WatirGrid and downloaded the whole project. I then began to run the examples. I was able to one tests running in two different browsers (firefox and chrome). So then I thought let me run the parallel test

[wtr-general] Watir page objects variables

2011-06-03 Thread Rahul Sharma
Hi Guys, I have got a problem that I run into frequently using the page object pattern for Watir and was wondering if anyone could help. I have a booking page on which a user could click book button to book an event. If the user is eligible for the booking, a Succesful booking page is returned

Re: [wtr-general] Watir page objects variables

2011-06-03 Thread Basim Baassiri
From reading your code, it looks like you are using the page objects pattern in a good way. I would be curious to see the entire stack trace of the exception you are describing On Fri, Jun 3, 2011 at 12:44 PM, Rahul Sharma rahulsharma@gmail.comwrote: Hi Guys, I have got a problem that I

Re: [wtr-general] Watir Grid Examples Help

2011-06-03 Thread Tim Koopmans
Hi Usman, I can probably help you =) The correct order to start up a grid is: 1. start the controller on a central machine e.g. controller when it starts up it will tell you what its URI is. This is what you'll use to connect other providers e.g. I, [2011-06-04 08:22:15 #99844] INFO -- :

Re: [wtr-general] Watir Grid Examples Help

2011-06-03 Thread usmanhhussain
...@gmail.com Sender: watir-general@googlegroups.com Date: Fri, 3 Jun 2011 22:27:13 To: watir-general@googlegroups.com Reply-To: watir-general@googlegroups.com Subject: Re: [wtr-general] Watir Grid Examples Help Hi Usman, I can probably help you =) The correct order to start up a grid is: 1. start

Re: [wtr-general] Watir Grid Examples Help

2011-06-03 Thread Tim Koopmans
: * watir-general@googlegroups.com *Subject: *Re: [wtr-general] Watir Grid Examples Help Hi Usman, I can probably help you =) The correct order to start up a grid is: 1. start the controller on a central machine e.g. controller when it starts up it will tell you what its URI is. This is what

Re: [wtr-general] Watir does not highlight accessed object?

2011-05-26 Thread Željko Filipin
You should create a ticket in jira: http://jira.openqa.org/browse/WTR Or even beter, send a pull request: https://github.com/bret/watir Zeljko On Thursday, May 26, 2011, Sergey Erokhin sergey.erok...@gmail.com wrote: and lastas i understand if in element.rb replace  alias style currentstyle

[wtr-general] Watir does not highlight accessed object?

2011-05-20 Thread Chengwei Lin
Hi, I used to see Watir highlighting the accessed IE object in yellow. However, after I upgraded my Ruby to 1.8.7 and Watir to 1.8.1, the highlight does not work anymore. For example, Watir will still print characters in a text field, but it won't highlight that text field in yellow as it used

Re: [wtr-general] Watir for Chrome(Shut down issue)

2011-05-17 Thread Ashok Tulachan
Thank you very much Jari for your prompt reply. The weird thing is that it shuts down even after completion while it stays in the same page for IE. However when i copy the same code and run in IRB, it doesn't shut down. Any idea on that?? Thanks, *Ashok * On Tue, May 17, 2011 at 10:50 AM,

Re: [wtr-general] Watir for Chrome(Shut down issue)

2011-05-17 Thread Jari Bakken
On Tue, May 17, 2011 at 6:00 PM, Ashok Tulachan tulachanas...@gmail.com wrote: The weird thing is that it shuts down even after completion while it stays in the same page for IE. However when i copy the same code and run in IRB, it doesn't shut down. It's not weird at all, it's intentional

Re: [wtr-general] Watir for Chrome(Shut down issue)

2011-05-17 Thread Tim Koopmans
If Jari is asleep since it's 2am in Oslo, the remote url syntax is the url of the remote webdriver server e.g. Watir::Browser.new(:remote, :url = 'http://localhost:') NOT the url of the system under test .. So point it to whatever URL the chrome driver has started up and is listening on

Re: [wtr-general] Watir for Chrome(Shut down issue)

2011-05-17 Thread Ashok Tulachan
Thanks you very much for your help, Tim. It worked fine. I don't know if it's really good place to ask about this ruby question but here it is. I am trying to get the system date in this format like 05-17-2011 such that the script picks up this date and puts in the application. When i write

Re: [wtr-general] Watir for Chrome(Shut down issue)

2011-05-17 Thread Ashok Tulachan
Thank you very much tim, I googled it till my fingers got tired and hence came here ;-). Btw, i am reading the ruby book online which is not that helpful. Thanks again. Ashok Tulachan On Tue, May 17, 2011 at 7:53 PM, Tim Koopmans tim.ko...@gmail.com wrote: Pro tip: buy yourself a copy of

[wtr-general] Watir with Telerik Rad combo box inside telerik rad window

2011-05-07 Thread ranjith kumar
Hi team, I have a issue : I have to select a value from telerik comobo box , and the rad combo box is inside the rad window. I am unable to provide the exact application. Instead I am able to provide the application links for Rad window and rad combo box separately. For rad window:

[wtr-general] watir-webdriver works with Firefox but not with Chrome :Failed to initialize session (Selenium::WebDriver::Error::WebDriverError)

2011-05-06 Thread emclaus
I'm trying to use Watir and Chrome (Chromium version 10.0.648.205 on Ubuntu) together. I think I have watir-webdriver installed correctly because I can get a firefox window to open without any problems. Could it have something to do with using Chromium instead of Chrome? In the changes file in

Re: [wtr-general] watir-webdriver works with Firefox but not with Chrome :Failed to initialize session (Selenium::WebDriver::Error::WebDriverError)

2011-05-06 Thread Jari Bakken
As mentioned on the server download page, you need a newer version of Chrome, minimum version 12.0.727.0. Den 6. mai 2011 kl. 17:47 skrev emclaus ernie...@gmail.com: I'm trying to use Watir and Chrome (Chromium version 10.0.648.205 on Ubuntu) together. I think I have watir-webdriver installed

[wtr-general] Watir Podcast #44: Tim Koopmans on WatirGrid and Gridinit

2011-05-04 Thread Željko Filipin
Enjoy! :) http://watirpodcast.com/44-tim-koopmans-on-watirgrid-and-gridinit/ By the way, if you would like if I played music _you_ have created on the podcast, let me know. Željko -- watir.com - community manager watir.com/book - author watirpodcast.com - host viaqa.mobi conference on software

Re: [wtr-general] Watir with Telerik Rad Grid

2011-05-02 Thread Angrez Singh
We are new to teleric Radgrid. We need sample code. Please help us. :) nice one Željko. Ranjith we all want to help you. But without code we can't do anything. One thing that you can do is to go through Watir sample codes available at Watir.com If you are using IE 7/8 you can use IE developer

Re: [wtr-general] Watir with Telerik Rad Grid

2011-05-02 Thread ranjith kumar
Hi, Can you please tell me which code are you reffering to. The code of the applciation where i am working with Rad grids. On Mon, May 2, 2011 at 12:10 PM, Angrez Singh ang...@gmail.com wrote: We are new to teleric Radgrid. We need sample code. Please help us. :) nice one Željko. Ranjith

<    1   2   3   4   5   6   7   8   9   >