|
1. Actions
Actions help divide your test into logical units, like the main sections of a Web site, or specific activities that you perform in your application.
There are three kinds of actions:
- non-reusable action — an action that can be called only in the test with which it is stored, and can be called only once.
- reusable action — an action that can be called multiple times by the test with which it is stored (the local test) as well as by other tests.
- external action — a reusable action stored with another test. External actions are read-only in the calling test, but you can choose to use a local, editable copy of the Data Table information for the external action.
2. Types of Recording Modes
- Normal Mode: QuickTest’s normal recording mode records the objects in your application and the operations performed on them.
- Analog Mode: Analog recording mode records exact mouse and keyboard operations. The track of the operations recorded are stored in an external data file.
Note: You cannot edit analog recording steps from within QuickTest.
- Low-Level Recording: Supports the following methods for each test object:
Click, DblClick, Drag, Drop, Type, Activate, Minimize, Restore, Maximize
Note: Steps recorded using low-level mode may not run correctly on all objects.
3. Running Modes
- Run - Normal Run, if we don't have any errors or show stopers then we can use this mode
- Run From Step - Perticular portion of the scripts we can execute or we can execute specific Action.
- Update Run - This can be used to update Object Properties, Check Points Properties and Active Screen images and values.
- Debug Run - To Identify the problems we can use the Debug mode. By using Step-In, Step_Out and Step-Over we can identify the problem fastly.
 
Debug Run
- Step Into
Choose Debug > Step Into, click the Step Into button, or press F11 to run only the current line of the active test or component. If the current line of the active test or component calls another action or a function, the called action/function is displayed in the QuickTest window, and the test or component pauses at the first line of the called action/function.
- Step Out
Choose Debug > Step Out or click the Step Out button, or press SHIFT+F11 only after using Step Into to enter a action or a user-defined function. Step Out runs to the end of the called action or user-defined function, then returns to the calling action and pauses the run session.
- Step Over
Choose Debug > Step Over or click the Step Over button, or press F10 to run only the current step in the active test or component. When the current step calls another action or a user-defined function, the called action or function is executed in its entirety, but the called action script is not displayed in the QuickTest window.
|
|
|
|
|