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 |
What issues come up in test automation, and how do you manage them?
Can anyone tell me the correct answer of below question....it is about Bugzilla tool. When bug will find out at the time of executio where it will save or what is the location of bug??
What is junit annotation?
Hi, Can anyone please tell me which Test Automation tool can be used for : 1. Web based testing 2. .Net (C#) applications 3. Mobile applications (PDA)
What are the phases in automation testing life cycle?
How can you switch back from a frame?
How to open an application through scripting in QTP? Give me Syntax and example please
IS DATA INTEGRITY TESTING AND INTEGRATION TESTING ONE AND THE SAME?IF DIFF CAN U SPECIFY THE DIFFERENCES
If automating - what is your process for determining what to automate and in what order?
In general, how do you see automation fitting into the overall process of testing?
Name the frameworks that are used in software automation testing?
Best Online Training For Tosca Test Suite?Good Online Training For Tosca Test Suite?