[wtr-general] Re: FireWatir: Link click error

2008-12-02 Thread Girish Jindal

Hi Bret,

As told by you that I am using FireWatir 1.2.0, that is correct and I
have updated it to 1.6.1. But still I am facing the same issue.

Regards,
Girish

On Tue, Dec 2, 2008 at 1:51 PM, Girish Jindal <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am facing an issue using  FireWatir. FireWatir is not able to click the
> link: ff.link(:text, "Sign Out").click. I am using Watir 1.6.1
>
> It is throwing exception
>   1) Error:
> test_AccountOverview(Accounts):
> FireWatir::Exception::UnknownObjectException: Unable to locate object, using
> url and http://aaa3/client/AcctOverview.aspx
>
> C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.2.0/./MozillaBaseElement.rb:866:in
> `assert_exists'
>
> C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.2.0/./MozillaBaseElement.rb:1019:in
> `click'
> C:/WS/OLB/test-Multi/Accounts.rb:25:in `test_AccountOverview'
>
>
> Does anyone know why I am getting this error? How can I fixed?
>
> Thank you very much!
> Regards
> Girish
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: FireWatir: Link click error

2008-12-02 Thread Girish Jindal

Thanks for the reply,

Do I need to install FireWatir separately. I am using Watir 1.6.1 and
my understanding is that Watir 1.6.1 works for both IE and Firefox.
And I do not need to install it separately.

Yes it was incorrect code the correct one is :

FireWatir::Exception::UnknownObjectException: Unable to locate object,
using url and http://pibqa1/client/AcctOverview.aspx

C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.2.0/./MozillaBaseElement.rb:866:in
`assert_exists'

C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.2.0/./MozillaBaseElement.rb:1019:in
`click'
C:/WS/OLB/test-Multi/Accounts.rb:25:in `test_AccountOverview'

Regards,
Girish

On Tue, Dec 2, 2008 at 10:25 PM, Michael Hwee <[EMAIL PROTECTED]> wrote:
>
> I don't think you are looking at the right code.
> The error is from defining object using 'url', not from 'text'.
>
> Michael
>
> 
> From: Girish Jindal <[EMAIL PROTECTED]>
> To: watir-general@googlegroups.com
> Sent: Tuesday, December 2, 2008 12:21:08 AM
> Subject: [wtr-general] FireWatir: Link click error
>
> Hello,
>
> I am facing an issue using  FireWatir. FireWatir is not able to click the 
> link: ff.link(:text, "Sign Out").click. I am using Watir 1.6.1
>
> It is throwing exception
>   1) Error:
> test_AccountOverview(Accounts):
> FireWatir::Exception::UnknownObjectException: Unable to locate object, using 
> url and http://aaa3/client/AcctOverview.aspx
> 
> C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.2.0/./MozillaBaseElement.rb:866:in 
> `assert_exists'
> 
> C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.2.0/./MozillaBaseElement.rb:1019:in
>  `click'
> C:/WS/OLB/test-Multi/Accounts.rb:25:in `test_AccountOverview'
>
>
> Does anyone know why I am getting this error? How can I fixed?
>
> Thank you very much!
> Regards
> Girish
>
>
>
> >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: FireWatir: Link click error

2008-12-02 Thread Michael Hwee
I don't think you are looking at the right code.
The error is from defining object using 'url', not from 'text'.

Michael





From: Girish Jindal <[EMAIL PROTECTED]>
To: watir-general@googlegroups.com
Sent: Tuesday, December 2, 2008 12:21:08 AM
Subject: [wtr-general] FireWatir: Link click error

Hello,

I am facing an issue using  FireWatir. FireWatir is not able to click the link: 
ff.link(:text, "Sign Out").click. I am using Watir 1.6.1

It is throwing exception 
  1) Error:
test_AccountOverview(Accounts):
FireWatir::Exception::UnknownObjectException: Unable to locate object, using 
url and http://aaa3/client/AcctOverview.aspx

C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.2.0/./MozillaBaseElement.rb:866:in 
`assert_exists'

C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.2.0/./MozillaBaseElement.rb:1019:in 
`click'
C:/WS/OLB/test-Multi/Accounts.rb:25:in `test_AccountOverview'


Does anyone know why I am getting this error? How can I fixed?

Thank you very much!
Regards
Girish
 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: FireWatir: Link click error

2008-12-02 Thread Bret Pettichord

1. Your stack trace indicates that you are using FireWatir 1.2.0, not 1.6.1
2. Your stack trace error is inconsistent with the code you provide. 
Please double check the actual code on line 25 of Accounts.rb

Bret

Girish Jindal wrote:
> Hello,
>
> I am facing an issue using  FireWatir. FireWatir is not able to click 
> the link: *ff.link(:text, "Sign Out").click*. I am using Watir 1.6.1
>
> It is throwing exception
>   1) Error:
> test_AccountOverview(Accounts):
> FireWatir::Exception::UnknownObjectException: Unable to locate object, 
> using url and http://aaa3/client/AcctOverview.aspx
> 
> C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.2.0/./MozillaBaseElement.rb:866:in 
> `assert_exists'
> 
> C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.2.0/./MozillaBaseElement.rb:1019:in
>  
> `click'
> C:/WS/OLB/test-Multi/Accounts.rb:25:in `test_AccountOverview'
>
>
> Does anyone know why I am getting this error? How can I fixed?
>
> Thank you very much!
> Regards
> Girish
>
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---