The quick test window contains the following key elements: 4.1. Title Bar: this bar displays the name of the currently opened test.
4.2. Menu Bar: this bar displays menus of quick test professional commands.
4.3. File Toolbar: this bar contains buttons to assist us in creating and managing out test.
4.4. Testing Toolbar: this toolbar contains buttons to assist us in the testing process.
4.5. Debug Toolbar: this toolbar contains buttons to assist us in debugging tests.
Note:
This debug toolbar is not displayed when you open quick test for the first time. You can display the debug toolbar by choosing View/ Toolbars/ Debug.
4.6. Action Toolbar: This toolbar contains buttons and a list of actions, enabling us to view the details of an individual action or the entire test flow.
Note:
This action toolbar is only displayed in the keyword view. It is not displayed when you open quick test for the first time. You can display the action toolbar by choosing view>toolbars> action. If you insert a reusable or external action in a test, the action toolbar is displayed automatically in the keyword view.
4.7. Test pane: the test pane contains the keyword view and expert view tabs.
4.8. Expert view:
• Scripts (Scripting) are written in Expert View.
• Advanced testers can view and edit their tests in the Expert View. Any changes made in the Expert View are automatically synchronized with the Keyword View. In Expert view we can use different Scripting languages supported by QTP Ex - VBScript, JavaScript etc, to automate our Tests.
• Expert view supports various build in functions and classes of scripting language we use to automate our tests.
4.9. Keyword View:
• Keyword view in QTP is also know as Icon Based view
• Expert view which displays each and every operation we perform in the form of a script comprised of Statements but In Keyword View it displays as Tree Structure with object name and self generated description about the object
• For each object and method in expert view statements there exists a row in keyword view.
• Any modifications in Expert view will reflect in Keyword View and Vice Versa.
• We can't directly delete an action in expert view but can in Keyword view.
• We can modify the object in keyword view which will reflect in expert view.
4.10. Active Screen:
It provides a snapshot f our application build as it appears when we perform a certain step during the recording session. It is easy to insert the checkpoints, output values, and easy to add objects to the object repository for recognizing objects. However, it occupies lot of memory space to store snap shots. You can display the Active Screen by choosing view>Active Screen
4.11. Data Table:
There are two types of Data Table:
a. Defined Time Data Table:
The data table assists you in parameterize your test with multiple test data. Here the data table consists of two types of sheets.
Global sheet: This sheet is common for all the Actions in all test pages. This is one of the default sheets.
Local sheet (Action 1): This sheet is used only for the particular action.
b. Runtime Data Table:
This data table is available in the result window. This data table also contains the same sheet which is available in the defined time data table.
4.12. Debug Viewer Pane:
It assists us in debugging our test script. The debug viewer pane contains the watch Expression, Variables and Command tabs. The debug viewer pane is not displayed when you open Quick test for the first time. If you want to display the debug viewer, follow this path View>Debug Viewer.
qqe
No comments:
Post a Comment