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 Posted / 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 |
Post New Answer View All Answers
what is supply chain management?
If I give some thousand tests to execute in two days what do you do?
How many types of recording modes in qtp? Describe each type with an example where we use them?
give me an example where u used good judgement and logic in solving a problem
how do u plan test automation?
How can you close the second opened browser?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
How to change the priorities of the recovery scenario properties?
what are the mandatory properties for a tex boxc (scenario?)
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
UFT 12.02 which ALM version will support
How can i initiate the objects to find uniquely in OR
What are the different types of action?