I will revise my html file to make it more clear:
html
head
titleTitle of page/title
/head
body
This is my first homepage. bThis text is bold/b
a href=http://www.google.co.in;url/a
a href=http://www.google.co.in;url/a
/body
/html
To answer both of your question,
a) I am using latest version of
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
I have a h4 headline that I have to click.
h4 id=addprojectCreate a new project/h4
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
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.
h4 id=addprojectCreate a new project/h4
This does not work.
ie.h4(:id, addproject).click
Is there a way to click it?
Angrez,
Thanks a lot. It works.
Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Zeljko wrote:
I have a h4 headline that I have to click.
h4 id=addprojectCreate a new project/h4
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
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')
Željko Filipin wrote:
On 6/26/07, *Chris McMahon* [EMAIL PROTECTED]
mailto:[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
It is
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
Thanks Zelijko!!!
It worked :)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
10 matches
Mail list logo