[wtr-general] Re: Unable to click an element in table/grid

2009-04-26 Thread Shweta
Hi I tried with all those methods it does nothing.My script stops without any error On Apr 27, 10:30 am, Vishal wrote: > Try > > ie.table.fire_event("onmousedown") > ie.table.fire_event("onmouseup") > ie.table.fire_event("onclick") > > On Apr 27, 10:19 am, Shweta wrote: > > > > > Hi > > In my

[wtr-general] Select from auto-complete

2009-04-26 Thread Hemalatha Sivasubramaniam
I have a select field, that acts both as auto-complete and select box, i'm not able to set value in that field using watir script. The HTML code for that select field is below, and when i type in something (say letter "T"), i should be able to select from the list that appears like this T M

[wtr-general] Re: Unable to click an element in table/grid

2009-04-26 Thread Vishal
Try ie.table.fire_event("onmousedown") ie.table.fire_event("onmouseup") ie.table.fire_event("onclick") On Apr 27, 10:19 am, Shweta wrote: > Hi > In my application after i search for an id from serach page it > displays the result in a grid/table,There i need to click on the > result.later it na

[wtr-general] Unable to click an element in table/grid

2009-04-26 Thread Shweta
Hi In my application after i search for an id from serach page it displays the result in a grid/table,There i need to click on the result.later it navigates to other page there i need to perform the actions. I used something like this code: ie.table(:index,1).click It dint work out. Can anyone

[wtr-general] Re: Does Watir 1.6.2 install on Mac OS X?

2009-04-26 Thread Darin Duphorn
Yep found it two shortly after I posted. I'm currently installing. On 4/26/09 4:25 PM, "Jason Trebilcock" wrote: > > Here's a thread to look at: > http://groups.google.com/group/watir-general/browse_thread/thread/2870724cfa > c1f1aa > > > -Original Message- > From: watir-general@g

[wtr-general] Re: Does Watir 1.6.2 install on Mac OS X?

2009-04-26 Thread Jason Trebilcock
Here's a thread to look at: http://groups.google.com/group/watir-general/browse_thread/thread/2870724cfa c1f1aa -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Moochie Sent: Sunday, April 26, 2009 4:19 PM To: Watir General Sub

[wtr-general] Re: Does Watir 1.6.2 install on Mac OS X?

2009-04-26 Thread Moochie
when I run this: sudo gem install safariwatir I get this? Building native extensions. This could take a while... ERROR: Error installing safariwatir: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb can't fin

[wtr-general] Re: Rescue

2009-04-26 Thread Alex Collins
John, Asking the obvious, if you don't want the code to run, why not remove it or comment it out? I'm not entirely sure what you are after, so a general response which I hope may still be useful. Firstly, the protected code block has the structure: begin expr.. [re