how can we reverse the string without using the revese of
String function in QTP?
Answer Posted / 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 |
Post New Answer View All Answers
Tell me the fundamental difference between xpath and css selector?
Why do you prefer selenium automation tool?
Which is the best place to learn Loadrunner performance testing in hyderabad ?
Generic function for selecting a Radio Button in a Dialog
Explain how to perform load-testing?
Any kind of test which you think should not be automated?
Do you know how to verify if the checkbox/radio is checked or not?
List some advantages and disadvantages of manual testing.
What are the differences between open source tools, vendor tools, and in-house tools?
did anybody take online training from Mind Q systems hyderabad? please share your experience. thanksĀ
Which protocol cam be used to makw jdbc connection woth loadrunner
Can any one give me the script for drag and drop or setselection functions ?like in a not pad i want to select 5 lines
What criteria do you consider for automating a test?
What are the advantages of test automation?
How you report bug in to bugzilla