How to define array in qtp?



How to define array in qtp?..

Answer / Bipin Chandra Arya

To define an array in QTP, use the following syntax: Dim MyArray(<index_range>). For example, to create an array with 5 elements (indices 0-4), you can define it as: Dim MyArray(4)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

In my QTP script I have a word in notepad that ends in a question mark, for example... "father?" As part of my script I want to delete the question mark. How do you delete a character in notepad?

4 Answers  


How can i see test results in excel sheet ? test data not present in data table.

5 Answers  


what are the disadvantages in QTP 9.2?

1 Answers  


Can we do server automation by QTP? If you have any helpful links ,pls post it. Thanks Uma

1 Answers  


How to save your test using quicktest professional (qtp)?

1 Answers  


What is smart identification?

2 Answers   AZTEC,


Hi Friends, Can any one answer this question? 17) What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value

2 Answers  


What is the difference between rational rose and QTP?

1 Answers  


Write a code check the checkbox in the web table which is in the 4th row and fifth column (Use child item concept)

2 Answers   FIS, Wipro,


how are environment variables used in real time projects (testing)?what answer should be given about this in interview.need real time explanation breifly?thnx in advance.

2 Answers  


When Recovery scenario actually starts while testing the application?

1 Answers   SAP Labs,


WHAT AREV THE STEPS BETWEEN TEST cASE AND Script generation?

2 Answers  


Categories