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 |
Do you know what is robot api?
you have any interaction with clients?
Is web based application a 2 tier or 3 tier application.
What is a ‘test plan’? What is a ‘test case’?
hello frnds this pooja i hav started working on selenium with java ecllipse frnds could u tell me how to handle popup windows and security alerts i m jst trying and couldn't do anything plz help
How would you test your own element locator?
Elaborate the fields in bug report in automated testing
Name some of the commonly used automation testing tools that are used for functional automation.
What are the limitations of automating software testing?
what skills needed to be a Good test automator?
If testing is done using white box testing,then what is the need of using Black box testing again? I mean when unit testing and Integration testing is done at Coding level, what is the need of testing again at testing level?
What is test tool?