DevExpress Greed Cell value is empty.
DevExpress Greed Cell value is empty.
Hi!
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
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
You do not have the required permissions to view the files attached to this post.
Re: DevExpress Greed Cell value is empty.
up.
I would like to hear some sort of answer, because this functionality is very important to me.
I would like to hear some sort of answer, because this functionality is very important to me.
Re: DevExpress Greed Cell value is empty.
Expand the Cell and you might get some text field which holds the value.
Re: DevExpress Greed Cell value is empty.
The cell does not contain within itself text fields.sham526 wrote:sham526
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: DevExpress Greed Cell value is empty.
Hi,
Thank you for the application, but this app is not running because there are some missing dlls. Would it be possible to prepare us an application to help with this issue or at least please post us a Ranorex Snapshot of the app.
How to create a Snapshot
http://www.ranorex.com/forum/invokeremo ... t1002.html
Thanks in advance.
Regards,
Peter
Ranorex Team
Thank you for the application, but this app is not running because there are some missing dlls. Would it be possible to prepare us an application to help with this issue or at least please post us a Ranorex Snapshot of the app.
How to create a Snapshot
http://www.ranorex.com/forum/invokeremo ... t1002.html
Thanks in advance.
Regards,
Peter
Ranorex Team
Re: DevExpress Greed Cell value is empty.
Sorry for this problem with dll. Here is a link to the working app.
http://dl.dropbox.com/u/13579347/Debug.zip
http://dl.dropbox.com/u/13579347/Debug.zip
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: DevExpress Greed Cell value is empty.
Hi,
Thanks for the link!
I checked it and it seems that the values were somehow not properly set. I also checked it with the ACC Explorer (Microsoft accessibility Explorer) and it also wasn't able to recognize the row values, but I was able to get the value after I entered a new value to a row, so it seems that the values were somehow not correctly set at the beginning.
Regards,
Markus
Ranorex Support Team
Thanks for the link!
I checked it and it seems that the values were somehow not properly set. I also checked it with the ACC Explorer (Microsoft accessibility Explorer) and it also wasn't able to recognize the row values, but I was able to get the value after I entered a new value to a row, so it seems that the values were somehow not correctly set at the beginning.
Regards,
Markus
Ranorex Support Team
Re: DevExpress Greed Cell value is empty.
The value is set correctly. We use the assignment of property DiplayText processing events CustomDrawCell. Here is a link to the full project with source code.
http://dl.dropbox.com/u/13579347/DXWind ... ation1.zip
http://dl.dropbox.com/u/13579347/DXWind ... ation1.zip
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: DevExpress Greed Cell value is empty.
Hi,
Thanks for the files!
We will analyze them and come back to you as soon as we have found something.
Regards,
Markus
Ranorex Support Team
Thanks for the files!
We will analyze them and come back to you as soon as we have found something.
Regards,
Markus
Ranorex Support Team
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: DevExpress Greed Cell value is empty.
Hi,
I checked your project and as I wrote the values were not properly set, you just set the the DisplayText but you didn't set the real text value of the cells they were empty and these values are the values which we are getting via MSAA.
Regards,
Markus
Ranorex Support Team
I checked your project and as I wrote the values were not properly set, you just set the the DisplayText but you didn't set the real text value of the cells they were empty and these values are the values which we are getting via MSAA.
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.
Regards,
Markus
Ranorex Support Team
Re: DevExpress Greed Cell value is empty.
Hi,
I work with KapacRus. There is situation in our project where we can't set all values for grid on initialization because it takes to much time, and we use CustomDrawCell (or CustomDrawNodeCell withTreeList) for yeld initialization. There isn't way to set "real text value" from handler of CustomDrawCell event.
I work with KapacRus. There is situation in our project where we can't set all values for grid on initialization because it takes to much time, and we use CustomDrawCell (or CustomDrawNodeCell withTreeList) for yeld initialization. There isn't way to set "real text value" from handler of CustomDrawCell event.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: DevExpress Greed Cell value is empty.
Hi,
There are two possibilities how you can get the values.
First: You have to re-implement MSAA for the specific element to enable Ranorex to get the specific value via the MSAA element, for detailed information take a look at the following link.
Second: You can use the InvokeRemotely functionality to get the values of your table. There is an older blog which describes how you can manage this with Ranorex.
There are also many forum posts about how to invoke WinForm methods.
I hope this will help you solve the issue.
Regards,
Markus
Ranorex Support Team
There are two possibilities how you can get the values.
First: You have to re-implement MSAA for the specific element to enable Ranorex to get the specific value via the MSAA element, for detailed information take a look at the following link.
Second: You can use the InvokeRemotely functionality to get the values of your table. There is an older blog which describes how you can manage this with Ranorex.
There are also many forum posts about how to invoke WinForm methods.
I hope this will help you solve the issue.
Regards,
Markus
Ranorex Support Team
Re: DevExpress Greed Cell value is empty.
And if there are step by step examples or better examples of the project with a call invokeRemotely? From http://www.ranorex.com/blog/transfering ... et-control not very clear how it all works.
Re: DevExpress Greed Cell value is empty.
Now I get an error serializing:
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;
}
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: DevExpress Greed Cell value is empty.
Hello,
unfortunately we are not able to reproduce that issue. You could assist us with providing us a sample project including the (DX) treelist and also a sample Ranorex Project with the invoke-remotely code!
Thank you!
Kind regards,
Roland (E)
Ranorex Support Team
unfortunately we are not able to reproduce that issue. You could assist us with providing us a sample project including the (DX) treelist and also a sample Ranorex Project with the invoke-remotely code!
Thank you!
Kind regards,
Roland (E)
Ranorex Support Team