- 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 - What type of image format UFT supports for CaptureBitmap method?
bmp
jpg
png
gif
Answer : C
Explanation
UFT supports only bmp and png types only using captureBitmap Method.
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 - Which UFT View Option will show you the repositories associated with each action?
Resources
Information
Script Repository
Active Screen
Answer : B
Explanation
Resources pane shows the repositories associated with each action.
Q 4 - Which statement type can you use in your test to wait for a condition to be met and fail the test if it times out before meeting the condition?
Answer : C
Explanation
Standard Checkpoint helps testers to wait for a condition to be met and fail the test if it times out before meeting the condition
Q 5 - Identify UFT resources. (Select three.)
test versions
actions
checkpoints
function libraries
images
recovery scenarios
Answer : D
Explanation
UFT Resources in the above list are actions, checkpoints and recovery scenarios
Q 6 - How does active screen capture information on objects for a web based application?
A - It downloads and stores images and other resources on the page
B - It stores the path to images and other resources on the page
C - It saves images and resources in the object repository
D - It does not store any information to images and resources
Answer : B
Explanation
Active screen stores the path to images and other resources on the page.
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 - You have created a virtual object collection and now you don't want to use it , what should you do to disable it?
A - Disable virtual objects in Object Identification
B - Disable virtual objects in General options
Answer : B
Explanation
To disable a virtual object collection, select ‘Disable virtual objects in General options'.
Q 9 - Which of the following statements can be used to clear the errors occurred in earlier statements if any?
Answer : C
Explanation
Err.Clear statement is used to clear the errors occured earlier in the statements, if any.
Q 10 - What happens when you import data using the DataTable.ImportSheet function?
A - Data is overwritten when column headers in Excel and the data table match.
B - Sheet1 in the Excel file is always imported.
C - Data will be appended to the data table.
D - A new column is added to the data table when column headers in Excel and the data table match.
Answer : A
Explanation
Data is overwritten when column headers in Excel and the data table match.
To Continue Learning Please Login
Login with Google