[wtr-general] Re: Automating the object with in TD tag
> I'm not sure what your question is? +1. tags can be accessed via the .cell method: http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Container.html#M000298 orde On Jan 12, 9:24 am, Basim Baassiri wrote: > I'm not sure what your question is? > > > > > > > > On Wed, Jan 12, 2011 at 10:28 AM, Sanu 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 > > > > > > > #text > >
[wtr-general] Re: Automating the object with in TD tag
I think what you're looking for is a way to use Watir to attach to or investigate that TD element. You can find an exact example of that in the Watir Wiki using XPath: http://wiki.openqa.org/display/WTR/XPath puts ie.cell(:xpath, "//i...@src='3.jpg']/../").text Adam On Jan 12, 9:28 am, Sanu 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 > > > > #text >
[wtr-general] Re: Automating the object with in TD tag
if it's an image and it's clickable, you can often access it as a button element. That or look at what element is wrapped around the image. As with almost all questions here, you are going to get the best response if you 1) show us relevent page source. 2) show us the code you have tried so far 3) include an error messages you may have gotten as a result. On Jan 13, 12:59 am, Željko Filipin wrote: > On Thu, Jan 13, 2011 at 8:34 AM, sweet flower wrote: > > I tried with SRC also... it is not working. > > any other way?? > > Sure, a lot of other ways: > > http://wiki.openqa.org/display/WTR/HTML+Elements+Supported+by+Watirhttp://wiki.openqa.org/display/WTR/Ways+Available+To+Identify+HTML+El... > > Post image HTML and we will be able to help. > > Željko -- 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