Hi, Im a newbie to Watir and Ruby. My problem is that when I try to
open an IE browser, it fails. Firefox works. I would like to be able
to use both browsers at will. I verified that I physically have a
file called ie.rb in the following directory: C:\Ruby1\lib\ruby\gems
.
On Mar 13, 10:56 am, John Fitisoff jfitis...@yahoo.com wrote:
require 'watir/browser'
Watir::Browser.default = 'ie'
b = Watir::Browser.new
--- On Fri, 3/13/09, bert tumbaol...@yahoo.com wrote:
From: bert tumbaol...@yahoo.com
Subject: [wtr-general] Error when trying to open Watir::IE
Hi,
Im trying to check a checkbox on the following element using xpath but
no matter what I try it doesnt seem to work. I keep getting an
error:
(Watir::Exception::UnknownObjectException):
HTML:
input type=checkbox onclick=javascript:toggleOutputField('data://
Demographic/Gender',
Thanks in advance!
I am trying to click on the following element using xpath by
referencing its unique onclick property:
a onclick=dijit.byId('queryDetail').href='DISPLAY-QUERY-SUMMARY.do?
taskId=6type=details'; dijit.byId('queryDetail').show(); return
false; href=details/a
I have tried
ie.link(:xpath, //a[contains(@onclick, 'taskId=6')]).click
I may be missing a less complicated way to do this, though. :)
Thanks
Bill
On Tue, Sep 29, 2009 at 6:55 PM, bert tumbaol...@yahoo.com wrote:
Thanks in advance!
I am trying to click on the following element using xpath