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

write progamming connecting QTP to database sql? this is question asked by interview? pls any answer this?

4 Answers   IBM,


Iam trying to write script for Rediffmail Page,in doing so the script line for go button is not accepting. Is their any other way other than . Browser("micClass:=browser").Page("micClass:=Page").Link ("micClasss:=Link","name=go")

2 Answers  


hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

0 Answers   Livetek,


How to import a test case present in ".xls" file to TD under a Test set?

0 Answers  


Explain the concept of how quicktest professional (qtp) identifies object?

0 Answers  






I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?

0 Answers   TCS,


HOw to add the recovery file at runtime to the test file .

0 Answers  


how to display message with out using msgbox function?

5 Answers   AppLabs,


How to change the priorities of the recovery scenario properties?

0 Answers  


Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com

0 Answers  


What is the difference between functions and actions in QTP?

7 Answers   Verizon,


What is difference between shared and local object repository?

0 Answers  


Categories