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 |
When do you start developing your automation tests?
Could someone educate me on automation testing process followed in a company. I have a vague idea, but i need concrete answers. And thank you all in advance.
Describe some problem that you had with automating testing tool.
When will you not automate testing?
Hi, here r some questions, which were asked in Ekaplus, plz process these questions. 1. How we connect with the version?
Can you explain data-driven testing?
When you will not automate testing?
what r the diffence between QTP 8.2 & QTP9.0?
Tell me what is the testng.xml file used for?
When do you prefer manual testing over automation testing?
hi i would like to know is there any training institue for Calabash,robotium and ui automator in hyderabad...urgent
what is GDC