can a Function return more than one value..??? if so please
give me the code for that.

Answer Posted / siqtp

Logically Function can return pnly one value.But we can
achieve rturning multiple values using any of the following

1)Concatenate all the values to be returned to a string and
retuen it
2)Use arrays
3)Use dictionay object
4)use ByRef

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi All, How to get repeated word in string . Thanks Balaji

936


How to run a test using quicktest professional (qtp)?

544


I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?

1849


1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?

1586


Explain the concept of object repository and how QTP recognizes objects?

553






Explain the new feature of UFT regarding the export of test results?

578


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

1578


What are the 3 main stages involved in testing with qtp?

557


How will you compare keyword and expert view?

535


How you can delete excel file in qtp?

599


what kind of frame work you used in your last project?

1819


How to handle the exceptions using the recovery scenario manager in qtp?

569


What are the factors on which script execution time is dependent?

608


What are the different recording modes and how do they work?

618


Explain the features of quick test pro(qtp)?

576