Re: [wtr-general] unable to find element using xpath

2010-08-16 Thread Angrez Singh
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

Re: [wtr-general] unable to find element using xpath

2010-08-16 Thread goutham mandadi
Hai Angrez, I have seen the example and tried to acces the element but when it comes to that step ruby interpreter is closing. How can i know whether xpath is working for me or not i have ruby along with rexml and i could not see the error message in ruby interpreter as it is closing. Please

Re: [wtr-general] unable to find element using xpath

2010-08-16 Thread goutham mandadi
Hi, I am getting the following error message ,i am using IE8 browser one.rb:6: undefined method `element_by_xpath' for #Watir::IE:0x2bbabf0 (NoMethodError) can anyone help me out Thanks in advance, Goutham On Mon, Aug 16, 2010 at 4:23 PM, goutham mandadi goutham.mand...@gmail.comwrote: Hai

Re: [wtr-general] unable to find element using xpath

2010-08-16 Thread goutham mandadi
Hai Angrez, can u please help me on this i have seen ur post regarding this but i am unable to understand Thanks, Goutham On Mon, Aug 16, 2010 at 10:02 PM, goutham mandadi goutham.mand...@gmail.com wrote: Hi, I am getting the following error message ,i am using IE8 browser one.rb:6:

[wtr-general] unable to find element using xpath

2010-08-15 Thread goutham
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:

Re: [wtr-general] unable to find element using xpath

2010-08-15 Thread Basim Baassiri
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

Re: [wtr-general] unable to find element using xpath

2010-08-15 Thread goutham mandadi
hai basim, below is the code map name=nav area href=http://www.snapfish.com/snapfish/selectalbumreprints/ view-source: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