VB scrip has a special command named LBound, which returns
the starting index of an arry. What are the possible indexes
an array can start with?
options are given below. and one only the correct answer. pl
select it
1. any index
2. only even non-negative
3. only 0
4. any non-negative integer
Answer / harsha
array can start with 0 only as we start it.
example:
a="a,b,c,d"
splita=split(a,",")
for i =0 to Ubound(splita)-1
Msgbox splita(i)
Next
Here if you start i with any other number than 0 then we
cannot the see the starting element. you can try and see.
We cant use -ve numbers in array index.
| Is This Answer Correct ? | 3 Yes | 0 No |
Suppose U change the script whether it affect the object properties of the object in the object repository
What is meant by Repository?
7 Answers ALFiNE IT Solutions, Four soft,
What are private functions in QTP? How they can be called from the function library?
How to make arguments optional in a function?
how do you invoke the application through QTP?
what is the data driven testing?
how can we group that these test cases only should be automated and in which order you execute that test cases
How to record objects of Windows taskbar
your coming from electrical backgroung..but y ur coming to software side?
In qtp, how you can get the last character from a string?
how to retreive the xml file data through qtp.can anybody send script for this..
assume i have few url link how will i dynamically call then using descriptive programming?