Forum Discussion
Dmitry_Nikolaev
15 years agoStaff
Hi Karim,
- TVirtualStringTree
To work with this control, you need to use the Object Mapping feature of TestComplete. Please follow the steps below:
1. Double-click your project node in the Project Explorer panel.
2. Switch to the Properties tab in the project editor.
3. Select the Object Mapping section of the project properties.
4. Expand the "Win32 Controls and Windows" node.
5. Select the Tree view item.
6. Click the "Add Class Name" button.
7. Type "TVirtualStringTree" to make TestComplete treat controls of the TVirtualStringTree class as standard TreeView controls.
After that, TestComplete will be able to record high-level tests with TVirtualStringTree controls.
- TStatusBar
Probably, the items of the problematic status bar are owner-drawn. In this case, you can try obtaining the text displayed in these owner-drawn items by using the panels collection returned by the Panels native property of status bar objects. Use native methods and properties of items from this collection to get information on them.
- TChart
Currently, this control is not supported by TestComplete. However, you can work with the control's data by using its native Series property. You can find more information on the Series property in the Delphi IDE help system.
Please note that, to make TestComplete be able to access native properties of Delphi applications, you need to include debug information in your application (see the Using Debug Info Agent With Delphi Applications help topic).
Let me know if you have additional questions.
- TVirtualStringTree
To work with this control, you need to use the Object Mapping feature of TestComplete. Please follow the steps below:
1. Double-click your project node in the Project Explorer panel.
2. Switch to the Properties tab in the project editor.
3. Select the Object Mapping section of the project properties.
4. Expand the "Win32 Controls and Windows" node.
5. Select the Tree view item.
6. Click the "Add Class Name" button.
7. Type "TVirtualStringTree" to make TestComplete treat controls of the TVirtualStringTree class as standard TreeView controls.
After that, TestComplete will be able to record high-level tests with TVirtualStringTree controls.
- TStatusBar
Probably, the items of the problematic status bar are owner-drawn. In this case, you can try obtaining the text displayed in these owner-drawn items by using the panels collection returned by the Panels native property of status bar objects. Use native methods and properties of items from this collection to get information on them.
- TChart
Currently, this control is not supported by TestComplete. However, you can work with the control's data by using its native Series property. You can find more information on the Series property in the Delphi IDE help system.
Please note that, to make TestComplete be able to access native properties of Delphi applications, you need to include debug information in your application (see the Using Debug Info Agent With Delphi Applications help topic).
Let me know if you have additional questions.
Related Content
- 3 years ago
- 13 years ago
- 10 years ago
- 7 years ago
Recent Discussions
- 20 hours ago
- 7 days ago
- 10 days ago