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 |
During execution, how can we capture the data from the pop- up, ie. when any popup comes with some numbers written on it, then how can we capture the value/number that is coming on the pop-up and save in the dynamic file/or other file, even when the run is going on.
How to use parameterization in qtp?
In QTP I have a parameter in a datatable that is a sentence. I need to take the last word from the sentence and enter it into a field in a web application. How can I setup a parameter to enter in just a portion of the parameter (last word of the sentence) instead of the entire paramater (whole sentence).
Explain different recording modes?
1) 100 test boxes there in application. how to click 100 test boxes using vb script? 2) 100 objects there in web page,how we will store that 100 objects repostries?
what is the difference between ClassName and class in QTP?
hi friends i was tried to connect qtp with oracle database using provider.i got a error.so anyone can help me out by correct script
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
In Test Director , You can store Test cases or vb Script . Why we need VSS?
how to load all resource files(function libraries,object repositories etc) into tests without associating them?
how to write code for to select all the checkboxs in the gmail i wrote code for my question but it didn't works any body suggest what wrong my code my code is Set chkboxDesc=Description.Create() chkboxDesc("type").value="chekbox" Set chboxcollection=Browser("name:=Gmail .*").Page("title:=Gmail .*").ChildObjects(chkboxDesc) For i=0 To chboxcollection.count-1 chboxcollection(i).set "ON" Next i was getting general run time error pls help me i am in learing stage
How do you start automating/ writing your QTP scripts ?