Can you try by :name and see if it returns the same error? On 18 August 2011 16:23, Mitchell Presar <[email protected]> wrote:
> Hi, > > I've been using Watir for about a day now and having trouble accessing > a text field that is within a table. > > I tried to access it by this: > > browser.text_field(:id => 'searchByElelastName').set "Stuff" > > returns that it is unable to locate element. > > This is the html for the element I want to access. > > <input type="text" name="finderCriteria.lastName" maxlength="25" > value="" style="width:160px;" class="regtxtfield" > id="searchByElelastName"> > > Any suggestions? > > -- > 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] > -- Regards, Rahul Sharma Ph:+44 7800 736851 -- 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]
