Forum Discussion

keerthisara86's avatar
11 years ago

WPF XamDataGrid


Hi, My Xamdatagrid will be in the Strucuture below


 Am trying to automate this with the help of test Complete tool


Gird->DataRecord->DataCellArea->ContentItemGrid->


CellValuePresenter->XamMAskedEditor


I am trying to fetch the cell value based on the filters


in the xamdatagrid using Content Property in CellValuePresenter, Looping through cellvalue prsenters


I am retrieving the data


But For Some cells The Content will be an "Object" or "NullObject", For Some Cells


it is directly displaying Cell Value, While Am running my function For the Object Values it is throwing an error


"Object Variable not Set". If i set the Object for that content and reterive the values using olevalue but for some cells olevalue


is not available instead value,As string is available. Am New to this test complete tool, Which Property will be used to fetch


the data??? I used wvalue property but wvalue property is not displaying the run time grid values, instead it is showing some other 


values. Is there any other way  to automate this grid. I need to check the values based on the Filters which applied in Xamdatagrid.


Kindly help me out in this.