[wtr-general] problem running watir tests from hudson

2010-01-14 Thread andreyr
Hi, I am using Watir with RSpec to create tests. Recently I decided to move to Hudson to get tests run automatically. I made a few rake tasks and created Hudson jobs to run these tasks. But all my Hudson jobs always fail with two kinds of messages. If I use FF: *

Re: [wtr-general] Re: Links Question

2010-01-14 Thread Željko Filipin
On Wed, Jan 13, 2010 at 11:09 PM, Tiffany Fodor tcfo...@comcast.net wrote: browser.link(:beforeText, 'survivors of the Haiti earthquake.).click I think this is deprecated because it never worked as expected. Željko -- watir.com - community manager watirpodcast.com - host -- You received this

Re: [wtr-general] Links Question

2010-01-14 Thread Željko Filipin
On Wed, Jan 13, 2010 at 10:20 PM, xguarder shams...@gmail.com wrote: 2. Is it possible to click on a link that immediately precedes a particular text? Probably, but only if you know xpath: http://wiki.openqa.org/display/WTR/XPath You can click a link that is _after_ some other element, for

[wtr-general] Not able to access Dojo controls

2010-01-14 Thread Betsy
We have certain Dojo controls in our application. It is an Input tag of dojo type. We could not access this text field to set text. When we try to use ie.text_field(:name,'xyz').set('text'), it returns Physical Description not found. Is there a way in Watir to be able to handle such objects??

[wtr-general] Re: Links Question

2010-01-14 Thread xguarder
Awesome, thanks! I don't really need to do this right now, but this got me wondering. Say you have two links that are exactly the same on the page (perhaps on the header and the other in the footer). How can the use of the array be tweaked so it can return the index number for the nth instance of

[wtr-general] Re: XPath Support in Frame

2010-01-14 Thread Kunal
Hi Angrez, Do you think this issue can be solved ? -Kunal On Jan 11, 12:33 pm, Wesley Chen cjq@gmail.com wrote: I met with this kind of problem, too. In fact, when I user IE developer toolbar to access the web page with the source code above, the IFRAME won't expand. The IFrame is with

Re: [wtr-general] problem running watir tests from hudson

2010-01-14 Thread Bill Agee
Is Hudson running on a Windows machine where no one is logged in? If so, that might be causing some issues. Hudson questions have been popping up on this list fairly often recently... Here's a trip report from someone who seems to have had no issues using Watir and Hudson together:

[wtr-general] Linux Firefox/JSSH issue

2010-01-14 Thread Aedorn
Possibly a bit off topic, as it doesn't *technically* relate to how FireWatir itself works, but how Firefox is (not) working. We don't use the JSSH.XPI extension, but instead we compile it with Firefox using the following .mozconfig file: . $topsrcdir/browser/config/mozconfig mk_add_options

[wtr-general] Re: Driving Watir scripts in IE and Firefox at the same time

2010-01-14 Thread tester86
Hi Question: I am using a testing framework using Watir and I have given a global variable $b. I am running my scripts against FF. But I also want to execute them against IE. I am using the example from: http://wiki.openqa.org/display/WTR/Browser.new But when I execute in IE I get the error $b

Re: [wtr-general] Re: XPath Support in Frame

2010-01-14 Thread Wesley Chen
I think the xpath is not supported when in a frame. Thanks. Wesley Chen. For life, the easier, the better. On Thu, Jan 14, 2010 at 10:04 PM, Kunal kunal...@gmail.com wrote: Hi Angrez, Do you think this issue can be solved ? -Kunal On Jan 11, 12:33 pm, Wesley Chen cjq@gmail.com

[wtr-general] Re: XPath Support in Frame

2010-01-14 Thread Kunal
Yes. That's what it looks right now. Question is - Can this be supported? May be Angrez can throw some light. -Kunal On Jan 15, 6:20 am, Wesley Chen cjq@gmail.com wrote: I think the xpath is not supported when in a frame. Thanks. Wesley Chen. For life, the easier, the better. On Thu,

Re: [wtr-general] Re: XPath Support in Frame

2010-01-14 Thread Angrez Singh
Hi Kunal, I didn't get enough time to look into the issue. I'll surely get something done this week end. - Angrez On Fri, Jan 15, 2010 at 10:22 AM, Kunal kunal...@gmail.com wrote: Yes. That's what it looks right now. Question is - Can this be supported? May be Angrez can throw some light.