How to return a value from a fn, if it has more than one value
how to return
Answer Posted / ram
There is only way to return more than one value that is by using call by reference. we can call function by reference passing an object.steps
1. Create class
2. Declare more than 2 elementes
3. Create object of the class
4. Call function by passing that object
please let me know if I am wrong.
Ram
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are the types of environment variables in qtp?
Explain different type of event trigger option.
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
Have you done batch testing in qtp? If yes how you are doing?
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
What is the file extension of the code file in qtp?
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
How do you delete unwanted results in qtp?
How to find the path of folder in which the test is saved in qtp?
can the activities of test case design be automated?
Both static and dynamic arrays are handled by the vb script. Is it true?
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
How to handle dynamic objects in quicktest professional (qtp)?
Where to use Property Let, Property Get, Property Set in UFT