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
Elaborate the situation where automation testing can’t be used for agile methods?
Do you know how to verify if the checkbox/radio is checked or not?
Define sdlc in testing.
What are different coverages in function testing?
Tell us what is the difference between @factory and @dataprovider annotation?
What should you do after finding a bug?
What are the important operations in database testing?
Do you know what is the purpose of deselectall() method?
Tell me an example of the languages supported by webdriver?
If i am doing the automation of test suites in a project. Then what will be the system interfaces for that?? The tools I am using or something else... please help..!!
What are the important modules of an automation testing framework?
What is vendor tool and give examples?
Tell me what is the testng.xml file used for?
Tell me what databases can test director reside on?
What are the phases in automation testing life cycle?