On Thu, Jul 15, 2010 at 11:18 AM, ryanthescot <ryanthes...@hotmail.com>
wrote:
> I am trying to get the value 'Bishop'

Please notice there is trailing space in this example:

browser.p(:class => "wpFieldValue ").text
=> "Bishop"

or

b.span(:id =>
"dnn_ctr353_Main_ctl00_ctl00_ctl00_ctl07_Field_048b9dfa-bc64-42e4-8bd5-b45385e5f45b_view_value").text
=> "Bishop"

There are more solutions to this, let me know if this does not work for you.

Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them
vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi

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

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

Reply via email to