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
Why qtp the best testing tool?
How to execute a winrunner script in quicktest professional (qtp)?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
The hybrid framework can be implemented for any application. Is it true?
What are the features supported by UFT?
Explain in brief about the quicktest professional (qtp) automation object model?
Generic function to search for the unique link in webtable and click on it
Explain in brief about the quicktest professional automation object model?
what is the hierarchy to use properties in descriptive programming
What are the types of data tables in qtp?
Explain the check points in quicktest professional (qtp)?
Where we can use the analog mode and where we can use the low – level mode?
What is the difference between Keyword Driven test and Data Driven test?
Explain the concept of object repository and how qtp recognises objects?
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva