how can we reverse the string without using the revese of
String function in QTP?
Answers were Sorted based on User's Feedback
Answer / pillae
Str = "Reverse"
Cnt = Len(Str)
RStr = ""
For i = 1 to Cnt
RStr = Mid(Str,i,1) & RStr
Next
Msgbox RStr
| Is This Answer Correct ? | 50 Yes | 4 No |
Answer / ramana vanteru
str="ramana"
revstr=strreverse(str)
msgbox revstr
O/P will be: anamar
| Is This Answer Correct ? | 20 Yes | 14 No |
Answer / digi
IPString="buddy"
Dim StrTemp
StrLen=len(IPString)
For i=0 to len(IPString)-1
StrEachChr=mid(IPString,StrLen-i,1)
StrTemp=StrTemp & StrEachChr
Next
msgbox StrTemp
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / mahesh
Dim str,newstr,strrevers
str="QTP"
Set newreg=new regexp
newreg.global="True"
newreg.ignorecase="True"
newreg.pattern=".{1}"
Set newstr=newreg.execute(str)
Dim strarray()
For i=0 to newstr.count-1
ReDim preserve strarray(i)
strarray(i)=newstr.item(i)
Next
For i=0 to ubound(strarray)
strrevers=strarray(i)&strrevers
Next
print strrevers
| Is This Answer Correct ? | 2 Yes | 2 No |
please guide me to get some automation tool for functional testing in freeware and how to work with it?Its emergency
Which testing tool can be used for a window base application. My application is a WPF window application, which testing tool i can use to test this application?
Why do you want to keep this kind of information in a separate file and not directly in the code?
4. How we implement Winrunner,in our project?
Where to maintain information like login, password and url?
What are main benefits of test automation?
Explain what is a relative xpath?
Any one suggest me for Free ware (Opensource) Automation tool for regression testing.
Which is the best place to learn Loadrunner performance testing in hyderabad ?
Dear Friends, Please Let me know which is the open source software(Free of cost) to do cross browser Testing.
How do you plan test automation?
Tell me what is regression testing?