[Wtr-general] Need help reading a file
Jassi Akkal
jsakkal at yahoo.com
Thu May 25 12:45:42 EDT 2006
Bret,
Thanks for the help. But it is not working for me and
here is my code
test_site2 = Watir::IE.attach(:url,
'http://gcmapp2.qa.kryptiq.com:8080/guardian/servlet/guardian/template/ItemChooser.vm?chooserType=CUSTOM_CONTRACT_DOCSET')
id =test_site2.cell(:text, "Arbitration").id
radio(:name, "selectionids", "id").set
test_site2.image(:id,"btnChooseSelected").click
Any help will be appreciated.
Thanks
Jassi Akkal
--- Bret Pettichord <bret at pettichord.com> wrote:
> id = ie.cell(:text, ''AmberGlen Medical Corporation
> Service Agreement -
> 2004").id
>
> On 5/24/06, Jassi Akkal <jsakkal at yahoo.com> wrote:
> >
> > I need help reading an itemname and returing
> > corressponding ID from this html code defined
> below.
> >
> > <td class="nameCell"
> >
>
id="b98e043c-2796-42a9-b4b1-b372e60533e9"objtype="12"objname="Document
> > Set"itemname="AmberGlen Medical Corporation
> Service
> > Agreement - 2004">
> > <span
> > id="b98e043c-2796-42a9-b4b1-b372e60533e9"
> > class="detailsLink" title="View Details" style=""
> >
> onmouseover="this.className='detailsLinkHover'"
> > onmouseout="this.className='detailsLink'"
> > onselectstart="return false;"
> >
> >
>
onclick="openViewer('b98e043c-2796-42a9-b4b1-b372e60533e9',
> > 'Document Set')">
> > AmberGlen Medical Corporation Service
> Agreement -
> > 2004
> > </span </td>
> >
> > I then want to use this ID and replace in this
> code
> >
> > 'radio(:name, "selectionids", "ID").set
> >
> >
> > Can anybody help?
> >
> > _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
jassi akkal
jsakkal at yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Wtr-general
mailing list