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 |
What is the real use of different actions in QTP
What are the types of Object Repositories in QTP?
How to supress warnings from the "Test results page"?
What is the difference between byref and byval in qtp?
How the automated tests in org
what is the difference between testing and debugging?
What is the difference between Global and Local Data Sheets?
What is the BPT(bussiness process testing ).and what is the main difference between BPT and QTP
3 Answers EDS, GL Noble Denton, IIST,
I know the Basic QTP. But I wanted to learn descriptive programming in QTP. Without Object Repository how we can develop a script? I wanted to do one real time project using QTP. If you know this type of training is available in pune then let me know the address.
i m fresher iwant to know about testing what is the scope of testing field.i m aware in manual testing shall i go to automatiuon testinh directly or if any work experinc in manual testinh then only i go to manually automation testing.
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?