Expert
View And Keyword View Examples, What is keyword view and Expert view
in QTP Example
What is
keyword view and Expert view in QTP?
Keyword view
is like an icon base view which show
the test step in the format of tabular. Generally it also show
automatically creates documentation for the steps of test.
Explanation about
Keyword View:
The default test
procedure interface of QTP is Keyword View.
This view shows
the steps of automation of a test process as a descriptive tree of
functions and actions. This tree includes columns with actions
listing or the name of function, comments and parameters. Actually
this the useful mode for the beginners. This view also allow the user
to choose the object either from the object repository or from the
application and the you can choose the functions to be executed on
those objects. This scrip generated automatically. Users also can set
the checkpoint from the keyword view. Users don't require any
technical knowledge to understand the keyword view, but required
experience and user required to execute more difficult actions to
switch to Expert View.
Keyword view
columns shows the different – 2 different information for each and
every step as per following:
- Item – Shows the items for the further steps like (utility object, function call, statement or test object) in a hierarchical icon based tree.
- Operation – The operation need to executed on the specific items, for examples, Click on Select.
- Value – The argument value for the chosen process, for example the button of mouse to use when image will be clicked.
- Assignment- Value assigning or from variable so we can value in test later on.
- Comment- Any textual information what you want to submit referencing the step, for example return back to used page in 1st step of the test script.
- Documentation- Whatever steps have been performed need to auto documentation, in the sentence an easy to understand, For example: Click on “FindTheflights” image:
Expert View
provides the corresponding Statement of VB Script for every step of
test in this keyword view.
The Alternative
of Keyword View is the Expert View. The expert view always shows the
same steps and the object as the keyword view shows, but in another
format. Because it name suggest such view is for people only who are
VB Script expert.
Actually in the
Expert View, ATP will permissible you to show and edit of the test's
source code with the help of VB Script. All type of test action can
be edit here instead of the global action referencing root. The acts
of Expert view as an IDE for Test Script. It contains multiple
features of standard IDE. Like breakpoints etc.
Expert View And Keyword View Examples |
No comments:
Post a Comment