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
Highlight attributes of good framework?
Anyone have idea of jmeter.IF so pls contact to this mail id arun130887@hotmail.com
What is test automation or automation testing?
Can you do without a framework?
Is automation testing in agile methodology useful or not?
Please explain what is a relative xpath?
Hi All, Is there any free automation tool for windows application and it's easy to use? I usually take a lot of time to regression test my application when there is a new build on live environments (about same 10 environments) I wish I know a automation tool to regression test and ofcourse it's free, easy to use (maybe using C#) Could anybody can advise to me a tool like that? I very appreciate ^^
Can you tell some good coding practices while automation?
How can you create html test report from your test script?
Describe some problem that you had with automating testing tool.
test cases test wheather window? test cases to test calculaor? test cases to test a reverse string program? test cases to test program{ int.parse(sting str) $return (int)}? test cases to test program{display string length}?
WHAT IS TEST SCRIPT AND HOW DO YOU CREATE IT?
What is a xpath?
Anyone aware of Test Runner (ETL Automation Testing tool) if so please help me with material in keerthi.smile14@gmail.com
Types of F/w in Automation