[wtr-general] Click on link with href Javascript:calllogout()

2011-01-19 Thread Aravind
Hi I am trying to click on a link with href = javascript:callLogOut(); and text = Logout but failed to click. Please help thanks aravind -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Click on link with href Javascript:calllogout()

2011-01-19 Thread Basim Baassiri
Hi Aravind Do you have an example of the code that is causing you the problem? What code have you tried? When you say failed, is the application under test failed to respond or is there an exception in the watir script? Thanks Basim On Wed, Jan 19, 2011 at 7:24 AM, Aravind

[wtr-general] [wtr-General] Click on link with href Javascript:calllogout()

2011-01-19 Thread Aravind
-- Forwarded message -- From: Aravind aravindredd...@gmail.com Date: Wed, Jan 19, 2011 at 5:54 PM Subject: Click on link with href Javascript:calllogout() To: watir-general@googlegroups.com Hi I am trying to click on a link with href = javascript:callLogOut(); and text = Logout

Re: [wtr-general] Click on link with href Javascript:calllogout()

2011-01-19 Thread Željko Filipin
On Wed, Jan 19, 2011 at 1:24 PM, Aravind aravindredd...@gmail.com wrote: I am trying to click on a link with href = javascript:callLogOut(); and text = Logout but failed to click. Show us your code. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio

Re: [wtr-general] Click on link with href Javascript:calllogout()

2011-01-19 Thread Aravind
thanks for the reply lia href=javascript:callLogOut(); onclick='javascript:return navigateTo(/abcd/LogOut.jsp);'Logout/a/li Can you please give me the code to click on logout link thanks aravind On Wed, Jan 19, 2011 at 7:41 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed,

Re: [wtr-general] Click on link with href Javascript:calllogout()

2011-01-19 Thread Željko Filipin
2011/1/19 Aravind aravindredd...@gmail.com lia href=javascript:callLogOut(); onclick='javascript:return navigateTo(/abcd/LogOut.jsp);'Logout/a/li What have you tried so far? Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Click on link with href Javascript:calllogout()

2011-01-19 Thread Željko Filipin
On Wed, Jan 19, 2011 at 3:45 PM, Aravind aravindredd...@gmail.com wrote: I have tried using both href and text as perameters. Show us the code! :) (And error messages, if any.) Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Click on link with href Javascript:calllogout()

2011-01-19 Thread Michael Hwee
Did you try $ie.link(:text,'Logout').click Michael From: Aravind aravindredd...@gmail.com To: watir-general@googlegroups.com Sent: Wed, January 19, 2011 4:46:52 AM Subject: Re: [wtr-general] Click on link with href Javascript:calllogout() thanks

Re: [wtr-general] Click on link with href Javascript:calllogout()

2011-01-19 Thread Michael Hwee
Also did you try $ie.link(:text,'Logout').fire_event(onclick) From: Aravind aravindredd...@gmail.com To: watir-general@googlegroups.com Sent: Wed, January 19, 2011 6:45:40 AM Subject: Re: [wtr-general] Click on link with href Javascript:calllogout() Hi I