Can a function return a dictionary object?
Answer Posted / 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 |
Post New Answer View All Answers
wht type of User defined functions or Java Releated functions Do we write in VB scripting
Describe function procedure in vbscript.
How will you test a stapler?
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
How would you export a script from one pc to another in qtp?
What is the use of ordinal identifier in qtp?
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
Explain the concept of object repository and how qtp recognises objects?
What is the parameterization?
How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object
What are benefits of qtp?
what the difference between shared repository and per action repository?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
How do you synchronization point through DP?
Explain process of smart Identification in QTP?