how to calculate no. of repeating characters in a a
string..please give me the code
Answer Posted / vijay kumar chourasiya
Dim Str, ChkDup,i,Cnt
Str="aaabc"
For i = 1 to Len(Str) step 1
ChkDup=mid(Str,i,1)
Cnt = split(Str,ChkDup,-1)
result= Ubound(Cnt)
result1=result1&result
Next
MsgBox result1
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is 'sleep' in sync point?
how did u use automating testing tools in ur job?
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
How can I change object description or check point values in qtp?
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
What is ‘object spy’ and what is the function of object spy in qtp?
How to data driven test for Win objects in QTP ?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
who QTP recognizes the object stored in object repository?
what is object and child object.. explain ..if possible give some example for better understanding ..
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
what you mean by artifact,milestone...
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)