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 - Mark all the ways that can be used to share values between actions.
using Global Data Table
using Environment Variables
using sendparameter command
using Dictionary Objects
Global data table, environment variables and dictionary object can be used to share values among actions.
Q 2 - Which property/method can be used as custom checkpoints in UFT?
Exist and Sync can be used as custom checkpoints.
Q 3 - Which is the best match for the regular expression for dee(r|d)ees
‘|’ instructs QTP to match one of a choice of expression, ‘(‘ groups the expression.
Q 4 - After playing back a test containing output values, where can the output values be viewed?
Run time data table is available in the Results viewer where the output values can be viewed.
Q 5 - Which feature requires a connection to ALM?
Jump to Step
Save Test with Resources
User has to connect to ALM if Version Control is enabled for the project.
Q 6 - What is the maximum number of characters limit that can be displayed in comments tab available under ToDo Pane?
The text displayed in the comments tab is limited to 260 characters. If it exceeds, the comments can be viewed by jumping to the comment statement.
Q 7 - What is the value of x in the following piece of code :
a(0) = 10
a(1) = 20
a(2) = 30
x = UBOUND(a)
UBound returns the largest subscript for the dimension of an array.
Q 8 - You can specify the maximum number of rows at Database checkpoint wizard, that you would like to limit the wizard to check or output. What is the maximum limit that you can specify here?
You can specify a maximum of 32000 rows.
Q 9 - Which one of these statements is correct about Shared Repository?
A Shared Object Repository is easy to maintain and can be used in multiple tests.
Q 10 - Which third party tool should be installed on your machine to enable debugging in QTP scripts?
MS Debugger should always be installed on a QTP machine to make use of debug feature