Hi, i have a string like "INDIA". I need to display this
string vertically in Msgbox?
Answers were Sorted based on User's Feedback
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 ? | 10 Yes | 2 No |
Answer / mandar
Dim Str,I,J,Temp
Str="INDIA"
For i=1 to Len(Str)
J=Mid(Str,i,1)
Temp=Temp&J&Vbnewline
Next
Msgbox Temp
| Is This Answer Correct ? | 2 Yes | 0 No |
str="INDIA"
For i=0 to len(str)
x=Mid(str,i,1)
Print x&VBCRLF
next
| Is This Answer Correct ? | 0 Yes | 0 No |
Suppose there is a bitmap with some text in it how do you write the script to get the text.
i have read that "non-reusable actions can not be called in any other test".but in 'call to copy action' copies non-reusable action in other test also..can u pls help to understand this..
what are the mandatory properties in qtp? what are the library functions in qtp?
what is run-time data?
can we run the scripts of QTP8.2 in QTP7.0?
In qtp, how you can get the last character from a string?
What is the basic concept of qtp?
How do u retrieve data from a text file into different variables. i.e. in a text file named "source" , the data is like : india,1000,japan,200,china,50,singapore,45050 this is given in the first line of the text file. in the second line of the text file the dta is: sun,moon,planet,river,earth,water if u use "readline" method by using FSO concept u can retrieve the entire line in to a variable. but i want to import each field (ex: "india" in one variable, "1000" in another variable etc..). Apprecitae proper replies.
Hi friends, I have heard that it is required to have an application hosted in the same machine where we use QTP. Otherwise QTP may identify the objects incorrectly. Please clear me is it true.
what are the different kinds of frameworks in automation?
How to record right click of a context menu and click on the selection ?
wt is the difference between global and action excel database in qtp?for example one action is calling another action the second action is using action excell sheet?if it is using global sheet what makes the difference?