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 |
How to retrive XML file data in QTP ? using Script(Chandana)
How to call the userdefined functions to script? If i am stored 'add()' function in Library functions folder. i want to cal that function in my script.
How do u do batch testing in WR & is it possible to do in QTP, if so explain?
Explain the concept of object repository and how qtp recognises objects?
What is ‘object spy’ and what is the function of object spy in qtp?
How do you open adobe acrobat file in QTP and do some testing on that file ?
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
There is one parent browser and 'n' number of child browsers on desktop. Write a code to close all the child browsers but parent browser should not be closed.
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
Plz explain about Virtual object? What is the situation u r using , explain with example?
What are Child Objects?
Hi, I am trying to automate the web application for generating Reports.I am facing issue with IE while running the script. After 4 report IE crashes.I am using QTP 9.5 with IE version 7. Can anubody give me solution for this issue. Thanks in advance-Jyotsna