I am kind of new to Test Complete. We have a VB6 application and i need to convert the app to open application to get the grid properties. How do i make the application open? is there any TC document for this?
I read the help topic and this is what i found out.
Visual Basic 6.0 applications are always “open” to TestComplete and Microsoft Visual Basic Open Applications cannot use the Debug Info Agent, and would gain relatively little advantage from it, as almost all their elements are already exposed because they are ActiveX objects.
So no need to make it Open? But still my problem is not solved.The problem is with MSFlexgrids. Following are my requirement
1. need to capture the column header
2. need to capture single/multiple rows
I am able to capture cell values by Test Matrix.
I also verified that Visual basic Open application plug-in(tcVBOpenApp.pls) is installed and System32 folder has TlbInf32 dynamic link library.
I tried TextMatrix already and able to capture cell values. But the issue is i am not able to capture column headers and select single/multiple rows.
Just an update on my issue.
I sent a mail to automatedQA support and this is what i got from them..
"The Microsoft FlexGrid ActiveX control is not natively supported by TestComplete. This means that the tool cannot record high-level actions like clicking a cell, selecting a row, etc. with this control. Instead, TestComplete records clicks relative to the top left corner of the control. However, as VB applications are always Open to the tool, you can work with this control by using its native properties and methods. Please find sample code demonstrating how to do this in the 'Retrieving Data From Microsoft FlexGrid. Example' help topic."
So i think still i cannot select single/multiple rows. But I am gonna play with it more and let you guys know what happens.
In the mean time if anybody have any thoughts on this please share with me.Thanks!