What is a Dictionary object in QTP.?
Answer / manjunathareddy
Dictionary object is similar to a typical array,
it uses unique key associated with every item,it helps you
call the item whenever required.
Example:-
Dim Dict
Set Dict=CreateObject("Scripting.Dictionary")
Dict.Add "A","Apple"
Dict.Add "B","Banana"
i=Dict.Items
j=Dict.Keys
For k= 0 to Dict.Count - 1
Msgbox j(k)&": "&i(k)
Next
| Is This Answer Correct ? | 6 Yes | 1 No |
Explain about the Test Fusion Report of QTP ?
How many types of recording modes in qtp? Describe each type with an example where we use them?
What is optional step in qtp? How you can add optional step in qtp?
how to test one edit box using dotnet addin for Web Applications? write script?
can anyone tell me from where i can download qtp demo or crack version
1.How to find in which row or column,string "Hyderabad" exist in excel sheet? 2.How to find how many times character "a" repeated in a given string "Koteswararao"
How to get align property of the link on web page?
What will be the output of the statements below? On error Resume Next Sum 100/0 if Sum= 0 Then msgbox "Pass" else msgbox "Fail" End If
If already everything is tested using White-Box testing, then what is the need of using Black box testing?
Why we are going for descriptive programming ? I answered as 'If objects are not present in OR we will go for descriptive Programming'? Is this correct ?
How to add a runtime parameter to a data sheet?
What is the use of low level recording? How does it useful?