Answer Posted / 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 |
Post New Answer View All Answers
How to handle Java tree in QTP?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
How can I check if a environment variable exist or not?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
How you know that a test case is a regression test case
What are the different attribute used with regular expression?
How to use Environment parameterization? Explain with an example.
What is an object repository?
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........