Can a function return a dictionary object?
Answers were Sorted based on User's Feedback
Answer / uday kumar _ anem
Yes.
Functions can return a dictonary object.
Dim dicObj
Set dicObj = CreateObject("Scripting.Dictionary")
Set obj=getname
MsgBox(obj.item("name"))
Public Function getname()
dicObj.add "name","Uday Kumar"
Set getname=dicObj
End function
| Is This Answer Correct ? | 17 Yes | 3 No |
Public Sub GetValue()
Set obj = getname
MsgBox (obj.Item("name"))
End Sub
Public Function getname()
Dim dicObj
Set dicObj = CreateObject("Scripting.Dictionary")
dicObj.Add "name", "Uday Kumar"
Set getname = dicObj
End Function
| Is This Answer Correct ? | 6 Yes | 0 No |
how to test Web application using QTP software
Plz explain about InTERNAl Environment variable, External environment variable,builtin environment variables with examples?
what is Unicode Compatibility ? HOw does this makes a diffrence from Winrunner.?
How we can add actions in the test using QTP?
what is parameterisation?
How to connect to a database?
How to modify object property in qtp ?
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
0 Answers Tavant Technologies,
How can i check elements sorted in dorpdown using qtp..
Can anybody help me for vb script in qtp? give me examples for practice plz.
What criteria do you use when determining when to automate a test or leave it manual?
This is the script generated by qtp plz can anyone write the same script using descriptive programming plzzzz guys do answer. Browser("orkut - login").Page("orkut - login").WebEdit ("Email").Set "rgovard" Browser("orkut - login").Page("orkut - login").WebEdit ("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38" Browser("orkut - login").Page("orkut - login").WebButton ("Sign in").Click Browser("orkut - login").Page("orkut - home").Link ("Logout").Click Browser("orkut - login").Page("orkut - login").Sync Browser("orkut - login").Close