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

I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)

7 Answers   Xansa,


I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2

1 Answers   Livetek,


i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet

1 Answers   IBM,


how to test Web application using QTP software

1 Answers   Google,


How to maintain the old scripts in QTP?

2 Answers   Olive Tech, Wipro,


What is Virtual Object? Plz Explain me with an example?

2 Answers   Ordain Solutions,


Up to how much VB scripting knowledge and what type of VB script knowledge is required for a QTP test engineer for real time to work ?

3 Answers  


how to run the script If QTP tool not identify object in web page

2 Answers  


i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework

1 Answers   IBM, TCS,


1.How to find in which row or column,string "Hyderabad" exist in excel sheet? 2.How to find how many times character "a" repeated in a given string "Koteswararao"

6 Answers   Ness Technologies,


can anyone answer this question ........in the DICTIONARY OBJECT....i created the dictionary object in reserved object ok....here i have some sets of values ...now i want to retrieve the item i done too ok.......here my question is now i saved the test and close the qtp tool ,again i opened now i retrieve the same item in the dictionary is it possible ????. friends when i try to do this i am getting empty message box i mean no value will be retrieved ......ans me any one plz...

1 Answers   FSS,


How to find RAM size by using QTP?

2 Answers   IBM,


Categories