I have a standard DataGrid in a .NET form that I am testing. I would like to determine whether the string inside a cell is red or black. Is this possible?
Thanks, Ben
Ranorex 1.5.1
.NET 2.0 SP1
How to detect color of text within DataGrid
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Yes, this should be possible. You can use the Control.InvokeRemotely to execute a delegate in the process of that DataGrid. You can then access the datagrid like you usually would in a Windows Forms application.
Please, read the following blog if you need more information on the Control.InvokeRemotely method:
http://www.ranorex.com/blog/transfering ... et-control
Regards,
Alex
Ranorex Support Team
Please, read the following blog if you need more information on the Control.InvokeRemotely method:
http://www.ranorex.com/blog/transfering ... et-control
Regards,
Alex
Ranorex Support Team