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
If I change the property value at runtime is it effect is object repository?
How to use setroproperty?
What are the automation metrice in your project?
Whether qtp 9.0 supports Test director8.0
Explain the differences between table and db checkpoints?
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak
How is test case write?
when a test case is written how u test using qtp
What is 'sleep' in sync point?
Explain types of output values?
how many maximum number of virtual users we can create?
Explain in brief about the quicktest professional (qtp) automation object model?