hai friend's ..
my question is
a[0]=I
a[1]=N
a[2]=D LIKE IT GO'S
i need output INDIA ,using simple string how will u do?
can any one tell really need full..
Answers were Sorted based on User's Feedback
Answer / karthick
good ans ..same time instead of using
msgbox a(0)&a(1)&a(2)&a(3)&a(4)
why can't we use join function...i mean like this..
Dim myres,a(4)
a(0)="I"
a(1)="N"
a(2)="D"
a(3)="I"
a(4)="A"
myres=join(a)
msgbox myres
| Is This Answer Correct ? | 20 Yes | 1 No |
Answer / manjunathareddy
Dim a(4)
a(0)="I"
a(1)="n"
a(2)="d"
a(3)="i"
a(4)="a"
Msgbox a(0)&a(1)&a(2)&a(3)&a(4)
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / kishan
dim arr(4)
arr(0)="I"
arr(1)="N"
arr(2)="D"
arr(3)="I"
arr(4)="A"
msgbox join(arr)
(or)
str=""
for i=0 to ubound(arr)
str=str&arr(i)
next
msgbox str
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sunita
dim str1,a(4)
a(0)="I"
a(1)="N"
a(2)="D"
a(3)="I"
a(4)="A"
for i=0 to ubound(a)
str1=str1+a(i)
next
msgbox str1
May be this is another way out.....correct me if i m wrong.
| Is This Answer Correct ? | 1 Yes | 0 No |
If I change the object name in one action will it be updated in all the actions? Or not?
How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the difference between them? how to handle script issues?
What is the difference between client server application and web based application?
Can we do server automation by QTP? If you have any helpful links ,pls post it. Thanks Uma
Syntax for how to call one script from another and Syntax to call one "Action" in another?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
How many add-ins comes by default with qtp?
how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp
13 Answers College School Exams Tests, Mind Tree,
What is the difference between Recover Scenario(screen) and on Error Resume Next(code)
What are the common defects found in your project? (in qtp interview)
How to retrieve the property of an object?
How many ways to configure the application in QTP,Explain