3rd party component indentification
there is one list view and cannot be indentified as .net list view. so it cannot use clickitem function to get one row.
i just use text recognition to identify. and i add this wndClass property.
below is the list view property
after that, should this be recognized through text recognition?
but i still can not find rows in list view through
pnlPatientList.panel1.lvPatients.TextObject("xxx")
where am i wrong about this text recognition?
and i refer to http://support.smartbear.com/viewarticle/56486/ to try this new technology
Glacial ListView isn't compatible with Text Recognition and Object Mapping. You can automate it by using its native properties and methods - those in the .NET category in the Object Browser. For example (assuming the list view appears as a grid):
Select an item (row):// JScript
listObj.Items.Item(RowIndex).Selected = true;Get the number of items (rows) and columns:
var rowCount = listObj.Count;
var columnCount = listObj.Columns.Count;Get a cell value:
var value = listObj.Items.Item(RowIndex).SubItems(ColumnIndex).Text.OleValue;
Sort by a column:
listObj.Sort(ColumnIndex); listObj.NativeClrObject.Refresh();
Hope this helps!