UFT Assessment 4

Is this your test? Login to manage it. If not, you can create an exam just like it.

This is a non-interactive preview of the quiz content.

1.
1 point
Which function returns the starting position of the substring or a 0 if the function doesn't find the string?
2.
1 point
What is the syntax to import an excel sheet to Data table ?
3.
1 point
When you call a sub procedure, you can use the call statement as:

1.call mySubProc(argument)
2.Also,you can omit the call statement and just use − mySubProc(argument)
4.
1 point
A Breakpoint at a line in your test script will cause UFT to __________
5.
1 point
What does the dot/period indicate in VBScript ?

1.property
2.child object
3.statement
4.function
5.method
6.
1 point
Which test object property is used to access native properties of a run-time object?
7.
1 point
If you have defined an input parameter for an action as "TestId", which of the following can be used to retrieve this parameter value?
8.
1 point
Which of the following characters is an escape character in VB scripting i.e. it indicates that the adjacent special character is to be treated as a literal character?
9.
1 point
Which of the following statement is correct for creating a UFT Application Object?
10.
1 point
Conditional statements cannot be inserted in Keyword view.
11.
1 point
Which function is used to create an object of specified type?
12.
1 point
While creating a database checkpoint, you can define your database query ________

1.Using Connectionstring
2.Using Microsoft Query
3.Using Microsoft Debugger
4.By Manually defining a SQL Statement
13.
1 point
Which tab in the Debug Viewer pane allows you to view or change variables or properties?
14.
1 point
In UFT, there is a function to load function libraries, what is it called?
15.
1 point
What is the default object Identifier in UFT ?
16.
1 point
There are two objects on a webpage with same description. How will you distinguish between these two objects?
17.
1 point
What happens when a tester performs an Insert > Call to Copy of Action?
18.
1 point
What is the difference between a function and a sub procedure?
19.
2 points
How do you call a function created within your test?

Function Flight(a)
.. ... ...
End Function

1.Call Flight b
2.Call Flight(b)
3.fun = Flight(b)
4.fun = Flight b
20.
1 point
User-defined environment variables can be imported from an external file. What is the valid file type that can be imported?
21.
2 points
How many times 'Learning UFT' will be Printed?

Dim x, y
For x = 0 to 5 step 2
For y = 5 to 0 step -1

print LearningUFT

Next
Next
22.
1 point
With the following statement, how long will UFT check for the existence of the Button?

Window("text:=Flight Reservation").WinButton("text:=OK").Exist (3)
23.
1 point
Which of the following statement can be used if you want a run session to wait until the a webedit field is enabled?.

1.Browser("Browser").Page("Page").WebEdit("Edit").WaitProperty("disabled",0)
2.Browser("Browser").Page("Page").WebEdit("Edit").WaitProperty("disabled",1)
3.Browser("Browser").Page("Page").WebEdit("Edit").WaitProperty("enabled",1)
4.Browser("Browser").Page("Page").WebEdit("Edit").Enabled = True
5.Browser("Browser").Page("Page").WebEdit("Edit").Enabled(5)
6.Browser("Browser").Page("Page").WebEdit("Edit").Enabled = True
24.
1 point
What is the method of datatable which can be used to retrieve information from datatable?
25.
1 point
Which statement should you use to export all sheets in the Data Table?
26.
2 points
Identify UFT resources:

1.test versions
2.actions
3.checkpoints
4.function libraries
5.output values
6.recovery scenarios
27.
1 point
What does the Object Keyword imply?

Browser("My Browser").Page("Yahoo").Object