How function returns a value?



How function returns a value? ..

Answer / sandeep

Simple

nearly at the end of function write statment

functionname = Value of variable you want to return.

If this is single value then only one value is returned.

If value of variable is an ARRAY then entire array is
returned.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

How to Import data from a ".xls" file to Data table during Runtime.

10 Answers   BirlaSoft,


What is the extension of script and object repositary files?

2 Answers  


What are some test assets and related extensions of qtp?

0 Answers  


Hello Everyone, I have a problem. QTP is capturing no action on a particular page in the application that I am trying to automate. But on the same side its working fine on other pages of the same application. Can someone please help me understand the reason behind this inconsistency.

1 Answers  


How does QTP identifies the object in the application

6 Answers   Convergys,






My project title is "DRUG Audition and research management" it comes which domain?

4 Answers  


3 differences between QTP & Winrunner?

1 Answers  


Give me exact application where we should use low level recording?

6 Answers   CTS,


what is check point?

2 Answers  


Do we get any issues if we run the test script on differentbrowsers?what are the options we need to set in QTP?

3 Answers   CTS,


When to use Descriptive programing?

2 Answers   Wipro,


How to load object properties to object repository through scripting.give one example

7 Answers   IBM,


Categories