You cannot post messages because only members can post, and you are not currently a member.
Description:
General discussion of using Watir for testing.
|
|
|
table_to_ array
|
| |
Please let me know how to get a html table into ruby array. then I can use the table again without accessing to html. thanks
|
|
Cannot install watir gem
|
| |
Trying in an organisation with a proxy to install watir. The proxy has
hostname = proxyhost and port = 8080. I have set up an environment
variable (according to FAQ advice) as:
HTTP_PROXY=[link]
And when I attempt to install watir I get this error:
D:\Ruby\bin>gem install watir... more »
|
|
error: undefined method 'document' for 31:Fixnum
|
| |
I have a script which can successfully reach some pages on a site but
when I use the same methods to reach pages that take a longer time to
fetch (say 9 seconds) the page will appear in the browser but Watir
execution stops because I get this error...
c:/ruby/lib/ruby/gems/1.8/gems /watir-1.5.6/./watir/ie.rb:498 :in... more »
|
|
Problem automating the new Excite Mail due to nested divs
|
| |
Hello,
I am new to Ruby and Watir and as my first assignment, I am trying to
fix the ruby script which automated the opening and browsing messages
in the Excite Mail. After Excite changed interface, the script has
been failing.
I used IE toolbar to see the underlying elements in the page and it... more »
|
|
Converting Dates Question
|
| |
How can I convert the following dateformate?
puts "2007-12-30".strftime("%m/%d/% Y")
puts "2007-12-30".to_a.strftime("%m /%d/%Y")
The I've pulled the date from the database, but I want to format as
12/30/2007.
|
|
IE POP UP Window
|
| |
Hi,
I am trying to test IE pop up window that looks similar to the 'Reload
Page with Form' ([link]
+Form) with OK and Cancel button. I need to click on the OK and Cancel
buttons, and have tried the following but it freezes up Watir:
$ie.modal_dialog.button(:text, "Cancel").click... more »
|
|
whether the frame support the XPath or not?
|
| |
hi, all For my script like this, ie.frame(:name,"LeftFrame").te xt_field(:xpath,"//input[@name ='wiston']/").set("hello") it throws error like below, C:/ruby/lib/ruby/gems/1.8/gems /watir-1.5.6/./watir/input_ele ments.rb:6:in `locate': undefined method `element_by_xpath' for #<Watir::Frame:0x3a1bb18> (NoMethodError)... more »
|
|
How do make the element_by_xpath work?
|
| |
hi, all In my html file, there are some script like below, <input type = "text" id="id1", name="wiston" > <br> <input type = "text" id="id2", name="wiston" > <br> <input type = "text" id="id3", name="wiston" > <br> develop the watir code like this, ie=Watir::IE.attach(:title, /title/) ie.element_by_xpath("//input[@ name='wiston']/").set("hello")... more »
|
|
Tool to check a website for 404 errors
|
| |
Hello all,
Just a general question.
I was wondering if there is an opensource tool or any provision in
Watir, that will help me check any website for 404 errors.
I am planning to create one using Watir, but thought of checking if
there is already something available.
Thanks and regards,... more »
|
|
How to run tests in RSpec for Firefox
|
| |
Hi,
I use RSpec framework to run my tests. For IE I can run all tests like
require 'folder/TEst1.rb'
require 'folder/TEst2.rb'
require 'folder/TEst3.rb'
or
Dir['folder1/*.rb'].each {|test| require test }
Dir['folder2/*.rb'].each {|test| require test }
But when I try to run it in FF all tests fails. What is going wrong... more »
|
|
|