Re: [Wtr-general] Need help reading a file

2006-05-26 Thread Lonny Eachus
Jassi, try this: test_site2.radio(:name, 'selectionids', id).click Subject: Re: [Wtr-general] Need help reading a file From: Jassi Akkal [EMAIL PROTECTED] Date: Thu, 25 May 2006 12:23

Re: [Wtr-general] Need help reading a file

2006-05-25 Thread Chris McMahon
On 5/24/06, Bret Pettichord [EMAIL PROTECTED] wrote: id = ie.cell(:text, ''AmberGlen Medical Corporation Service Agreement - 2004).id That's neat. Have we always been able to do this? -Chris ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] Need help reading a file

2006-05-25 Thread Jassi Akkal
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,

Re: [Wtr-general] Need help reading a file

2006-05-25 Thread Bret Pettichord
On 5/25/06, Chris McMahon [EMAIL PROTECTED] wrote: On 5/24/06, Bret Pettichord [EMAIL PROTECTED] wrote: id = ie.cell(:text, ''AmberGlen Medical Corporation Service Agreement - 2004).id That's neat.Have we always been able to do this?-ChrisNo. This is new to 1.5. I think 1.4 only supported the

Re: [Wtr-general] Need help reading a file

2006-05-25 Thread Jassi Akkal
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,

Re: [Wtr-general] Need help reading a file

2006-05-25 Thread David Schmidt
Jassi, I'm not sure what commands were added in the different versions, and without the actual error you're getting and without the actual HTML it's hard to be certain what's wrong. In particular, I'd like to see the HTML for the radio buttons that you're trying to set. The form of the

Re: [Wtr-general] Need help reading a file

2006-05-24 Thread Bret Pettichord
id = ie.cell(:text, ''AmberGlen Medical Corporation Service Agreement - 2004).idOn 5/24/06, Jassi Akkal [EMAIL PROTECTED] wrote: I need help reading an itemname and returingcorressponding ID from this html code defined below. td