Object repository comparison and merger tools can be found under Quick Test’s tools menu. State true or false
True
False
How many checkpoint types are supported by Quick Test?
6
8
9
5
How many output value types are supported by Quick Test?
What is the statement that can be used to make VB Script, mandate variable declaration?
Option Declare
Option Explicit
Option Mandate
None
In VB Script, variables cannot be declared to a specific data type. State true or false
Figure out the issue in the piece of code below Dim arr(5) s = 10 Redim arr(s)
Code above is perfectly valid
Redim size is invalid
Cannot redim a static array
VB Script is case sensitive. State true or false
What is the method that can be used to retrive a run time value of any object, say a user input value?
GetTOProperty
SetTOProperty
GetROProperty
Output values cannot be used to perform validation checks. State true or false
What is the keyword that is used to retain the previous values, when we redim a dynamic array to different sizes?
Redim Retain arr(s)
Redim Preserve arr(s)
Redim Persist arr(s)
Redim CarryForward arr(s)
When we create a 2 dimention array, an element in the created array can be referenced by how many indices?
2
1
3
No index is required for referencing an element in a 2D array. Index is applicable only for 1D arrays.
To assign an object reference, what is the keyword that is used?
Ref
Obj
Set
None of the above
Regular expressions can be applied to object repositories. State true or false
Which is the deprecated version of loop?
While … Wend
Do While … Loop
Do Until … Loop
VB Script doesn't have any deprecated loops at all.
In places of 'For Each … Next loop', conventional For loop cannot be used, to iterate through collections . State true or false.
Predict the output:
Set r = New RegExp r.pattern = “ion$” Msgbox r.test(“consideration”)
false
true
ion
consideration
Subroutines do return values, whereas Functions do not. State true or false
Local repositories cannot be associated to a test, using Resources menu. State true or false
Predict the output
Set objEdit = Description.Create objEdit(“micclass”).Value = “Link” objEdit(“name”).Value = “username” Browser(“...”).Page(“...”).WebEdit(objEdit).Set “test_user_name”
The code is perfectly valid. It sets the specified value in the web
) name property is incorrectly defined for the link object
Syntax of Description object is incorrect
Defined link object is incorrectly used as an edit box object. Hence issuing a Set method is invalid
Send Keys can be used to redirect some keystrokes to any application that has the focus. State true or false