Thank you so much orde ..it is working :-) just wondering in developer tool bar second frame name shows as "iframe"(frame(:name,"Top")).but here it works even if we put frame.
On Dec 4, 2:55 pm, orde <[email protected]> wrote: > http://wtr.rubyforge.org/rdoc/classes/Watir/Container.htmldoesn't > specify which method is appropriate for <input type=image>. > > I'd try button first: $ie.frame(:name,"Main").frame(:name,"Top").button > (:name,"imgRun").click > > Hope that helps. > > orde > > On Dec 4, 12:27 pm, mohe <[email protected]> wrote: > > > > > Ok..Input type =image here,. > > code is given below. > > <input type="image" name="imgRun" id="imgRun" src="../images/ > > run_stars.gif" alt="" border="0" style="border-color:#000000;" /><br> > > p><a class="link" target="_blank" href="Documents/STARS%20Reference > > %20Guide.pdf">STARS > > > On Dec 4, 2:18 pm, orde <[email protected]> wrote: > > > > Can you post the exact tag for this psuedo code: > > > > <INPUT ID=imgrun>{This is is the image i need to click on} > > > > To click an <input type = submit> tag, you'd use the button method; to > > > click <input type = checkbox>, you'd use the checkbox method. > > > > I don't know the type attribute for <INPUT ID=imgrun>, but that will > > > point to the correct method (in theory). > > > > orde > > > > On Dec 4, 12:01 pm, mohe <[email protected]> wrote: > > > > > the below code is not working. > > > > $ie.input(:type,"image").click > > > > > On Dec 4, 1:44 pm, orde <[email protected]> wrote: > > > > > > Looks like you're clicking on a <input> tag. The type attribute for > > > > > the <input> tag should point you in the right direction. > > > > > > Hope that helps. > > > > > > orde > > > > > > On Dec 4, 11:23 am, mohe <[email protected]> wrote: > > > > > > > Yep .i am using developer tool bar.. > > > > > > it is showing structure given below. > > > > > > <HEAD> > > > > > > frame set > > > > > > <noframe> > > > > > > frame > > > > > > frame > > > > > > document > > > > > > HTML > > > > > > <BODY> > > > > > > <Iframe> > > > > > > document > > > > > > <Html> > > > > > > <Div id> > > > > > > <Form id > > > > > > <Table> > > > > > > <INPUT ID=imgrun>{This is is the image i > > > > > > need to click on} > > > > > > > On Dec 4, 3:31 am, Željko Filipin <[email protected]> > > > > > > wrote: > > > > > > > > On Thu, Dec 3, 2009 at 9:42 PM, mohe <[email protected]> > > > > > > > wrote: > > > > > > > > i tried following combinations ..nothing is working > > > > > > > > Instead of trying combinations, you should inspect the code with > > > > > > > a tool like > > > > > > > IE dev toolbar or Firebug. Please let me know if you need help > > > > > > > with that. > > > > > > > > Željko > > > > > > > -- > > > > > > > watir.com - community manager > > > > > > > watirpodcast.com - host- Hide quoted text - > > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text -- 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 [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general
