Hi, i have a string like "INDIA". I need to display this
string vertically in Msgbox?



Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?..

Answer / lakshmi

Dim Str,I,J,Temp
Str="INDIA"
For i=1 to Len(Str)
J=Mid(Str,i,1)
Temp=Temp&J&VbCrlf
Next
Msgbox Temp


Please let me know if u any other answer which is simplest
than this.

Is This Answer Correct ?    8 Yes 1 No

Post New Answer

More QTP Interview Questions

can any body help me out by providing links/material for descriptive programming in QTP otherwise can you post decriptive programing based interview Questetion&ans. plz help me out . i need it.

1 Answers   ADP,


What is keyword driven testing..what is the use of this in Automated testing

2 Answers   IBM,


what is Synchronization point in QTP?Can anybody give a perfect example on it Thanks in advance

5 Answers  


What is data driven testing in QTP?

11 Answers   Agile Software,


How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object

0 Answers  


How to open any application during Scripting in QTP?

7 Answers   Celgene, IBM,


How to database testing by manualy?in my db having 100 records when i am retriving the data from db it shows in frent end 30 records how to find bug using QTP?plz Exp realtimers (Chandana)

7 Answers   Wipro,


How to add synchronisation points in qtp?

0 Answers  


What is iteration? How it is related to Test Results in QTP?

2 Answers  


does qtp need record and playback in realtime. plz tell exactly wat happens

3 Answers   HP,


I want to know how to execute the descriptive programming in qtp for the webedit object which does not contain attached text property. but i have checked it with name and html id property. Even though it is not executing. it is giving error in object's physical description.

2 Answers  


How to launch application under test through VBscript without using systemutil.run or invokeapplication?

3 Answers  


Categories