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
How can we make one test method dependent on other using testng?
Elaborate the situation where automation testing can’t be used for agile methods?
Name some of the commonly used automation testing tools that are used for non-functional automation.
When is automation testing useful?
i have one answer from you that today the test cases are not stored in the database(SQL server 2005). But in automation testing where does the test case store? plz tell me... i have more confusion
Tell me how can we find the value of different attributes like name, class, value of an element?
Mention a few good practices while performing automation testing.
How automation process is carried out?
What is the difference between continue and next sentence?
What is test tool?
Where do we get the QTP and Load runner softwares CDs ( Original ) in chennai
List down the primary features of a good automation tool?
Explain me how do you send enter/tab keys in webdriver?
Which package can be imported while working with webdriver?
What is junit annotation?