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

How do you connect to database ,What is the script to connect DATA BASE?

2 Answers   Nokia,


Hi Friends, If you got one Bug , and you are insert that bug in bug tracking tool , and you need to attach SC's (screen shots) also. how to tae SC's , in your organization any separate tools available to take SC's. please provide Ans. its urgent... Thanx in advance

3 Answers  


when u script reveiwing in which area u more concentrates?

1 Answers   IBM,


Describe synchronization point.

1 Answers  


Explain different checkpoints in qtp.

1 Answers  


Types of properties that Quick Test learns while recording?

1 Answers   Crea,


What is OUTPUT VALUE ? PLZ Explain With Example?

5 Answers  


I want to export the datasheet to excel.Instead of total file it exports only data without headers.How to solve this problem?

1 Answers   FAI,


what skills needed to be good test automation?

3 Answers  


what are the functions availabla in QTP? what are the data types in QTP?

2 Answers   Spry Technologies,


in qtp how can we do test when the build is not ready

3 Answers   Mindlance,


I am trying to read the rediffmail usign the below code. But facing problem, while i user to get the link of the mail, i am getting all the link of the page, While i just want to get only mail name - link (not all the link of an page) so that i able to read the mail message by clcking on them in qtp. Dim Lnk,Webcheckbox Set Lnk= Description. Create '********* To count and display the webcheckbox Lnk("micclass" ).value=" Link" set LinkName= Browser("Welcome to Rediffmail:" ).Page("Welcome to Rediffmail:" ).ChildObjects( Lnk) LinkCount=LinkName. Count msgbox LinkCount For i=1-1 to LinkCount-1 DataTable.SetCurren tRow(i) DataTable.Value( "Name",1) =LinkName( i).GetRoProperty ("name") Next Waiting for the reply Praveen Saini

1 Answers  


Categories