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
Explain what is the difference between findelement () and findelements ()?
Explain what is a relative xpath?
explain add in manager and virtual object wizard in winrunner
How could you explain the main difference between webdriver and rc?
When do you prefer manual testing over automation testing?
What is self-referencing constraint in mainframe development?
how can i count the no of edit field in a page and fill the multiple edit field
Where will you maintain information like url, login, password?
Types of F/w in Automation
Can we do automation testing without a framework? If yes, then why do we need a framework?
I want to learn the data base testing, how can I start my psactice? I already reading the books of basic for data base? If any other books that make my study simple please suggest.
Is there any freeware tool for automation testing of mobile applications for BlackBerry and iPhone platforms ?
How will you automate basic “login” functionality test cases for an application?
What is open source tool and give example?
What is javascriptexecutor and in which cases javascriptexecutor will help in selenium automation?