Working with VB Objects
Hi,
I am working on an application which is developed in VB and flex. There are grid controls on which I need to fetch the data and perform some operation on the control but using the object spy I am not able to find any methods to achieve the desired operation. Can anyone from Smart Bear team suggest that VB controls are supported by Test Complete. Also shed some light on working with these type of controls. Please find attached snapshot of the object spy in advanced view mode.
Is that advanced view on the properties? Not many there ...
Looking at page three of the methods available, I think you have access to the grid. But I think you need to work out how to interrogate and/or interact with it.
I've never used a VB based grid. But have used Delphi and .NET ones. And they are all different. Some are easier to work with than others. But your available methods show and "ActiveCell" method. And that is referenced here:
https://msdn.microsoft.com/en-us/library/yc4fsbf5(v=vs.110).aspx
(DataGridView is the replacement for DataGrid. Many of the properties, including CurrentCell are common between the two)
The full docs for the old style DataGrid can be found here:
https://msdn.microsoft.com/en-us/library/system.windows.forms.datagrid(v=vs.110).aspx
... I suspect you're just going to have to familiarise yourself with the control and how it works. From what I can see, they are bound to a DataSource object as well, so you may have to poking about in that too. It depends what you're trying to do, which you don't say specifically in your initial post.