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

2010-08-24 Thread Željko Filipin
On Tue, Aug 17, 2010 at 6:46 AM, goutham mandadi goutham.mand...@gmail.com
wrote:
 undefined method `element_by_xpath'

Your Watir version is?

Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them
vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi

-- 
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


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

2010-08-16 Thread Adam Reed
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 click on the script, select Edit.  The output pane can be
enabled using F8 if it is not shown.

Alternatively, you can open a DOS prompt and browse to the location of
the script you would like to run.  Execute the script from the command
line, and the DOS window will not close.

Good luck,
Adam

On Aug 16, 10:46 am, goutham goutham.mand...@gmail.com wrote:
 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, 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


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

2010-08-16 Thread goutham mandadi
Hai Adam,

Thanks for your reply i have installed scite and run the script it is giving
the following message

ruby New Ruby Program.rb
ruby: No such file or directory -- New (LoadError)
Exit code: 1
the script is in my desktop should we place it in any specific directory to
execute

Thanks,
Goutham

On Mon, Aug 16, 2010 at 9:24 PM, Adam Reed reed.a...@gmail.com 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 click on the script, select Edit.  The output pane can be
 enabled using F8 if it is not shown.

 Alternatively, you can open a DOS prompt and browse to the location of
 the script you would like to run.  Execute the script from the command
 line, and the DOS window will not close.

 Good luck,
 Adam

 On Aug 16, 10:46 am, goutham goutham.mand...@gmail.com wrote:
  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, 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.comwatir-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


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

2010-08-16 Thread Charley Baker
Not sure on that one, check the unittests for watir. I've created and built
out a test base of over 10k tests, not using xpath. Others are more
qualified to answer.


Charley Baker
Lead Developer, Watir, http://watir.com


On Mon, Aug 16, 2010 at 11:31 AM, goutham mandadi goutham.mand...@gmail.com
 wrote:

 Hi Charley,

 Thanks alot it is working fine now and one more issue is while using xpath
 i am getting the following error

 one.rb:6: undefined method `element_by_xpath' for #Watir::IE:0x2bbabf0
 (NoMethodError)
 ie.element_by_xpath(//ar...@href='www.snapfish.com/snapfish/youraccount']).click
 this is the element i am trying to find using xpath

 Thanks,
 Goutham

 On Mon, HiAug 16, 2010 at 10:07 PM, Charley Baker charley.ba...@gmail.com
  wrote:

 Name the file with no spaces, something like my_ruby_program.rb. Filenames
 are conventionally snake cased - lower case with underscores.

 Charley Baker
 Lead Developer, Watir, http://watir.com


   On Mon, Aug 16, 2010 at 10:04 AM, goutham mandadi 
 goutham.mand...@gmail.com wrote:

   Hai Adam,

 Thanks for your reply i have installed scite and run the script it is
 giving the following message

 ruby New Ruby Program.rb
 ruby: No such file or directory -- New (LoadError)
 Exit code: 1
 the script is in my desktop should we place it in any specific directory
 to execute

 Thanks,
 Goutham

On Mon, Aug 16, 2010 at 9:24 PM, Adam Reed reed.a...@gmail.comwrote:

 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 click on the script, select Edit.  The output pane can be
 enabled using F8 if it is not shown.

 Alternatively, you can open a DOS prompt and browse to the location of
 the script you would like to run.  Execute the script from the command
 line, and the DOS window will not close.

 Good luck,
 Adam

 On Aug 16, 10:46 am, goutham goutham.mand...@gmail.com wrote:
  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, 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.comwatir-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.comwatir-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.comwatir-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.comwatir-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


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

2010-08-16 Thread Eric Mathiesen
My first piece of advice would be not to use x-path, but any of the other
items to identify ( ID, Name, URL, Etc...)

Cheers,
Eric

On Mon, Aug 16, 2010 at 10:59 AM, Charley Baker charley.ba...@gmail.comwrote:

 Not sure on that one, check the unittests for watir. I've created and built
 out a test base of over 10k tests, not using xpath. Others are more
 qualified to answer.


 Charley Baker
 Lead Developer, Watir, http://watir.com


 On Mon, Aug 16, 2010 at 11:31 AM, goutham mandadi 
 goutham.mand...@gmail.com wrote:

 Hi Charley,

 Thanks alot it is working fine now and one more issue is while using xpath
 i am getting the following error

 one.rb:6: undefined method `element_by_xpath' for #Watir::IE:0x2bbabf0
 (NoMethodError)
 ie.element_by_xpath(//ar...@href='www.snapfish.com/snapfish/youraccount'http://www.snapfish.com/snapfish/youraccount%27]).click
 this is the element i am trying to find using xpath

 Thanks,
 Goutham

 On Mon, HiAug 16, 2010 at 10:07 PM, Charley Baker 
 charley.ba...@gmail.com wrote:

 Name the file with no spaces, something like my_ruby_program.rb.
 Filenames are conventionally snake cased - lower case with underscores.

 Charley Baker
 Lead Developer, Watir, http://watir.com


   On Mon, Aug 16, 2010 at 10:04 AM, goutham mandadi 
 goutham.mand...@gmail.com wrote:

   Hai Adam,

 Thanks for your reply i have installed scite and run the script it is
 giving the following message

 ruby New Ruby Program.rb
 ruby: No such file or directory -- New (LoadError)
 Exit code: 1
 the script is in my desktop should we place it in any specific directory
 to execute

 Thanks,
 Goutham

On Mon, Aug 16, 2010 at 9:24 PM, Adam Reed reed.a...@gmail.comwrote:

 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 click on the script, select Edit.  The output pane can be
 enabled using F8 if it is not shown.

 Alternatively, you can open a DOS prompt and browse to the location of
 the script you would like to run.  Execute the script from the command
 line, and the DOS window will not close.

 Good luck,
 Adam

 On Aug 16, 10:46 am, goutham goutham.mand...@gmail.com wrote:
  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, 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.comwatir-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.comwatir-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.comwatir-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.comwatir-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.comwatir-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


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

2010-08-16 Thread goutham mandadi
Hi ,

I am using xpath to identify the following element but it is displaying
error

one.rb:6: undefined method `element_by_xpath' for #Watir::IE:0x2bbabf0
(NoMethodError)
ie.element_by_xpath(//area[@
href='www.snapfish.com/snapfish/youraccount'http://www.snapfish.com/snapfish/youraccount%27]).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 mathiese...@gmail.comwrote:

 My first piece of advice would be not to use x-path, but any of the other
 items to identify ( ID, Name, URL, Etc...)

 Cheers,
 Eric


 On Mon, Aug 16, 2010 at 10:59 AM, Charley Baker 
 charley.ba...@gmail.comwrote:

 Not sure on that one, check the unittests for watir. I've created and
 built out a test base of over 10k tests, not using xpath. Others are more
 qualified to answer.


 Charley Baker
 Lead Developer, Watir, http://watir.com


 On Mon, Aug 16, 2010 at 11:31 AM, goutham mandadi 
 goutham.mand...@gmail.com wrote:

 Hi Charley,

 Thanks alot it is working fine now and one more issue is while using
 xpath i am getting the following error

 one.rb:6: undefined method `element_by_xpath' for #Watir::IE:0x2bbabf0
 (NoMethodError)
 ie.element_by_xpath(//ar...@href='
 www.snapfish.com/snapfish/youraccount'http://www.snapfish.com/snapfish/youraccount%27]).click
 this is the element i am trying to find using xpath

 Thanks,
 Goutham

 On Mon, HiAug 16, 2010 at 10:07 PM, Charley Baker 
 charley.ba...@gmail.com wrote:

 Name the file with no spaces, something like my_ruby_program.rb.
 Filenames are conventionally snake cased - lower case with underscores.

 Charley Baker
 Lead Developer, Watir, http://watir.com


   On Mon, Aug 16, 2010 at 10:04 AM, goutham mandadi 
 goutham.mand...@gmail.com wrote:

   Hai Adam,

 Thanks for your reply i have installed scite and run the script it is
 giving the following message

 ruby New Ruby Program.rb
 ruby: No such file or directory -- New (LoadError)
 Exit code: 1
 the script is in my desktop should we place it in any specific
 directory to execute

 Thanks,
 Goutham

On Mon, Aug 16, 2010 at 9:24 PM, Adam Reed reed.a...@gmail.comwrote:

 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 click on the script, select Edit.  The output pane can be
 enabled using F8 if it is not shown.

 Alternatively, you can open a DOS prompt and browse to the location of
 the script you would like to run.  Execute the script from the command
 line, and the DOS window will not close.

 Good luck,
 Adam

 On Aug 16, 10:46 am, goutham goutham.mand...@gmail.com wrote:
  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, 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.comwatir-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.comwatir-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.comwatir-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.comwatir-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.comwatir-general%2bunsubscr...@googlegroups.com


  --
 Before posting, please read http://watir.com/support. In short: search
 before you ask, be nice.

 You received this