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


Please Help Members By Posting Answers For Below Questions

Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

2794


how will you check how many members visited the website www.infosys.com?

1476


What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)

1007


Explain qtp(quick test professional)?

570


How many types of object repository in qtp?

598






Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3268


Is virtual object supported in low level recording mode?

617


Which functionalities of QTP used in banking project?

1911


describe some problems that u had with automating testing tool?

1407


Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris

1739


what is clean sweep?

1877


Explain different checkpoints in qtp.

716


What are the types of environment variables in qtp?

541


what is impact analysis on regression testing?

2036


What is the pros and cons between QTP and Rational Robot

3278