Thank you all so much!
ie.text_field(:name,grade_result_list[#{x}].beanCount).set(800)
Worked like a charm.
Regards,
Frank
"This e-mail and any attachments may contain confidential and privileged information. Any dissemination or use of the information by a person other than
Hello!
I need to find and click a link with an specific
url, which depends of an item id number:
itemId="22053541"
$browser.link(:url,
/sell?act=categsubAct=similarItemsiteID=MLAitemID=#{itemId}/).click
When i run this, watir shows me:
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1939:in
Take a look at winClicker.rb, clickWindowsButton should work, something like this: require 'watir/winClicker'clicker = WinClicker.newclicker.clickWindowsButton('File Download', 'Save')-Charley
On 6/28/06, Andy Case [EMAIL PROTECTED] wrote:
Hi,
I get the following
Pop-up from my
Add a back slash before the question mark - like
this:
$browser.link(:url,
/sell\?act=categsubAct=similarItemsiteID=MLAitemID=#{itemId}/).click
itemId="22053541"
$browser.link(:url,
/sell?act=categsubAct=similarItemsiteID=MLAitemID=#{itemId}/).click
When i run this, watir shows me:
I got an error using
the xpath feature with watir 1.5.1.1045.
ie.link(:xpath,'//a[contains(string(.),"Search
Now")]').click
I have attached the
error document and the stack trace below.
The document seems
to be valid xml and other xpath tools work fine
REXML::ParseException:
Thank you so much Ravishankar!
winmail.dat___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I ended up having to put a sleep 2 in winClicker to get this
to click the button. At approximately line 299 in WinClicker.rbthis
section:
if d != -1
makeWindowActive(hwnd)
sleep 2
clickButtonWithHandle(d)
else
After I added this then it would click the specified button.
On 6/29/06, David Solis [EMAIL PROTECTED] wrote:
I want to be able to detect any open browsers before my tests starts running. Does anybody have an idea on how to detect open browsers?
Look at Watir::IE.close_all in watir/close_all.rb in trunk or a recent build. It finds browsers and then closes