Deciding When to Use QuickTest Automation Scripts
Creating a useful QuickTest automation script. requires planning, design time, and testing. You must always weigh the initial investment with the time and human-resource savings you gain from automating potentially long or tedious tasks.
Any QuickTest operation that you must perform. many times in a row or must perform. on a regular basis is a good candidate for a QuickTest automation script.
The following are just a few examples of useful QuickTest automation scripts:
Initialization scripts. You can write a script. that automatically starts QuickTest and configures the options and the settings required for testing a specific environment.
Maintaining your components
.
You can write a script. that iterates over your collection of components to accomplish a certain goal. For example:
Updating values. You can write a script. that opens each component with the proper add-ins, runs it in update run mode against an updated application, and saves it when you want to update the values in all of your components to match the updated values in your application.
Applying new options to existing components
.
When you upgrade to a new version of QuickTest, you may find that the new version offers certain options that you want to apply to your existing components. You can write a script. that opens each existing component, sets values for the new options, then saves and closes it.
Calling
QuickTest
from other applications. You can design your own applications with options or controls that run QuickTest automation scripts. For example, you could create a Web form. or simple Windows interface from which a product manager could schedule QuickTest runs, even if the manager is not familiar with QuickTest.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16792402/viewspace-571181/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/16792402/viewspace-571181/