Hello people,
I do not know how to use the commands like click_link_with_url,
click_link_with_text etc., which are listed under the class 'Simple' in the
'rdoc' documentation of Watir (http://wtr.rubyforge.org/rdoc/index.html). When
I tried to use the command 'click_link_with_text' , Watir tells "undefined
method `click_link_with_text' for #<Watir::IE". The piece of code that I tried
to execute is:
require 'watir'
include Watir
require 'watir/watir_simple.rb'
ie = Watir::IE.attach(:url,/google/)
ie.text_field(:name,'q').set 'testing'
ie.click_link_with_text('Images')
p.s: I do not know whether the statement "require 'watir/watir_simple.rb'" is
correct or not.
Thanks in Advance,
Maloy.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6165&messageID=17294#17294
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general