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 the difference between built-i function and In-built function?
What is the use of Debug Viewer?
When using descriptive programming?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)
How to capture all the data of a webtable, weblist and combolist using QTP?
Why we load add-ins in qtp?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
Explain QTP using different development techniques ?
Mention the test steps of qtp.
Explain in brief about the qtp automation object model (aom).
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak