suppose the given string str = {"vamsikrishna%%&%*&**"}
count the no of vowels and special characters are repeated
Answer Posted / koteswar
str = "vamsikrishna%%&%*&**"
z= " "
For i = 1 to len(str)
x = mid(str, i, 1)
If Instr(1,z,x,1) Then
Else
z=z+x
msgbox z
End IF
For j = 1 to len(z)
a= mid(z,j,1)
b=split(str,a)
c=Ubound(b)
Next
msgbox c
Next
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are the types of data tables in qtp?
How to use checkpoints in qtp ?
What is output value? How many types of output values are there in qtp?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
Explain in brief about the quicktest professional automation object model?
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
How will you find the current time of the remote machine using QTP script?
What is the difference between qtp and selenium?
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
What is the expert view?
What is qtpro? What is a quick test professional?
Can we Test Welcome Screens and Process Images with QTP
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
Your roles and responsibilities and daily tasks? (As automation tester)
What is text/text area checkpoint?