Ok so I got the dev manager to recompile & build the Delphi app I'm trying to automate but with Internal debug info. I then used StripTDS to create the TDS file. The TDS file has the same name and is in the same folder as the test app. I have enabled the Debug Agent in the default project options in TC.
Now what? I still can't see any more with the object browser than I could before. E.g. the dev express quantum grid is still just a big blob where I can't identify the individual controls\cells etc.
Have I missed a setting in the Default Project options or something?
Debugging information is used by TestComplete to provide access to internal properties and methods of the tested application's objects. That is, you can address the properties and methods from script - this may be really helpful when working with complex controls like grids.
TestComplete 7 provides built-in support for Developer Express QuantumGrid, and this support is also based on the properties and methods that become available when building the tested application with debugging information. To learn more about the control's support, check the DevExpressQuantumGrid Object help topic.
Please note that TestComplete's Finder Tool will not recognize individual cells, but the Recorder will generate the code that addresses a specific cell, and not just clicks by coordinates.
Jolum, I have come across the similar issue later we make it out to recognize the objects following the steps:
1. Double click on Project folder in project explorer
2. Select Properties tab, Click Open Applications -> Process Filter.
3. Set Process filter mode to "Use all process" or If you are using the "Tested Apps" add the process name of the application .exe
Now you be able to see all the DebugAgent and RTTI properties of Grid object and work on by using the appropriate methods
I hope this info should solve your problem, if i understood you well
- One thing you can't recycle is wasted time -