[wtr-general] Re: asset_enabled error to click a button

2009-06-01 Thread Swapnal
Try this ie.button(:id, action_button).click_no_wait On Sat, May 30, 2009 at 1:02 PM, Venkat venkateshla...@gmail.com wrote: I wrote a code to click on button ie.button(:id, action_button).click But I am getting following errors: C:\Documents and Settings\\Desktopruby two-minute.rb

[wtr-general] Re: asset_enabled error to click a button

2009-06-01 Thread Željko Filipin
2009/5/30 Venkat venkateshla...@gmail.com object id and action_button is disabled (Watir::Exception::ObjectDisabldException) Well, you are clicking element that is disabled. Have you read the error message? :) Watir says it can not click a button because it is disabled. Take a look why is it

[wtr-general] Re: Watir Support for Table Header TH elements?

2009-06-01 Thread Željko Filipin
2009/5/30 Chuck van der Linden sqa...@gmail.com I have some things happening where I really need to be able to access things that are defined as a header row (using TH tags) in a table. but Watir doesn't currently support this. Really? I thought you could do: browser.th(how, what) You can

[wtr-general] Re: Multiple Attributes for Text Fields

2009-06-01 Thread Chuck van der Linden
On May 30, 4:50 am, karimnumerouno karim@gmail.com wrote: hi could any one share a link our some stuff of multi attribute selection, it there any doc there be a tool user: http://www.lmgtfy.com/?q=watir+multiple+attributes --~--~-~--~~~---~--~~ You

[wtr-general] Re: Watir Support for Table Header TH elements?

2009-06-01 Thread Chuck van der Linden
browser.th didn't work when I tried it. not in docs I printed a few months ago.. was there a new release of watir recently that added this? did I miss something? I know I can extend. even found some stuff in a thread circa dec2008 for this specific functionality. but I figured TH is not

[wtr-general] Re: Multiple Attributes for Text Fields

2009-06-01 Thread Charley Baker
That's excellent, I've never seen the automated version. -c On Mon, Jun 1, 2009 at 9:42 AM, Chuck van der Linden sqa...@gmail.comwrote: On May 30, 4:50 am, karimnumerouno karim@gmail.com wrote: hi could any one share a link our some stuff of multi attribute selection, it there any doc

[wtr-general] Re: Multiple Attributes for Text Fields

2009-06-01 Thread Darin Duphorn
That is nice. From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Charley Baker Sent: Monday, June 01, 2009 10:56 AM To: watir-general@googlegroups.com Subject: [wtr-general] Re: Multiple Attributes for Text Fields

[wtr-general] Re: asset_enabled error to click a button

2009-06-01 Thread Chuck van der Linden
Yeah Z is correct I think, you are trying to click it before it's enbled. it seems like perhaps this button is inhereting some functionality via CSS or some other means. In the HTML you give, there's no label for it, there's no functionlity attached to it, it's just like a template waiting to

[wtr-general] Re: Watir Support for Table Header TH elements?

2009-06-01 Thread Charley Baker
I thought we had TH defined as well, but looking at the code, it's not there. Feel free to add a Jira ticket for this. If you do have Watir extensions then when/if we add whatever tags you have, then you can remove it from your own Watir extension and that's it. Charley Baker blog:

[wtr-general] Re: Multiple Attributes for Text Fields

2009-06-01 Thread Chuck van der Linden
evil grin.. yeah that's the passive-agressive 'clue-by-four' version of a google link. I use it in cases where I feel I'm faced with the infamous (give-fish teach-to-fish) situation. you can just go to www.lmgtfy.com (Let Me Google That For You) put in the terms, and it creates a link you

[wtr-general] Re: Watir and flash audio

2009-06-01 Thread Bill Agee
Can you leave a user logged into the machine where the test is failing? I had a similar problem - some GUI tests would not work without a user logged in to Windows. So my Watir machines (VMs, actually) are configured to automatically log in as a particular user at boot. You can do this in XP or

[wtr-general] Re: Watir Support for Table Header TH elements?

2009-06-01 Thread Chuck van der Linden
http://jira.openqa.org/browse/WTR-317 I think that might be my first one. not sure of your conventions so I sorta punted when picking values for some of the select lists for the item. I presume TPTB will edit the issue if I got anything wrong. On Jun 1, 9:11 am, Charley Baker

[wtr-general] Re: Firewatir vs watir API

2009-06-01 Thread marekj
I've noticed that in my tests that parent returns a String in firefox. Some tests here http://github.com/marekj/watirloo/blob/7c5e757c0b2efce76f8254198ca62bb1c6d533b8/test/label_test.rb I've never needed to use parent so I didn't persue it but now might be a time to take a look at it again.

[wtr-general] Re: Firewatir vs watir API

2009-06-01 Thread karimnumerouno
there is another API called commonwatir, if the script is designed in a fashion in which both the browsers are supported then i guess we should not have these browser specific problems On Jun 2, 9:12 am, marekj marekj@gmail.com wrote: I've noticed that in my tests that parent returns a

[wtr-general] Re: Multiple Attributes for Text Fields

2009-06-01 Thread Prajakta Jadhav
thats really cool! On Mon, Jun 1, 2009 at 9:12 PM, Chuck van der Linden sqa...@gmail.comwrote: On May 30, 4:50 am, karimnumerouno karim@gmail.com wrote: hi could any one share a link our some stuff of multi attribute selection, it there any doc there be a tool user:

[wtr-general] Re: Watir and flash audio

2009-06-01 Thread Prajakta Jadhav
I had this problem when I used $ie.send_keys() function.. this does not work if user hasn't logged in to windows. Maybe you are using some such GUI function in your script. Guess you ll have to use some other alternative for that function. On Mon, Jun 1, 2009 at 7:10 PM, Philbo phi...@gmail.com