There are two views in QTP for creating tests, Keyword View & Expert view.
Keyword View:
It’s view which allows you to create tests in modular or table format.
Keyword View is QTP’s default test procedure interface. It displays the automation steps of a test procedure as a descriptive tree of actions and functions. The tree contains columns listing the action or function name, parameters, and comments. This mode is useful for the beginners. This view allows the user to select the objects either from the application or from the Object Repository and the user can select the methods to be performed on those objects. The script is automatically generated. Users can also set checkpoints from the keyword view. Users without technical knowledge may be able to understand the Keyword View, but more experienced users and users needing to perform more complicated actions may need to switch to Expert View.
Expert View:
Expert view is simply enables you to write tests as scripts. It displays the test script in VB script format.
Expert view is an alternative to Keyword view. The Expert View displays the same steps and objects as the Keyword View, but in a different format. But as the name suggests this view is for people who are expert in VB scripting.
In Expert View, QTP allows display and editing of the test’s source code using VBScript. All test actions can be edited here except for the root Global action. Expert View acts as an IDE for the test. It includes many standard IDE features, such as breakpoints.
By: Mann Bhammar
Test Analyst
No comments:
Post a Comment