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
You can store it in a true global variable like this
$id = ie.checkboxes[1].name
$id is the global variable ($ is what makes it global)
to then use it in the syntax you provided:
ie.text_field(:name,document_id).set($id)
If you want to stay away from global variables you can do this as
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,
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
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,
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