Beruflich Dokumente
Kultur Dokumente
Call to Copy of action: in this we generate the copy of action in our repository
which enables us to perform change to the copy of action.
Call to Existing action: we call to action which is made up earlier. This
generates the reference to the action. We can access the action in read only
mode. In this no copy of existing script and data table is made.
Question.10 Explain different types of action in QTP?
Answer: When generating the test script, it includes only one action.
Action contains the number of steps to be performed on application to test
the application. There are three type of action in QTP:
Non-Reusable action: it can be called by test only once in which it is stored.
Reusable action: it can be called by test multiple times in which it is stored.
External action: it is reusable action but stored in external test. We can call
external action but it will be available in read only mode we cannot perform
any change to the External Action.
Question.11 What is difference between Run time object and Test
object?
Answer: The difference between Run time Object and Test object are:
Run time object are actual object in the application whereas test object are
reference of the actual object.
Run time object always have same name whereas test object name varies in
different environment.
Test object are used to identify the actual object in the application which is
run time objects.
Run time object resides in the application whereas test object resides in the
object repository.
Question.12 Explain Measuring Transaction?
Answer: Measuring transaction means that to measure how much time it
take to execute a set of step over the application. A transaction is collection
of steps that we are intended to know how much time it take to execute. We
can define the transaction by enclosing the set of steps with the start
transaction and end transaction.
Start transaction: after encounter of start transaction time measurement
start.
End transaction: it is used to stop the time measurement.
Question.13 Explain different checkpoints in QTP?
Answer: Checkpoint is a point where QTP current value or property of the
object with the expected value or property of the object. When we insert the
check point in the test, then in keyword view checkpoint is added in front of
current row and in expert view a checkpoint statement is added. QTP enable
us with following types of check point:
Standard Checkpoint: check properties of objects like button, combo boxes,
list etc.
Image Checkpoint: check value of an image
Bitmap Checkpoint: check image zooming capability.
Table Checkpoint: check information of a table.
Text Checkpoint: check text is displayed on correct place.
Exist statement
Wait statement.
Increase the defaulted time of QTP waits for web page to load.
Change in default timeout setting.
Question.17 Explain checkpoint?
Answer: Checkpoint is a point where QTP current value or property of the
object with the expected value or property of the object. When we insert the
check point in the test, then in keyword view checkpoint is added in front of
current row and in expert view a checkpoint statement is added
Question.18 What is Keyword Driven Framework?
Answer: In Keyword driven framework the QTP executed script which is
written in the excel sheet by help of Driver Script. For making Keyword
Driven Framework we have two ways:
Specify Script Values Directly in the Excel
Write Global Functions to perform action on application as function keywords
in Excel.
Question.19 What are benefits of QTP?
Answer: The benefits of QTP are:
Standalone tool and integrated with Quality Center.
Testing results stores in database automatically, can be used for analyzing
system performance.
Supports Key word driven testing.
QTP Identifies objects, even if they change from build to build.
By using QTP, Test execution time and cost will reduce.
Suitable for both client server and web based application
Better error handling mechanism
Excellent data driven testing features.[/sociallocker]