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
What is the basic concept of quicktest professional?
Approach for Installation,comaptibility,system testing
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
Where to use Property Let, Property Get, Property Set in UFT
How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
what are the mandatory properties for a tex boxc (scenario?)
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
What is the parameterization? Give one example?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
What is optional step in qtp? How you can add optional step in qtp?
How you know that a test case is a regression test case
how to test Web application using QTP software
The hybrid framework can be implemented for any application. Is it true?