- QTP Tutorial
- 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 Useful Resources
- QTP - Questions and Answers
- QTP - Quick Guide
- QTP - Useful Resources
- QTP - Discussion
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 - How can you open a process that is available for currently open document?
File > Process Guidance Management
Automation > Process Guidance List
Process Guidance Pane
we cannot open a process.
Answer : C
Explanation
A Process can be viewed in Process Guidance Pane and also can be opened by selecting Automation > Process Guidance list.
Q 2 - What can be used to capture timings in your test?
StartTransaction and EndTransaction
StartTime and EndTime
Timer
Sync
Answer : C
Explanation
StartTransaction and EndTransaction can be used to capture timings, instead of this you can also use Timer function.
Q 3 - How do you synchronize your scripts in QTP ?
Sync
Exist
WaitProperty
Visible
Answer : A
Explanation
You can synchronize script using Sync, Exist or using WaitProperty.
Q 4 - Which checkpoint type uses a query to validate expected value?
Answer : C
Explanation
Database checkpoint is used to query to validate expected value.
Q 5 - Which steps are required to connect to ALM from UFT? (Select three.)
define a project
connect to the server
authenticate user
create a user
define a domain
select a project
Answer : C
Explanation
Steps includes connect to the server,authenticate user and selecting a project.
Q 6 - What happens when you import data from an external Excel file into the UFT Data Table?
A - Row data is overwritten when column headers in Excel and the Data Table match.
B - A new column is added to the Data Table when column headers in Excel and the Data Table match.
C - All the sheets in the Excel file are imported.
D - Excel listboxes are expanded and one row is added to the Data Table per value in the list.
Answer : C
Explanation
All the sheets in the Excel file are imported.
Q 7 - Which built-in environment variable indicates the test iteration running currently?
Answer : B
Explanation
TestIteration indicates which test iteration is currently running.
Q 8 - Which function returns the starting position of the substring or a 0 if the function doesn't find the string?
Answer : D
Explanation
INSTR function is used to locate a substring in a string.
Q 9 - Which objectRepositoryUtil method is used to add an object to the object repository?
Answer : C
Explanation
You can add an object to Object Repository using the ObjectRepositoryUtil method AddObject.
Q 10 - If a list of recovery scenarios are made default for all new tests that you create. What happens if you make any changes to this list for a new test?
A - it affects the current test only
B - it affects all the existing tests
Answer : A
Explanation
If you make any changes to the default list of recovery scenarios, it affects the current test only where the changes have been made.
To Continue Learning Please Login
Login with Google