how to calculate no. of repeating characters in a a
string..please give me the code
Answer Posted / amol ghule
Option Explicit
Dim getChar,strLen,ascChar(),CharCount,i,UniqChar,getRes
getChar="VBSsccrript"
strLen=Len(getChar)
ReDim ascChar(strLen)
For i=0 to strLen-1
ascChar(i)=Mid(getChar,i+1,1)
Next
For i=0 to strLen-1
getRes=Split(getChar,ascChar(i),-1,1)
If ubound(getRes)=1 Then
UniqChar=UniqChar&" "&ascChar(i)
End If
Next
msgbox UniqChar
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Hoe can we do retesting using functions please give the code for it using login page
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
when will you do debug your script? and explain that process?
Mention the different actions types of qtp.
How to find the path of folder in which the test is saved in qtp?
diff between qtp versions from 8.5
Who uses qtp tool?
Does QTP record on Objects created on XWindows Environment?
when a test case is written how u test using qtp
How to change the priorities of the recovery scenario properties?
Describe function procedure in vbscript.
What is file database?
Explain qtp(quick test professional)?
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.