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 |
How Can I automate PDF forms using QTP9.2 ?
Where we can use the analog mode and where we can use the low – level mode?
What is the syntax for how to call one script from another?
describe common problems of test automation?
what are the different kinds of frameworks in automation?
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?
what are the utilities and drivers
Can any one give me some basic VB script used in QTP ?As i am new in QTP.Give sample VB script used in QTP? PLZ
Mention the test steps of qtp.
How many add-ins comes by default with quicktest professional?
What is test object model in quicktest professional (qtp)?