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 |
Where can i get professional course on web services testing in hyderabad or bangalore
Do you know how can we make one test method dependent on other using testng?
script to check availibility of mail in yahoo mail box in qtp
What automating testing tools are you familiar with?
What is the major difference between Functional test, Acceptance test, Usability test and performance test. With special reference to automotive domain
What testing activities you may want to automate?
How do you select which automation tool is best suited for you?
How to get the Background color of a Tab or Button in TestComplete Tool using VBScript? I have a validation that to verify whether a particular tab or button is highlighted or not. When the tab or button is highlighted the background color will be in Yellow color.If i get the background color then its easy for us to validate whether its highlighted or not. Can anybody help me on this?. Thanks in Advance.
What automating testing tools are you familiar with?
Write test cases on ATM machine and On Pencil.
How to Rcognize the Objects in the Web Page Dialog Using QTP
3. Generally what type of bugs we are finding in a project give some examples?