[wtr-general] undefined method `element_by_xpath' for #Watir::IE:0x2bbabf0 (NoMethodError)

2010-08-17 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-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


[wtr-general] Jssh for Firefox 4.0 beta3

2010-08-17 Thread al3kc
Does any one has jssh for FF4.0?

-- 
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] click on html element

2010-08-17 Thread TCBlues
Hi, I need to click on an html element using watir and firewatir, for
example:
tdA/td
Since this is not a button or a link... how can I do it?

-- 
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: click on html element

2010-08-17 Thread TCBlues
the html I need to access has no ids or names:
table... tdA/tdtdB/td/table
and also sometimes I need to click on words without any tag:
html...body...div.../divtable.../table
The text I want to click
/body/html
On 17 ago, 12:27, TCBlues tcbl...@gmail.com wrote:
 Hi, I need to click on an html element using watir and firewatir, for
 example:
 tdA/td
 Since this is not a button or a link... how can I do it?

-- 
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: click on html element

2010-08-17 Thread TCBlues
is it possible to click any element using an id... something like
ie.element(:id,myid).click

On 17 ago, 12:45, TCBlues tcbl...@gmail.com wrote:
 the html I need to access has no ids or names:
 table... tdA/tdtdB/td/table
 and also sometimes I need to click on words without any tag:
 html...body...div.../divtable.../table
 The text I want to click
 /body/html
 On 17 ago, 12:27, TCBlues tcbl...@gmail.com wrote:



  Hi, I need to click on an html element using watir and firewatir, for
  example:
  tdA/td
  Since this is not a button or a link... how can I do it?

-- 
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 find element using xpath

2010-08-17 Thread chandu.tennety
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?

Chandu

On Aug 17, 12:57 am, goutham mandadi goutham.mand...@gmail.com
wrote:
 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: 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.com wrote:

  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 help me out
  waiting for your suggestions

  Thanks,
  Goutham

  On Mon, Aug 16, 2010 at 2:07 PM, Angrez Singh ang...@gmail.com 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
  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.cawrote:

  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.comwrote:

  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 readhttp://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 readhttp://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 readhttp://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 readhttp://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 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 chandu.tenn...@gmail.comwrote:

 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?

 Chandu

 On Aug 17, 12:57 am, goutham mandadi goutham.mand...@gmail.com
 wrote:
  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: 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.com wrote:
 
   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 help me out
   waiting for your suggestions
 
   Thanks,
   Goutham
 
   On Mon, Aug 16, 2010 at 2:07 PM, Angrez Singh ang...@gmail.com
 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
   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.comwrote:
 
   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 readhttp://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
 watir-general%2bunsubscr...@googlegroups.comwatir-general%252bunsubscr...@googlegroups.com
 
 
   --
   Before posting, please readhttp://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
 watir-general%2bunsubscr...@googlegroups.comwatir-general%252bunsubscr...@googlegroups.com
 
 
   --
 Before posting, please readhttp://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
 watir-general%2bunsubscr...@googlegroups.comwatir-general%252bunsubscr...@googlegroups.com
 
 
   --
   Before posting, please readhttp://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
 watir-general%2bunsubscr...@googlegroups.comwatir-general%252bunsubscr...@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

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

2010-08-17 Thread Chuck van der Linden
The most likely explanation when you see 'undefined method' (and you
haven't mispelled the method or something like that)  is that the
browser object is no longer pointing at an instance of a web browser.

That can happen in IE when the security context of the site changes
(e.g. the browser starts up in 'internet' but you are working with a
'trusted site'.   it's almost like IE starts a fresh browser instance
and discards the old one, on the fly.

Try using something like

browser = Watir::IE.attach(:how, what)(how usually being either
title or url)  to ensure you are pointing at an instance a browser
session, immediately before the step that is failing.

On Aug 16, 10:07 pm, goutham mandadi goutham.mandad...@gmail.com
wrote:
 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-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com


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

2010-08-17 Thread Chuck van der Linden
As an alternative, could you perhaps persuade your developers to add
an attribute to the areas that would make it easier for you to
identify them (such as and ID or Name?)

This also makes me wonder on the dev side, why we don't support
'title' as a means to identify area's ?  is there some technical
challenge that prevents that?

On Aug 15, 8:39 pm, goutham mandadi goutham.mand...@gmail.com wrote:
 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 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.comwrote:

  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 readhttp://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...@goog
   legroups.com

   --
  Before posting, please readhttp://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...@goog 
  legroups.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 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 sqa...@gmail.comwrote:

 As an alternative, could you perhaps persuade your developers to add
 an attribute to the areas that would make it easier for you to
 identify them (such as and ID or Name?)

 This also makes me wonder on the dev side, why we don't support
 'title' as a means to identify area's ?  is there some technical
 challenge that prevents that?

 On Aug 15, 8:39 pm, goutham mandadi goutham.mand...@gmail.com wrote:
  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 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 readhttp://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
 watir-general%2bunsubscr...@goog legroups.com
 
--
   Before posting, please readhttp://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
 watir-general%2bunsubscr...@goog legroups.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 find element using xpath

2010-08-17 Thread Eric Mathiesen
You could also use orb and .flash the index.

On Aug 17, 2010 8:23 AM, goutham mandadi goutham.mand...@gmail.com
wrote:

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 sqa...@gmail.com
wrote:   As an alternativ...

-- 
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: undefined method `element_by_xpath' for #Watir::IE:0x2bbabf0 (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 sqa...@gmail.comwrote:

 The most likely explanation when you see 'undefined method' (and you
 haven't mispelled the method or something like that)  is that the
 browser object is no longer pointing at an instance of a web browser.

 That can happen in IE when the security context of the site changes
 (e.g. the browser starts up in 'internet' but you are working with a
 'trusted site'.   it's almost like IE starts a fresh browser instance
 and discards the old one, on the fly.

 Try using something like

 browser = Watir::IE.attach(:how, what)(how usually being either
 title or url)  to ensure you are pointing at an instance a browser
 session, immediately before the step that is failing.

 On Aug 16, 10:07 pm, goutham mandadi goutham.mandad...@gmail.com
 wrote:
   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-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 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 mathiese...@gmail.comwrote:

 You could also use orb and .flash the index.

  On Aug 17, 2010 8:23 AM, goutham mandadi goutham.mand...@gmail.com
 wrote:

 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 sqa...@gmail.com
 wrote:   As an alternativ...

  --
  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 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
goutham.mand...@gmail.comwrote:

 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 
 mathiese...@gmail.comwrote:

 You could also use orb and .flash the index.

  On Aug 17, 2010 8:23 AM, goutham mandadi goutham.mand...@gmail.com
 wrote:

 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 sqa...@gmail.com
 wrote:   As an alternativ...

  --
  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 find element using xpath

2010-08-17 Thread Charley Baker
Shouldn't be in site_ruby, that's gotta be version 1.4.1 with the Watir
installer. Uninstall that and make sure you're reinstall the Watir gem,
worst case wipe the ruby directory and install the latest Watir gem, should
be 1.6.5 and run from the gem directory, not site_ruby.


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


On Tue, Aug 17, 2010 at 11:08 AM, goutham mandadi goutham.mand...@gmail.com
 wrote:

 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 
 goutham.mand...@gmail.com wrote:

 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 
 mathiese...@gmail.comwrote:

 You could also use orb and .flash the index.

  On Aug 17, 2010 8:23 AM, goutham mandadi goutham.mand...@gmail.com
 wrote:

 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 sqa...@gmail.com
 wrote:   As an alternativ...

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


[wtr-general] Re: How to verify a result in a pop-up message dialog?

2010-08-17 Thread orde
Check out: http://wiki.openqa.org/display/WTR/Pop+Ups

Hope it helps.

orde

On Aug 17, 7:33 am, Chan Nguyen atbl1...@gmail.com wrote:
 Hi Charley,

 Thanks for your response, however I think it's too general for a
 newbie for me. By mailing list, did you mean searching in this 'watir'
 group? Sorry, I haven't done anything like this before. How do we know
 which type of dialog box was popped up? Looking at the HTML source?
 Can you give me simple example? Thanks,

 On Aug 13, 1:04 pm, Charley Baker charley.ba...@gmail.com wrote:



  Check in the mailing list and the main watir site for the same. First
  identify what kind of dialog box you have and then work from there.

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

  On Fri, Aug 13, 2010 at 1:49 PM, Chan Nguyen atbl1...@gmail.com wrote:
   Hi Kevy,
   Is there any other way to work around this problem without touching
   AutoIt?

   On Aug 13, 12:16 pm, Super Kevy kpe...@scholarshipamerica.org wrote:
You may consider the AutoIT extension for reading the content of the
popup window

On Aug 13, 11:06 am, Chan Nguyen atbl1...@gmail.com wrote:

 Hi Arihan,
 It is a Windows PopUp. When I manually run it, I use FF to locate the
 text inside that Windows; however, when I check w/
 contains_text( Some Search Results ), it failed :( . Can you show me
 how to handle this situation?
 Thanks,

 On Aug 13, 9:03 am, arihan sinha arihan.si...@gmail.com wrote:

  is this a browser popup or window popup.

  if its browser pop up then its straight forward but if its window
   popup
  then  you have to handle it differently

  Cheers
  A

  On Fri, Aug 13, 2010 at 4:45 PM, Chan Nguyen atbl1...@gmail.com
   wrote:
   Hi everyone,
   My situation is that I fill in a form then click search button. 
   The
   result box will pop up with number of searches found. I want to
   verify
   the result in this textbox but I really have no idea how? Anyone
   could
   share me a hint?

   Thanks,

   --
   Before posting, please readhttp://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...@goog
legroups.com
   watir-general%2bunsubscr...@goog­legroups.com- Hide quoted text -

 - Show quoted text -

   --
   Before posting, please readhttp://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...@goog
legroups.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