quote: *" I want to grab the value of the <td> tag"*

Sorry, the value of the <input> tag


El jueves, 7 de marzo de 2013 14:43:04 UTC-2, [email protected] escribió:
>
> Hi Oscar!
>
> The real purpose is to get the text in html cell (between the 
> <tr><td><tr><td>), but since I don't have any tag identifier (id, name, 
> value) for the html cell, I want to grab the value of the <td> tag, which 
> matches with the text in the html cell.
>
> Like you said, locating the hidden and getting the value is exactly what 
> I'm trying to do. Do you happen to know how I can do that? Can you give me 
> an example of how the 'hidden' class is used?
>
> Thanks!
>
> El jueves, 7 de marzo de 2013 14:09:23 UTC-2, Oscar.Rieken escribió:
>>
>> 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]<http://groups.google.com/group/[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