Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



hai friend's .. my question is a[0]=I a[1]=N a[2]=D LIKE IT GO'S i need output IND..

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

hai friend's .. my question is a[0]=I a[1]=N a[2]=D LIKE IT GO'S i need output IND..

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

hai friend's .. my question is a[0]=I a[1]=N a[2]=D LIKE IT GO'S i need output IND..

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

hai friend's .. my question is a[0]=I a[1]=N a[2]=D LIKE IT GO'S i need output IND..

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

Post New Answer

More QTP Interview Questions

How Can I automate PDF forms using QTP9.2 ?

0 Answers  


Where we can use the analog mode and where we can use the low – level mode?

0 Answers  


What is the syntax for how to call one script from another?

0 Answers  


describe common problems of test automation?

3 Answers  


what are the different kinds of frameworks in automation?

2 Answers   Accenture,


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

0 Answers  


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...?

4 Answers  


what are the utilities and drivers

0 Answers   Cap Gemini,


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

3 Answers  


Mention the test steps of qtp.

0 Answers  


How many add-ins comes by default with quicktest professional?

0 Answers  


What is test object model in quicktest professional (qtp)?

0 Answers  


Categories