Forum Discussion
Hi Chris,
JVCL TJvDBGrid is a descendant of the standard VCL TDBGrid, and TestComplete supports TDBGrid, so it's probably just a matter of getting things setup correctly. Try this:
- Build your application with debug information, as explained here.
- In your TestComplete project, add TJvDBGrid to Tools > Current Project Properties > Object Mapping > Borland Controls > DBGrid.
Now your grid should have the wValue, wRowCount, ClickCell and other properties and methods for automation.
The exe shall be generated in "Release" mode.
Do you have another solution?
- TanyaYatskovska10 years ago
Alumni
Hi Chris,
You can use TestComplete’s StripTDS utility to extract debug information from your executable file: http://smartbear.com/viewarticle/55458/
- ChrisPro10 years agoContributor
The is the following return with a Delphi XE2 :
the module does not contain TD32 debug info or has an
invalid or unknown debug info format.
0 module(s) processed, 1 module(s) failed.- HKosova10 years ago
Alumni
Just to clarify - you still need to build the app with debug info, but configure Delphi to create separate .tds debug files. Try these options:
Delphi Compiler > Compiling- Debug information: true
- Local symbols: true
Delphi Compiler > Linking
- Debug information: true
- Place debug information in separate TDS file: true
Then, when testing your app, place the .tds files next to the corresponding app binaries.
Details: Compiling Delphi XE2 - XE5 Applications With Debug Information