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 <[EMAIL PROTECTED]> wrote:

> id = ie.cell(:text, ''AmberGlen Medical Corporation
> Service Agreement -
> 2004").id
> 
> On 5/24/06, Jassi Akkal <[EMAIL PROTECTED]> 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
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general


jassi akkal
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to