TestComplete8应用技巧

TestComplete 8.2增强了对Flash/Flex的测试:

http://www.automatedqa.com/blogs/post/11-02-22/testcomplete-8-2-advances-testing-for-adobe-flash-platform-tools-and-flex/

测试需要重启操作系统的应用程序
Testing Applications That Require Rebooting
http://www.automatedqa.com/techpapers/testcomplete/testing-applications-that-require-rebooting/

在页面中嵌入脚本
there are some cases when you may need to embed some script code into a web page while running your test on the page. Being embedded into the page, the script code can perform actions that are difficult to perform from tests running in TestComplete. Here are some examples:
* Your page may contain script code with global variable definitions. The browser script engine does not provide TestComplete with access to them. To check or set these variables’ values from your test, you can embed script code into your page. This code will get access to the global variable for reading or for both reading and writing. You can call the embedded functions from your TestComplete test to obtain variable values or assign new values to them.
* You may need to verify that your page’s elements behave in a certain way after some actions on them have been performed. For this purpose, you can embed event handler code into your page and then assign event handlers for the needed elements directly from TestComplete.
* Also, you can use TestComplete to create custom scripts checking whether some objects (for example, a progress bar) were shown on the screen during a test. This can be really useful if you need to test an object visible on the screen within a very short period of time.
参考:
Embedding Test Scripts Into Web Pages
http://www.automatedqa.com/techpapers/testcomplete/embedding-scripts-into-web-pages/


TestComplete使用ADO从Oracle数据库读取二进制数据
参考:
TestComplete: Retrieving Raw Binary Data From Oracle Databases
http://www.automatedqa.com/blogs/post/11-02-01/testcomplete-retrieving-raw-binary-data-from-oracle-databases/


使用TestComplete进行长时间运行的负载测试
TestComplete provides several ways to run multiple successive iterations of a load test:
1.Defining a complex load task for a virtual user or user group so that they run multiple individual tasks or task iterations in series.
2.Using the project’s test items to configure test iterations on the project level.
3.Running the load test in a loop from a supplementary keyword test or script.
参考:
Creating Long-Running Load Tests
http://www.automatedqa.com/techpapers/testcomplete/creating-long-running-load-tests/


如何增强TestComplete的测试日志的可读性
参考:
How To: Guide to Readable Test Logs using TestComplete
http://www.automatedqa.com/blogs/post/11-02-08/how-to-guide-to-readable-test-logs-using-testcomplete/

如何提高TestComplete测试日志的可追踪性

参考:

Improving Traceability in TestComplete Logs
http://www.automatedqa.com/blogs/post/11-02-16/improving-traceability-in-testcomplete-logs/

原文地址:https://www.cnblogs.com/testware/p/1950381.html