array values are null

Bug reports.
conanlive
Posts: 5
Joined: Tue Mar 10, 2009 6:42 pm

array values are null

Post by conanlive » Thu Jun 04, 2009 3:58 am

Element[] rowsName = controlElement.FindChildren(Role.Cell, elementName);

There are thousand array elements. But, their values are null.

However, if there are 30 array elements. Their values are not null.

what wrong is it?? Thanks.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Post by Support Team » Thu Jun 04, 2009 4:24 pm

The Value property of the element provides a textual representation of the visual information contained in an object.
Not all objects support the Value property. The Value property tells the client about the visual information contained in an object. For example, an edit control's value is the text it contains, whereas a menu item has no value.
The content depends on the type of the control, what kind of control do you want to test?

Jenö
Ranorex Team