diff between dim & redim ? in detailed? pls any one explain me?



diff between dim & redim ? in detailed? pls any one explain me?..

Answer / laxmi

The ReDim statement is used to change the size of the
array within the script:
for example you have declared an array
Dim Customers(50)
But now you want to change the size of the array so you can
do that with the help of Redim

ReDim Customers(100)

Is This Answer Correct ?    9 Yes 1 No

Post New Answer

More QTP Interview Questions

How can we see the analog recording steps in QTP..the Steps are stored in a track file with an extension .dat..how can we open the file..

1 Answers  


How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????

6 Answers   TCS,


who is the best faculty in HYD? Nageshwar rao or GC reddy?

3 Answers  


does qtp need record and playback in realtime. plz tell exactly wat happens

3 Answers   HP,


is we can import the object repository from external source. if it so then how?

5 Answers  






How to export data present in Datatable to an ".xls" file?

1 Answers   Crea,


I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?

4 Answers  


What is the latest version of qtp?

0 Answers  


hai there..this is chandu..i have a txt file which containing 1000 lines but at a time i want to retrieve 50 lines..after 50 lines i required to retrieve 51-100..like that i want...so could anybody help me in this...thanks in Advance..

3 Answers  


after initiating one project for testing, when exacltly QTP tester role starts?

0 Answers  


What exactly a frame Work means?what are the different type of frameworks done in QTP?why the caption for QTP given as advanced keyword driven?

4 Answers   Satyam,


How to record objects of Windows taskbar

2 Answers   RoboSoft,


Categories