[wtr-general] Re: Unable to click an element in table/grid
It could be a table index issue. I test our web apps in both IE and Firefox, and strangely enough, I need to change the index number of a particular table I want to access between the two. This could be something to look into. Good luck! On Jun 3, 5:32 pm, Ray rayjh...@gmail.com wrote: I am trying to click a cell in the table On Jun 3, 5:08 pm, George george.sand...@gmail.com wrote: Are you trying to click a particular row in the result table or a cell containing a hyperlink? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Unable to click an element in table/grid
Slightly OT: my understanding is that Watir is one-based and Firewater is zero-based in terms of indexes (according to some recent posts). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Unable to click an element in table/grid
Thanks, I was not able to get using it like a table to click either. Unfortunately i do not have complete access to the source code of the site so i am not able to look to determine exactly how it works. What i do know is that the html is built after the cell is clicked using java script. The odd thing is that i can find the cells before they are clicked and apply functions to them. I have tried applying all these together, alone, and in combination. ie.cell(:text, create action).click ie.cell(:text, create action).fire_event(onmousedown) ie.cell(:text, create action).fire_event(onmouseup) ie.cell(:text, create action).fire_event(onclick) ie.cell(:text, create action).fire_event(onfocus) ie.cell(:text, create action).fire_event(onmouseover) These same events work in firewatir and i am able to continue on. Is there any other way to do a click event in watir that I could be missing? any help is appreciated Thanks again On Jun 4, 11:16 am, orde ohil...@gmail.com wrote: Slightly OT: my understanding is that Watir is one-based and Firewater is zero-based in terms of indexes (according to some recent posts). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Unable to click an element in table/grid
Hi Did you ever figure out the problem with this? I am having a similar problem. For me the click works in Fire Fox(using fire watir) but when i try the same thing in IE nothing happens and the script ends without errors. any help is appreciated Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Unable to click an element in table/grid
Are you trying to click a particular row in the result table or a cell containing a hyperlink? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Unable to click an element in table/grid
I am trying to click a cell in the table On Jun 3, 5:08 pm, George george.sand...@gmail.com wrote: Are you trying to click a particular row in the result table or a cell containing a hyperlink? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Unable to click an element in table/grid
Hi I tried with all those methods it does nothing.My script stops without any error On Apr 27, 10:30 am, Vishal bvkon...@gmail.com wrote: 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 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 suggest solution for this html code is like this: ONCLICK=window.location='/VBU/market/viewid.do?Id=13133'; STYLE='cursor:hand;backgroundColor:white' ONMOUSEOVER=this.style.backgroundColor='#BC9898'; ONMOUSEOUT=this.style.backgroundColor='white'; td John /td td 132133 /td td QS /td td N /td td N/A /td td Smith /td td AR /td td John Marketing brokers /td td nowrap $123,456 /td td nowrap 04-23-09 /td td nowrap 04-24-09 /td td /td td ABCD 4343 /td /tr /table /td /tr tr td colspan=4 br /td /tr tr td table border=0 width=100% cellpadding=2 cellspacing=2- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Unable to click an element in table/grid
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 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 suggest solution for this html code is like this: ONCLICK=window.location='/VBU/market/viewid.do?Id=13133'; STYLE='cursor:hand;backgroundColor:white' ONMOUSEOVER=this.style.backgroundColor='#BC9898'; ONMOUSEOUT=this.style.backgroundColor='white'; td John /td td 132133 /td td QS /td td N /td td N/A /td td Smith /td td AR /td td John Marketing brokers /td td nowrap $123,456 /td td nowrap 04-23-09 /td td nowrap 04-24-09 /td td /td td ABCD 4343 /td /tr /table /td /tr tr td colspan=4 br /td /tr tr td table border=0 width=100% cellpadding=2 cellspacing=2 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---