[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

[wtr-general] Unable to see error message in ruby interpreter

2010-08-16 Thread goutham
Hi all, I am new to watir ,I am trying to find element using xpath but i could not and one more issue is that i couldnot see the error message what it is returning as ruby interpreter is getting closed how to see the error messages returned during execution Thankyou, Goutham -- Before posting

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

2010-08-15 Thread goutham mandadi
12:20 AM, Basim Baassiri 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 wrote: > >> hai all, >> >> i am using element_by_xpath to find an element in

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

2010-08-16 Thread goutham mandadi
help me out waiting for your suggestions Thanks, Goutham On Mon, Aug 16, 2010 at 2:07 PM, Angrez Singh wrote: > 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 > installa

Re: [wtr-general] Re: Unable to see error message in ruby interpreter

2010-08-16 Thread goutham mandadi
Thanks, Goutham On Mon, Aug 16, 2010 at 9:24 PM, Adam Reed wrote: > Hi Goutham, > > It sounds like you're double-clicking the script in order to run it > which closes the DOS window upon completion. > > If installed, you can execute the script using the SciTE editor. > Right

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 # (NoMethodError) can anyone help me out Thanks in advance, Goutham On Mon, Aug 16, 2010 at 4:23 PM, goutham mandadi wrote: > Hai Angrez, > > I have seen t

Re: [wtr-general] Re: Unable to see error message in ruby interpreter

2010-08-16 Thread goutham mandadi
this is the element i am trying to find using xpath Thanks, Goutham On Mon, HiAug 16, 2010 at 10:07 PM, Charley Baker wrote: > Name the file with no spaces, something like my_ruby_program.rb. Filenames > are conventionally snake cased - lower case with underscores. > > Charle

Re: [wtr-general] Re: Unable to see error message in ruby interpreter

2010-08-16 Thread goutham mandadi
7>]").click this is the element i am trying to find using xpath does xpath is supported by IE or not can anyone help me on this Thanks, Goutham On Mon, Aug 16, 2010 at 11:44 PM, Eric Mathiesen wrote: > My first piece of advice would be not to use x-path, but any of the other > i

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 wrote: > Hi, > > I am getting the following error message ,i am using IE8 browser > > one.rb:6: u

[wtr-general] undefined method `element_by_xpath' for # (NoMethodError)

2010-08-16 Thread goutham mandadi
Hai, can any one please help me on how to resolve this Thanks, Mandadi -- 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-genera

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

2010-08-17 Thread goutham mandadi
hai chandu, I am using 1.6.5 version of watir thanks, goutham On Tue, Aug 17, 2010 at 6:00 PM, chandu.tennety wrote: > Goutham, > Can you tell us which version of Watir you are using? What is the > output when you type "gem which watir" on the command line? > > Chand

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

2010-08-17 Thread goutham mandadi
Hai Chuck, Thanks for ur reply we can add id or name for this element but why is element by xpath is not working for me can u help me on this Thankyou, Goutham On Tue, Aug 17, 2010 at 8:48 PM, Chuck van der Linden wrote: > As an alternative, could you perhaps persuade your developers to

Re: [wtr-general] Re: undefined method `element_by_xpath' for # (NoMethodError)

2010-08-17 Thread goutham mandadi
Hi Chuck, yeah you are right when logging in to application it is displayed as https and then at home page it is normal http. is their any specific url i need to give in how can u please give me an example Thanks, Goutham On Tue, Aug 17, 2010 at 8:39 PM, Chuck van der Linden wrote: > The m

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

2010-08-17 Thread goutham mandadi
Hi eric, I did not get you what are orb and .flash i am new to watir Thanks, Goutham On Tue, Aug 17, 2010 at 8:58 PM, Eric Mathiesen wrote: > You could also use orb and .flash the index. > > On Aug 17, 2010 8:23 AM, "goutham mandadi" > wrote: > > Hai Chuck, >

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

2010-08-17 Thread goutham mandadi
Hai, c:/ruby/lib/ruby/site_ruby/1.8/watir.rb this is path from which it is executing here in watir.rb i couldnot find method element_by_xpath how to add this thanks, goutham On Tue, Aug 17, 2010 at 9:08 PM, goutham mandadi wrote: > Hi eric, > > I did not get you what are orb and .f

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

2010-08-18 Thread goutham mandadi
t_by_xpath("//ar...@href='www5.snapfish.com/snapfish/youraccount' ]").click waht might be the reason for this anyone help me Thankyou, Goutham this is code i am using On Tue, Aug 17, 2010 at 10:52 PM, Charley Baker wrote: > Shouldn't be in site_ruby, that's go

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

2010-08-19 Thread goutham mandadi
t%22%3EMain>account page this is the codei have written Can anyone help me on this Thanks, Goutham On Wed, Aug 18, 2010 at 11:21 PM, Ethan wrote: > I don't think that you should be using element_by_xpath at all. It does not > return a Watir::Element. You should use a normal eleme

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

2010-08-19 Thread goutham mandadi
ie.cell(:xpath,"//a...@href='http://www.snapfish.com/snapfish/youraccount']/ ").click sorry thanks, goutham On Thu, Aug 19, 2010 at 9:01 PM, goutham mandadi wrote: > hai ethan thanks a lot its working now i used :href inside area bt when > using :xpath i am getting

Re: [wtr-general] using regular expression

2010-08-22 Thread goutham mandadi
Hai Pallavi , Thanks alot for your reply it is working ,suppose if i am not having numbers how can i do that example :checkbox_one checkbox_two checkbox_three are the checkbox names for 3 different users the text at the end is changing so my script is not working. i ne

Re: [wtr-general] watir dynamic value

2010-09-05 Thread goutham mandadi
Hi nix, Try this ie.link(:xpath,"//a...@href='http://xyz/foo/abcd/detail?target=details ']/").click Hope this works not sure about it Regards, Goutham On Sun, Sep 5, 2010 at 11:26 PM, nix wrote: > Iam unable to click on a dynamically generated value. Below is th

Re: [wtr-general] using verify method

2010-09-14 Thread goutham mandadi
Thanks a lot mahesh,Usman and Keith for ur replies i will try this On Tue, Sep 14, 2010 at 3:11 PM, Keith Hughes wrote: > Kartheek > This should work, > > require 'watir/testcase' > require 'watir-webdriver' > class Test_google_ff def setup > @Browser = Watir::Browser.new(:firefox) >