Could you post the html content related to this image? Is it inside a frame?
-Prajakta On Thu, Jan 13, 2011 at 1:04 PM, sweet flower <ure...@gmail.com> wrote: > > Hi Jadhav, > > I tried with SRC also... it is not working. > any other way?? > On Thu, Jan 13, 2011 at 12:06 PM, Prajakta Jadhav < > jadhav.praja...@gmail.com> wrote: > >> you could use src to identify it. >> browser.image(:src => /gtk-ok/).click >> >> Find more info here: >> http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Container.html#M000324 >> >> -Prajakta >> >> On Thu, Jan 13, 2011 at 10:43 AM, sweet flower <ure...@gmail.com>wrote: >> >>> Hi, >>> I was able to automate that using the Cell method. >>> >>> I have one more question. I have an object with in IMG tag.. but the >>> properties are not enough to identify the same >>> >>> I have title, class, src and align properties alone. >>> how can i use the image method to identify this? >>> kindly help. >>> >>> By, >>> Sanu. T >>> >>> On Wed, Jan 12, 2011 at 8:58 PM, Sanu <ure...@gmail.com> wrote: >>> >>>> Hi, >>>> >>>> I have an object with TD tag with out any object type specified. >>>> That is actually a tag in the application. >>>> >>>> please find the HTML code below >>>> >>>> <TR> >>>> <TD class=styleTabUnSelected id=S3Role> >>>> #text >>>> <SCRIPT> >>>> >>>> and goes like this >>>> >>>> if i spy the tab i am getting the below Attributs, >>>> Name Value >>>> align left >>>> background-image(css) url(../images/AsTabBackMiddle.gif) >>>> class styleTabUnSelected= >>>> color(css) #000000 >>>> cursor(css) pointer >>>> height 24 >>>> id S3Role >>>> onclick JavaScript:pushTab('S3Role'); >>>> onmouseout JavaScript:mouseOutTab('S3Role') >>>> onmouseover JavaScript:mouseOverTab('S3Role') >>>> style BACKGROUND-IMAGE: url(../images/ >>>> AsTabBackMiddle.gif); CURSOR: pointer; COLOR: #000000 >>>> >>>> >>>> >>>> I am very new to Ruby kindly provide your ideas. >>>> >>>> -- >>>> Before posting, please read http://watir.com/support. In short: search >>>> before you ask, be nice. >>>> >>>> watir-general@googlegroups.com >>>> http://groups.google.com/group/watir-general >>>> watir-general+unsubscr...@googlegroups.com<http://groups.google.com/group/watir-generalwatir-general+unsubscr...@googlegroups.com> >>>> >>> >>> -- >>> Before posting, please read http://watir.com/support. In short: search >>> before you ask, be nice. >>> >>> watir-general@googlegroups.com >>> http://groups.google.com/group/watir-general >>> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> >>> >> >> -- >> Before posting, please read http://watir.com/support. In short: search >> before you ask, be nice. >> >> watir-general@googlegroups.com >> http://groups.google.com/group/watir-general >> watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> >> > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com