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

[Wtr-general] How can I click h4 headline?

2007-07-03 Thread Zeljko
I have a h4 headline that I have to click. Create a new project This does not work. ie.h4(:id, "addproject").click Is there a way to click it? Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-gen

Re: [Wtr-general] How can I click h4 headline?

2007-07-03 Thread Angrez Singh
Try this: ie.element_by_xpath("//[EMAIL PROTECTED]'addproject']").click() - Angrez On 7/3/07, Zeljko <[EMAIL PROTECTED]> wrote: I have a h4 headline that I have to click. Create a new project This does not work. ie.h4(:id, "addproject").click Is there a way to click it? Zeljko __

Re: [Wtr-general] How can I click h4 headline?

2007-07-03 Thread Željko Filipin
Angrez, Thanks a lot. It works. Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How can I click h4 headline?

2007-07-03 Thread Bret Pettichord
Zeljko wrote: > I have a h4 headline that I have to click. > > Create a new project > > This does not work. > > ie.h4(:id, "addproject").click > > Is there a way to click it? > class H4 < NonControlElement TAG = 'H4' end module Container def h4(how, what) return H4.new(sel

Re: [Wtr-general] Problem with attach using ":title"

2007-07-03 Thread Bret Pettichord
marekj wrote: > > hmmm... I was thinking that if I have 3 scripts running at the same > time with -b switch they would get confused at which window to talk to. Take a look at concurrent_search.rb: require 'thread' require 'watir' def test_google ie = Watir::IE.start('http://www.google.com')

Re: [Wtr-general] Why Watir Has Bugs, was: Can't install Watir - Error opening file for writing: \watir\AboutItx.chm

2007-07-03 Thread Bret Pettichord
Željko Filipin wrote: > On 6/26/07, *Chris McMahon* <[EMAIL PROTECTED] > > wrote: > > Far better to have a test tool that actually works, with some non-core > tests pointing the way to make it better. :-) > > So true. :) > (But confusing to new users.) > > Zeljko

[Wtr-general] Anyone using Ruby CruiseControl?

2007-07-03 Thread Derek Wong
Hi folks, here's the situation. I have the following installed: ruby 1.8.2 (2004-12-25) [i386-mswin32] WATIR 1.5.1.1192 win32-process 0.5.0 windows-pr 0.6.6 rake 0.7.3 rails 1.2.3 cruisecontrolrb 1.1.0 (CCRB from now on) My tests seem to be executed by CCRB but the dashboard web front-end doesn

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