How can we change(increase or decrease)the size of a array
variable with out loosing the previous values
Answer Posted / pratap h s
Dim a(10) is array declared
if we want to change the size of array it should be
declared with redin as below
ReDim A(10)
to preserve the contents of array we need to use preerve
keyword as below
ReDim Preserve A(10)
above line is Answer ,,,, by declaring array as above it
will preserve the valus
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
Will down time for server and content maintenance/upgrades be allowed? how much?
How to find array size in qtp?
How to run a test using quicktest professional (qtp)?
What are the advantages of a Hybrid framework?
Where you are storing your script?
Explain the qtp test phases.
Suggest and Define a solution for an application whose objects are not recognized by UFT?
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
UFT 12.02 which ALM version will support
How to use checkpoints in qtp ?
what are the challenges you have faced while testing web based application using the automation tools ?
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
what are the utilities and drivers