2010/11/18 Hrishikesh Bose <[email protected]>
> so the first time i select the text field i get <INPUT id="c_179" >
> Once the page is reloaded i get <INPUT id="c_2">

You should figure out what is common between them. In this case I would use:

browser.text_field(:id => /c_/).set "name"

Or, as Prajakta said, use another attribute.

Željko

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to