can any one tel ,using simple string
a[0]=I
a[1]=N
a[2]=D like that it go's
.
.
out put i need INDIA help me it's really need full ..

Answers were Sorted based on User's Feedback



can any one tel ,using simple string a[0]=I a[1]=N a[2]=D like that it go's . . out pu..

Answer / lakshmi

You can use function JOIN

Dim arr(10)

arr(0)="I"
arr(1)="N"
arr(2)="D"
arr(3)="I"
arr(4)="A"

Msgbox Join(arr) - it will display INDIA

Is This Answer Correct ?    7 Yes 0 No

can any one tel ,using simple string a[0]=I a[1]=N a[2]=D like that it go's . . out pu..

Answer / kishan

option Explicit

Dim Str, i, arr_len

Dim arr(10)

arr(0)="I"
arr(1)="N"
arr(2)="D"
arr(3)="I"
arr(4)="A"



arr_len=Ubound(arr)

for i=0 to arr_len

Str=str&arr(i)
next

msgbox Str

Is This Answer Correct ?    6 Yes 0 No

can any one tel ,using simple string a[0]=I a[1]=N a[2]=D like that it go's . . out pu..

Answer / shyamala

a=array("I","N","D","I","A")
msgbox (a(0)+a(1)+a(2)+a(3)+a(4))

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Waht is Test Report , What it consists?

2 Answers  


How many add-ins comes by default with qtp?

0 Answers  


what is descriptive.create()in qtp?

3 Answers  


How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance...

2 Answers   Navis,


Why QTP is termed as a Record and Playback tool?

1 Answers  






What are the different types of recovery operation?

0 Answers  


How can we check whether a particular sheet loaded (existed) or not in Data Table.

7 Answers   TCS,


QTP9.1 does not support to text checkpoint in Windows application? Is this correct? If this is correct, what is alternative for Text checkpoint?

2 Answers  


Hi, Can anyone write the following qtp script...please its urgent ·Navigate to Google in a new IE instance ·Search for the following word "Gap, Inc." ·Iterate thought the first 10 pages of google ·On each page collect the following ·The "blue" page title ·The "green" url ·Output all the data into a file named "test_output.txt" ·Format "Title – URL"

1 Answers  


What test cases can you automate using QTP?

0 Answers  


Where to use Property Let, Property Get, Property Set in UFT

0 Answers  


How u prepare Test result summary in QTp?

4 Answers   CGI,


Categories