How do you return a value for an array.



How do you return a value for an array...

Answer / sandeep

If you want to return ARRAY from function then simple trick
is

functioname = name_of_array

This statement will force function to return array.

Array may be of any size.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?

0 Answers  


Hi All, I am new to QTP but i was trained on winrunner before. My problem is..QTP 8.2 was unable to record my application which is a java app. By selecting smart identification, i was somehow able to record the test BUT QTP cant run the test! Can anyone help me in walking through this problem..Is java addin really necessary for this?? Is there anyways i can run the test successfully? I am not sure whats going wrong in my testing.Please do help me asap as i need to submit the report early. Thanks in advance

4 Answers  


i want to learn testing tools what i have to know before.iam fresher i dnt know any this..which langagues i have to before testing.

2 Answers   Wipro,


What are the file extensions for per-action, shared object repository files and what is the extension for library files?

9 Answers   Semantic Space,


Can you import and export data from XLS and how?

4 Answers  


We have a text file which contains 1 to 100 numeric values sequentially like 1 2 . . 100 Now we have to count them and transfer to XML file by writing a code in qtp.

1 Answers   Cap Gemini,


How i can use Regular expression in QTP?give detailed steps for it.

2 Answers  


what is the default ordinal identifier.what are the send keys in qTP.

1 Answers  


how can we compare descriptive programing with a regular expression

0 Answers  


WHAT ARE THE SHORTCUT KEYS IN QTP?

4 Answers   TCS,


How to test the mandatory fields in QTP?

1 Answers   SoftSolve, TE,


Hello Everybody, please tell me how to use accessibility checkpoint and XML checkpoint by giving any practical example of it.please provide me the steps to perform that and also pls provide the code too. Thanks in advance, Gaytri

1 Answers  


Categories