Re: [Wtr-general] Unable to click on links with the same text

2007-07-03 Thread Lavanya Lakshman
Thanks Zelijko!!! It worked :) ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Unable to click on links with the same text

2007-07-03 Thread Željko Filipin
On 7/3/07, Lavanya Lakshman <[EMAIL PROTECTED]> wrote: am using latest version of Watir 1.4.1 You need Watir 1.5. Get it here: http://wiki.openqa.org/display/WTR/Development+Builds Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org htt

Re: [Wtr-general] Unable to click on links with the same text

2007-07-03 Thread Lavanya Lakshman
I will revise my html file to make it more clear: Title of page This is my first homepage. This text is bold http://www.google.co.in";>url http://www.google.co.in";>url To answer both of your question, a) I am using latest version of Watir 1.4.1 b) while trying to access using href also i g

Re: [Wtr-general] Unable to click on links with the same text

2007-07-02 Thread Željko Filipin
Lavanya, This works for me. What version of Watir are you using? This works only in newer versions. Zeljko -- ZeljkoFilipin.com ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Unable to click on links with the same text

2007-07-02 Thread Lavanya Lakshman
Following is my sample script : Title of page This is my first homepage. This text is bold Text to be displayed Text to be displayed Now as per Watir syntax, I am trying to click on link 2: # This allows test script to use Watir tool require 'watir' require 'watir/watir_simple.rb' include

Re: [Wtr-general] Unable to click on links with the same text

2007-07-02 Thread Angrez Singh
Try this: ie.link(:href, "bcd").click - Angrez On 7/2/07, Lavanya Lakshman <[EMAIL PROTECTED]> wrote: Following is my sample script : Title of page This is my first homepage. This text is bold Text to be displayed Text to be displayed Now as per Watir syntax, I am trying to click on l