ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
How can we change(increase or decrease)the size of a array 
variable with out loosing the previous values
 Question Submitted By :: Kumar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can we change(increase or decrease)the size of a array variable with out loosing the previous values
Answer
# 1
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 ?    2 Yes 0 No
Pratap H S
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What kind of errors can b handled in QTP in real time scenario? AZTEC2
CAN SOME ONE TELL ME ABOUT QTP FRAMEWORK? I AM SUPPOSED TO GIVE THE QTP FRAMEWORK THIS WEEK SO PLEASE HELP  2
How u prepare Test result summary in QTp? CGI4
How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this????? TCS4
Did you use flatfiles in your projects?At what situation you used it?How can you upload flatfiles?  1
anyone can explain the following concepts. 1.diff b/w Linear and modular framework 2.diff b/w keyword and hybrid framework  1
What are different types of frame works ?  3
How to test login page by using QTP  5
how to write regular expression for Date field? Google7
What does it mean when a check point is in red color? what do u do?  1
w is datatable CTS5
what is defination of regression testing?  2
Function to convert lowercase to uppercase in QTP Pls anybody can give the answer.. Thanks in advance... Navis1
what is frame work?  2
If u don't have any Knowledge on perticular application but they give that application to u for Testing ? Then How we wil move towards testing on that application? HP16
I have a drop down box to show selected number of records in result page.It contains 4 items like 10, 25,50 and 100. when i was recordes script for seelcting each item and checking selecting number of records in the result page( it is in the same page in the table format)it is generating a new page with same controls( objects) in the OR. how to avaid these in OR? is it possible to write DP for only these lines?, remaining(remaingin lines of code) objects i want use from OR only. One more problemis if change ( add /remove properties of an OBJECT in OR , my ( recorded )application is not running. Virtusa3
How to handle the exceptions using recovery secnario manager in Qtp?  2
I have the script like this: Browser("Philips Web Login").Page("Philips CL DMS2 Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. If i want to get that value "DC3701737" in to a variable, how? pls let me know if you didn't get the question. Help me out in this.  2
what properties do use to identify a browser and page while using descriptive programming? TCS3
how to parameterise a test with data base table or excel sheet? FCG1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com