I have a little problem with getting a cell value in the Greed control.

As you can see from the screenshot the cell normally recognized, but its AccessibleValue is empty.
I attach a sempleapp fo you. Ranorex 3.2.3
DevExpress 2011 vol2
The cell does not contain within itself text fields.sham526 wrote:sham526
var lst = new List<MyData>(); lst.Add(new MyData { Field1 = "", Field2 = "", Field3 = "" }); lst.Add(new MyData { Field1 = "", Field2 = "", Field3 = "" }); lst.Add(new MyData { Field1 = "", Field2 = "", Field3 = "" }); myDataBindingSource.DataSource = lst;If you set them to a value you will see it with Spy.
Code: Select all
Ranorex.ActionFailedException: Action 'invokeremotely' failed on element '{Unknown:_treeList}'. ---> System.Runtime.Serialization.SerializationException: Failed to serialize return data from remote process.
Code: Select all
public void ColapseAllNode(string number, string entery)
{
string processId = Helpers.MultiUsers.GetProcessIdByNumber(number, entery);
Ranorex.Adapter.DefaultSearchTimeout = 1200000;
Ranorex.Control control = FormMethods.TreeContainerGetXpath(processId).Replace("$processid", "'" + processId+ "'");
control.InvokeRemotely(Helpers.Testing.ColapseAll);
}
Code: Select all
public static object ColapseAll(System.Windows.Forms.Control control, object input)
{
(control as DevExpress.XtraTreeList.TreeList).CollapseAll();
return null;
}