how to calculate no. of repeating characters in a a
string..please give me the code
Answer Posted / venky
mystring = "mississipi"
slen=Len(mystring)
msgbox slen
ws=Len(replace(Mystring,"s",""))
msgbox ws
charcount=Len(mystring)-Len(replace(Mystring,"s",""))
msgbox charcount
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Explain how to use QTP to check broken links on a page?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
What is data driver in qtp?
What is the parameterization? Give one example?
Explain the parameter in qtp?
What is qtpro? What is quick test pro?
What is the virtual object?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
what is clean sweep?
How is UFT 11.5 version different from UFT 12.0?
Can launch two instances of qtp on the same machine?
Explain the concept of object repository and how qtp recognises objects?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
What is the use of sendkeys and what are send keys
How to analyzing test results using quicktest professional (qtp)?