Please let know the scripts for counting number of repeated
letters in the word. Note repeated letter should not be
count agian.
Ex: If "Hello" is my word... l is coming twice.. it should
count once and print... secong 'l' should not count again..
Answer Posted / sunil
A="Hello"
Set rxp = New RegExp
With rxp
.Global = True
.IgnoreCase = True
.Pattern ="l"
End With
Set colMatch = rxp.Execute(A)
msgbox colMatch.count
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
How to use actions in qtp ?
What is test object model in quicktest professional?
On what document base Descriptive programming is written if build is not yet ready ?
what is test scheduleling?
How to use Environment parameterization? Explain with an example.
give me the code to save all messages of inbox of gmail into a folder and notepad
How to associate shared object repository to test in qtp?
If object is not recognized by qtp but the object is standard object what is your approach?
how to idetfy which test cases are automated?who will deside that plz tell me
When ‘option explicit’ keyword is used in qtp?
What is qtpro?
can any one say that where we can download the QTP trail version ??????????
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
What is a checkpoint? How many check points are there in qtp?