Can some one tell how to how to reference the "certificate selection
window" which is a list_box with RAutomation?  I tried something like
this, but it returned no items.

require "rautomation"
require "watir-webdriver"

b = Watir::Browser.new :ie
b.goto(url)

[...now the choose a digital certificate" window opens...]
w = RAutomation::Window.new(:title => /digital certificate/i)

[Now select a certificate by its name. To do that I need to get the
handle of list box first, so that I can refer by items[]. I could not
do it because I dont know what an id is...I tried several things like
this ]

lb = w.list_box(:id => "[what do i write here]")
lb = w.list_box(:class => /ListBox/i)
lb = w.list_box(:text => /Certificate List/i)

Any help please?

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to