[Wtr-general] Need help reading a file
Jassi Akkal
jsakkal at yahoo.com
Thu May 25 15:23:41 EDT 2006
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 <davids at tower-mt.com> 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
> davids at tower-mt.com
>
> 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
> 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