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 - When you create a bitmap checkpoint, UFT captures only the visible part of the object as bitmap, it does not capture anything which is scrolled off the screen.
QTP/UFT captures only the visible part of the object when using bitmap checkpoint
Q 2 - Recovery Scenarios, Object Repository per Action and Shared Object Repository carry extensions
File Extensions for a Recovery scenario file is ‘qrs’, for Per Action Object Repository – ‘mtr’,shared object repository -‘tsr’ Batch Test – ‘mtb’, Script file – ‘mts’ for action template – ‘mst’.
Q 3 - You set your Record and Run settings to 'Record and run test on any open browser'. Which applications will be recorded?
Firefox and IE are used when we set Record and Run settings to 'Record and run test on any open browser'
Q 4 - User-defined environment variables can be imported from an external file. What is the valid file type that can be imported?
XML files are imported into environmental variables option under Test Settings > Environment > User Defined dropdown option.
Q 5 - How can you use monitors to cause the test to fail?
Define a monitor limit can be used to cause the test to fail?
Q 6 - What happens when you import data from an external Excel file into the UFT Data Table?
All the sheets in the Excel file are imported.
Q 7 - The Documentation cell in Keyword view is ____________.
You cannot edit documentation cell in keyword view.
Q 8 - Where can you define or override default shortcut keys for editing?
You can personalize the default keyboard shortcuts for editing at Tools > View options in key binding tab.
Q 9 - How many times 'LearnQTP' will be Printed?
Dim x, y
For x = 0 to 5 step 2
For y = 5 to 0 step -1
Executing the given statements will print 'LearnQTP' 18 times as outer for loop executes for 3 times(index variable incremented by 2) and inner loop by 6 times.
Q 10 - A test, EditShoppingCart, has a call to an external action, SaveCart. The owner of SaveCart needs to perform maintenance on it and has turned off its Reusable property. When testers open the EditShoppingCart test, how will they know that the SaveCart action is unavailable?
HP UFT pops up an informational message when EditShoppingCart is opened.