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

Why divide a test into three action calls?

1 Answers  


After i ran the Test in Batch mode i didn't get any results. Can any one let me know how it can be done?

3 Answers  


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

1 Answers  


What are the different attribute used with regular expression?

0 Answers  


Waht is diff between SystemUtil.Run and invokeapplication

5 Answers  


CAn anybody tell me how can I use QTP to capture any video in my application?I want to see the video file opened in my application after the tests are completed in tests results.Can anybody help me?

6 Answers  


Can you tell me the differences between writing the VB script manually for a application and recording the same application in QTP , with a example?

1 Answers  


what is the difference between link and hyperlink?

10 Answers   Infosys,


Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.

0 Answers  


A web Page has a webtable with four columns and four rows. The first column is of ID and has values of 100,100A,A100,100y Find out the number of rows whose ID starts with 100. Similarly the last column is 'number of links'. Each row in the last column has values like link1,link2,link3 etc Find out the number of links where id is 100

1 Answers   Virtusa,


Give answer with example what is orthogonal array testing technique?

1 Answers   CTS, Wipro,


Hi, Am trying to download QTP 8.2 version.its not supporting Windows Vista.Can you please help me out from this.Which QTP version supports this. Thanks in Advance.

2 Answers  


Categories