[Wtr-general] How To Click On The Image Button...With This html Code?

2007-05-04 Thread san
Hi People.. Heres The Code: tr td height=15/td/tr tr align=left td align=left colspan=2 valign=bottom input border=0 alt=Search src=../images/search_top.gif name=CTL_SUBMIT type=image a href=FilingsSearch.aspimg border=0 alt=Clear

Re: [Wtr-general] How To Click On The Image Button...With This html Code?

2007-05-04 Thread Angrez Singh
Hi, The element you are trying to click is not an image element i.e. not of type image. But its input type=image which is different. So you should try using following code. ie.button(:src, /search_top/i).click If you use your code 'Watir' is correctly clicking the image which is having the

Re: [Wtr-general] How To Click On The Image Button...With This html

2007-05-04 Thread san
Hi Angrez, Thanks.. That Worked... Don't Know How Did I Missed That Out :P Thanks... :) ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general