Hi Goutham, Please check the unit test cases for Watir you'll find example on how to access map/area element using XPath. It should be there in [ruby installation directory]\gems\1.8\firewatir-1.6.5\unittests.
Thanks, Angrez On Mon, Aug 16, 2010 at 9:09 AM, goutham mandadi <goutham.mand...@gmail.com>wrote: > hai basim, > > below is the code > <map name="nav" > > <area href="http://www.snapfish.com/snapfish/selectalbumreprints/" title=" > Order prints " coords="9,53,113,72"> > > > <area href="javascript:showShare()" title=" Share " coords="131,52,187,71"> > > </map> > how can we identify these elements by using xpath > > > On Mon, Aug 16, 2010 at 12:20 AM, Basim Baassiri <ba...@baassiri.ca>wrote: > >> Hi Goutham >> You'll need to post some code and some html to illustrate better your >> problem >> >> >> On Sun, Aug 15, 2010 at 11:22 AM, goutham <goutham.mand...@gmail.com>wrote: >> >>> hai all, >>> >>> i am using element_by_xpath to find an element in watir but browser is >>> closing when i come to xpath step. does we need to install anything to >>> find element using xpath . waiting for ur suggestions >>> >>> Thankyou, >>> Goutham >>> >>> -- >>> Before posting, please read http://watir.com/support. In short: search >>> before you ask, be nice. >>> >>> You received this message because you are subscribed to >>> http://groups.google.com/group/watir-general >>> To post: watir-general@googlegroups.com >>> To unsubscribe: >>> 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. >> >> You received this message because you are subscribed to >> http://groups.google.com/group/watir-general >> To post: watir-general@googlegroups.com >> To unsubscribe: >> 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. > > You received this message because you are subscribed to > http://groups.google.com/group/watir-general > To post: watir-general@googlegroups.com > To unsubscribe: > 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. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com