Forum Discussion
Dmitry_Nikolaev
14 years agoStaff
Hi Valentine,
To help us investigate why the application (BTW, saying 'the application crashes', do you mean TestComplete or your tested application?) crashes, please follow the steps below:
1. Download AQtime Standard, which is our free profiling tool, from our web site:
AQtime Standard
2. Install the tool.
3. Start AQtime with the -NotOpenApp command line argument. For example, you can use the following command line:
"c:\Program Files\SmartBear\AQtime 7\Bin\AQtime.exe" -NotOpenApp
4. Select the 'File | New Project From Module...' main menu item.
5. In the Open File dialog, select the executable file of the application and click Open.
6. Take a look at the AQtime toolbar - there is a combo box. Open it and select the "Tracing | Exception Trace Profiler" item.
7. Select the "Options | Options..." main menu command - the Options dialog will appear.
8. Set the "Profiling Time | Event View | General | Exceptions | Depth shown" setting to 100 and click OK.
9. Click the Run toolbar button (the green arrow) or press F5 to start the profiling.
10. AQtime will start the application and trace all exceptions that will occur in it until it is closed.
11. Reproduce the problem.
12. After the problem occurs, right-click somewhere within the Event View panel (it is opened by default at the bottom of AQtime's window) and select the 'Save All...' item.
13. Save the panel's contents to an HTML file and send me the file.
Thanks in advance.
Another way to get a node's text is to use native properties/methods of the control. Note that you need to compile the application with debug information in order for TestComplete to have access to native methods and properties (see the Open Applications in Delphi help topic for more information). If you don't manage to find appropriate properties/methods, please send us a sample application (it should be compiled with debug information) containing your control, and we'll see how it's possible to get a node's text.
To help us investigate why the application (BTW, saying 'the application crashes', do you mean TestComplete or your tested application?) crashes, please follow the steps below:
1. Download AQtime Standard, which is our free profiling tool, from our web site:
AQtime Standard
2. Install the tool.
3. Start AQtime with the -NotOpenApp command line argument. For example, you can use the following command line:
"c:\Program Files\SmartBear\AQtime 7\Bin\AQtime.exe" -NotOpenApp
4. Select the 'File | New Project From Module...' main menu item.
5. In the Open File dialog, select the executable file of the application and click Open.
6. Take a look at the AQtime toolbar - there is a combo box. Open it and select the "Tracing | Exception Trace Profiler" item.
7. Select the "Options | Options..." main menu command - the Options dialog will appear.
8. Set the "Profiling Time | Event View | General | Exceptions | Depth shown" setting to 100 and click OK.
9. Click the Run toolbar button (the green arrow) or press F5 to start the profiling.
10. AQtime will start the application and trace all exceptions that will occur in it until it is closed.
11. Reproduce the problem.
12. After the problem occurs, right-click somewhere within the Event View panel (it is opened by default at the bottom of AQtime's window) and select the 'Save All...' item.
13. Save the panel's contents to an HTML file and send me the file.
Thanks in advance.
Another way to get a node's text is to use native properties/methods of the control. Note that you need to compile the application with debug information in order for TestComplete to have access to native methods and properties (see the Open Applications in Delphi help topic for more information). If you don't manage to find appropriate properties/methods, please send us a sample application (it should be compiled with debug information) containing your control, and we'll see how it's possible to get a node's text.
Related Content
- 3 years ago
- 13 years ago
- 10 years ago