Has no one used Watir/Watir-Webdriver with Rautomation or Autoit on a SSL site to select a specific certificate? Are my stakeholders right when they say "never heard of watir, probably not a tool to use at this moment?". Come on guys, someone must have used Watir/Watir- Webdriver to select a specific certificate? I can feel the power of Wat* over selenium but I need to prove it...the time is ticking....anyone...
Its really strange that people invest such an effort and time to produce something beautiful as Watir yet keep it a secret by not making it easier for newbies to use it... what's the point?. On Sep 30, 12:02 pm, bala <[email protected]> wrote: > 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]
