well from your error it looks like you are using text_field? to locate a
hidden. my first question is why? when hidden and hiddens exist
http://watir.github.com/watir-webdriver/doc/Watir/Container.html#hidden-instance_method

why not locate the hidden and get its value?


On Thu, Mar 7, 2013 at 10:51 AM, Joe Fleck <[email protected]> wrote:

> Hi,
>
> Can you paste your code?
>
> Joe
>
> On Thu, Mar 7, 2013 at 10:47 AM,  <[email protected]> wrote:
> > Hey guys!
> >
> > I'm trying to retrieve the text from a textarea, which appears as hidden,
> > although I can dee it on the browser. This is the html tag:
> >
> > <tr>
> >  <td>
> >    Certification Request Number
> >    <input type="hidden" name="reqtitle" value="Certification Request
> > Number">
> >  </td>
> > </tr>
> >
> > I would like to grab  the value "Certification Request Number", but I get
> > this error:
> >
> >
> > (...) `assert_exists': unable to locate element, using
> {:name=>"reqtitle",
> > :tag_name=>"input or textarea", :type=>"(any text type)"}
> > (Watir::Exception::UnknownObjectException)
> >
> > I've done my research on the mailing list and couldn't find anything
> > ...Also, I could grab the text in the <td><td> tags, but they are inside
> a
> > table, which is inside a table inside a table and another table and so
> on,
> > so it's impossible to track.
> >
> > Ideas?
> >
> > Thanks!
> > Fabian
> >
> >
> >
> > --
> > --
> > 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]
> >
> > ---
> > You received this message because you are subscribed to the Google Groups
> > "Watir General" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
>
> --
> --
> 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]
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to