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 do you call a function created within your test?
Function Flight(x) .. ... ... End Function
Call Flight z
n = Flight(z)
n = Flight z
Parenthesis should be used while calling a function using a call statement or assigning to a variable.
Q 2 - When you split an action in your test that uses a local repository, Quick Test makes a copy of the local object repository and if you add objects to one of the split actions, the new object are added only to the corresponding repository.
Yes, When you split an action in your test that uses a local repository, Quick Test makes a copy of the local object repository and if you add objects to one of the split actions, the new object are added only to the corresponding repository.
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 - Which Settings tab enables UFT to measure the resources being used by the application?
Local System Monitor enables UFT to measure the resources being used by the application.
Q 6 - How does active screen capture information on objects for a web based application?
Active screen stores the path to images and other resources on the page.
Q 7 - You decided to parameterize a value using Random Number parameter, what option you will choose to generate a new number and use it for the parameter throughout the test?
Select ‘Generate new random number once per entire test run’ generates a new number which can be used throughout the test.
Q 8 - What will happen if more than one function of same name exists in the test or function library.
When more than one function with the same name exists in the test script or function library, the last function will always be called.
Q 9 - Which toolbar contains pause button, to interrupt a run session?
The pause button is contained in Debug toolbar.
Q 10 - In update run mode, QuickTest saves the updated objects in _________ Repository
UFT saves the updated objects in the local object repository.