- QTP - Home
- QTP - Introduction
- QTP - Test Automation
- QTP - Environment Setup
- QTP - Record and Play Back
- QTP - Object Repository
- QTP - Actions
- QTP - DataTables
- QTP - Checkpoints
- QTP - Synchronization
- QTP - Smart Identification
- QTP - Debugging
- QTP - Error Handling
- QTP - Recovery Scenarios
- QTP - Environment Variables
- QTP - Library Files
- QTP - Test Results
- QTP - GUI Objects
- QTP - Virtual Objects
- QTP - Accessing Databases
- QTP - Working with XML
- QTP - Descriptive Programming
- QTP - Automation Object Model
- QTP - Frameworks
- QTP - Designing a Framework
QTP Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to QTP Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
Q 1 - There is no need to specify HP ALM / QC in the list of browser to ignore at Record and Run settings dialog box..
Answer : B
Explanation
By Default, UFT ignores all instances of HP ALM / Quality center.
Q 2 - Why do you use Add-in Manager?
to open UFT.
to load objects and properties for testing your application
to load support for testing your application.
to create object repository for testing your application
Answer : B
Explanation
You use the Add-in Manager to load support for testing your applications.
Q 3 - During the planning phase, you decide to create multiple actions that can be combined and reused to achieve testing goals. Which element is critical for identifying the actions to be recorded and how to combine them?
Answer : C
Explanation
Initial and end conditions is critical for identifying and combining them.
Q 4 - Which step categories can be added using the Step Generator Tool ?
run-time objects
default object types
test objects
utility objects
data objects
Functions
Answer : D
Explanation
Test object, utility objects and functions can be added using the step generator tool.
Q 5 - A tester uses UFT connected to Quality Center (ALM) and the tests are stored in ALM. At an upcoming conference, this tester wants to demonstrate a new UFT test. The test makes calls to reusable actions from other QuickTest Professional tests stored in Quality Center. What is the simplest way to make the test portable so it can run disconnected from Quality Center?
A - Use the QuickTest Professional Save test with resources feature.
Answer : A
Explanation
Tester should use the QuickTest Professional Save test with resources feature to demonstrate a new UFT test inorder to make the test portable so it can run disconnected from Quality Center.
Q 6 - Why would a tester use the Description object in the Expert View of a test?
A - to programmatically modify a test object's definition directly in the object repository
B - to bypass the object repository when identifying an object at runtime
C - to data-drive logical names and make the test more generic
D - to make it easier to retrieve child objects using the ChildObjects method
Answer : B
Explanation
To avoid the object repository when identifying an object at runtime.
Q 7 - If you have defined an input parameter for an action as "TestId", which of the following can be used to retrieve this parameter value?
Answer : B
Explanation
Input or output action parameter names are case sensitive.
Q 8 - While comparing two object repository using Object Repository Comparison tool, If the same object is contained in both repositories but with different names, how this will be shown in repository?
Answer : B
Explanation
If the same object is contained in both the object repositories but with different names, they will be shown in the object repositories as two separate objects.
Q 9 - What is the numeric value for a Pass step for Eventstatus while sending result using Reporter.ReportEvent
Answer : A
Explanation
value for micPass event status is 0
Q 10 - In update run mode, QuickTest saves the updated objects in _________ Repository
Answer : A
Explanation
UFT saves the updated objects in the local object repository.