David,

Do I have to have 1.5 version of the watir because I
am using 1.4 version.

Also here is the updated code and still it is not
working


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

test_site2.radio(:name, "selectionids", id).set

test_site2.image(:id,"btnChooseSelected").click

Appreciate that.

Thanks

Jassi Akkal
--- David Schmidt <[EMAIL PROTECTED]> wrote:

> Jassi,
> 
> One thing I see is that you didn't include the Watir
> object for the 
> radio button.  Also, you placed quotation marks
> around the "id" in the 
> radio setting line.  You don't want an id that is
> equal to "id", you 
> want what's in the variable "id" so there would be
> no quotation marks 
> around the variable name.  The line to set the radio
> button should read:
> 
> test_site2.radio(:name, 'selectionids', id).set
> 
> David Schmidt
> [EMAIL PROTECTED]
> 
> Jassi Akkal wrote:
> > 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
> >   
> 
> _______________________________________________
> 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