[wtr-general] Re: Unable to Click Submit button

2010-05-12 Thread Vishal
I tried in IRB, but I am getting the same exception. I tried with Link also, its giving the same error. On May 10, 9:15 pm, Tiffany Fodor tcfo...@comcast.net wrote: Hi Vishal! The error message you're getting suggests that Watir can't find the button with id 'showSearchCriteriaButton'.  Have

[wtr-general] Unable to Click Submit button

2010-05-10 Thread Vishal
My program it unable to click on Submit button. Below is the Code My code : def Click_Show_Criteria $ie.button(:id,'showSearchCriteriaButton').click end HTML: TABLE cellpadding=0 cellspacing=0 style='width:100%'TR class='action_button_area'TD style='width:99%'BUTTON

[wtr-general] Re: Exception thrown while iterating table

2009-11-09 Thread Vishal
Yes, X is intialised to 1. On Nov 6, 7:17 pm, Super Kevy kpe...@scholarshipamerica.org wrote: And what is x initialised to?  I assume it has to be 1 when it begins the top of the loop. On Nov 5, 3:52 am, Vishal bvkon...@gmail.com wrote: Alan,     Before the loop I am initiating 'x'. I

[wtr-general] Exception thrown while iterating table

2009-11-04 Thread Vishal
I am encountering exception while iterating table. Below are the details. Let me know if anymore information is required Code: table3.each do |row| if table3[x][1].text ==Booking ID while (input = f.gets) $ie.text_field(:index,2).set(input)

[wtr-general] Re: How to handle Exceptions in Watir

2009-09-23 Thread Vishal
] On Behalf Of Vishal Sent: Thursday, September 17, 2009 2:02 AM To: Watir General Subject: [wtr-general] How to handle Exceptions in Watir While running the testcase in Watir  if an Exception is encountered, I program quits at that point. How can we handle exception in Watir Thanks

[wtr-general] How to handle Exceptions in Watir

2009-09-17 Thread Vishal
While running the testcase in Watir if an Exception is encountered, I program quits at that point. How can we handle exception in Watir Thanks, Vishal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General

[wtr-general] Re: How to compare Text in Links

2009-06-18 Thread Vishal
Sorry , Actually it was using only one = instead of two == while comparing. Now i changed it and it is working fine. Thanks for you help Željko. Vishal On Jun 18, 4:00 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Jun 18, 2009 at 12:56 PM, Vishal bvkon...@gmail.com wrote

[wtr-general] Re: How to compare Text in Links

2009-06-17 Thread Vishal
Thanks, In my application link text is dynamically generated . These the two links whose text value I need to compare $ie.div(:id,center).link(:index,21) $ie2.link(:index,31) On Jun 15, 6:58 pm, Wesley Chen cjq@gmail.com wrote: Sorry, please try: assert $ie.link(:text,

[wtr-general] How to compare Text in Links

2009-06-15 Thread Vishal
Hi, I have to 2 web pages, I need to compare values of Link text between two pages. Please suggest how to do this. Thanks Vishal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post

[wtr-general] Re: Unable to click on Tabs

2009-05-27 Thread Vishal
using an assertion to call on the event. On Apr 28, 5:06 am, Vishal bvkon...@gmail.com wrote: I checked few other discussions on similar issues. But in none of them there is a solution available. Is this Issue can't be fixed? On Apr 27, 12:29 pm, Shweta nagman...@gmail.com wrote

[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 nagman...@gmail.com 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

[wtr-general] Re: Unable to click on Tabs

2009-04-24 Thread Vishal
I tried i) $ie.span(:text ,Documents).span(:index,1).fire_event('onMouseDown') The control is focusing on The tab but its not clicking. On Apr 24, 3:36 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Apr 24, 2009 at 12:32, Vishal bvkon...@gmail.com wrote: Please let me know

[wtr-general] Re: Unable to click on Tabs

2009-04-24 Thread Vishal
I tried that too, Its not clicking. Our application has implemented the Tab feature from below link. http://extjs.com/deploy/dev/examples/tabs/tabs.html On Apr 24, 3:49 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Apr 24, 2009 at 12:47, Vishal bvkon...@gmail.com wrote

[wtr-general] Re: Unable to click on Tabs

2009-04-24 Thread Vishal
I asked the Developers they are saying when we click on Tabs , javascript from Extjs is called and tab contents are displayed. On Apr 24, 4:12 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Apr 24, 2009 at 13:04, Vishal bvkon...@gmail.com wrote: http://extjs.com/deploy/dev

[wtr-general] Re: Unable to click on Tabs

2009-04-24 Thread Vishal
Onclick event is fired. On Apr 24, 5:34 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Apr 24, 2009 at 14:26, Vishal bvkon...@gmail.com wrote: I asked the Developers they are saying when we click on Tabs , javascript from Extjs is called and tab contents are displayed

[wtr-general] Re: Unable to click on Tabs

2009-04-24 Thread Vishal
Yes, I too had tried Onclick event. Its not working. Do you have any other suggestions? On Apr 24, 5:41 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Apr 24, 2009 at 14:39, Vishal bvkon...@gmail.com wrote: Onclick event is fired. I tried to fire onclick event on one tab