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 get align property of the link on web page?

1 Answers  


Give a comment on Regular Expressions using QTP?

4 Answers  


I have a tool for automation testing (eg:qtp).I have two functionality(A & B) to test.A is tested once in a year. B is tested everyday. At present i have the money and resource availability to automate only one functionality.Which one will u suggest and why?

2 Answers   TCS,


What are Test case selection criteria for Automation?

2 Answers  


How do you test the different ads displayed in the Inbox home page of Yahoo. Once u login Yahoo mail, in inbox page there will a banner, where different ads are scrolling, how do you test that using qtp?

2 Answers  






descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button

0 Answers   DigiTech,


how to display message with out using msgbox function?

5 Answers   AppLabs,


what does it mean when a check point is in red color? what do u do?

4 Answers  


Hi All I am installing QTP 8.0/8.2 in my office desktop (WIN XP) but it is not working. Inspite Installion is succesfully done but when i open qtp from programs it opens only first screen of add-in and after that it disappears. But in my other computer at home (winxp) it is working fine. Can you please give the reason, why it is not working in office desktop. DEEPAK SINGH

4 Answers   Satyam,


Hi All, I am using QTP for one of the Desktop application which uses Keyboard inputs like 'Tab ,F7 etc' and also mouse (Click). After recording when i am running the Script ,it is not able to recognize the keyboard inputs like F7,Tab and mouse Click because of which either i have to skip that part or manually do the inputs. Please answer how can i make script more flexible so that it will recognize both keyboard and mouse operations.

3 Answers  


How to build scripts that access data from external sources?

0 Answers  


write a VBscript code to parametrize test script using test data from sqlserver database?

2 Answers   IBM, Polaris,


Categories