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 / mahesh.k
str=inputbox("enter a string")
ln=len(str)
nr=0
cnt=0
For i=1 to ln
If cnt>0 Then
nr=nr+1
End If
cnt=0
If strcomp(x,mid(str,i,1))<>0 Then
For j=i+1 to ln
If mid(str,i,1)=mid(str,j,1) then
cnt=cnt+1
x=mid(str,i,1)
end if
next
else
i=i+1
End If
Next
msgbox "no.of repeeted charecters="&nr
| Is This Answer Correct ? | 1 Yes | 0 No |
I have java based application on my computer. Can I install QTP on it? What are system requirements for installing QTP?
Can you import and export data from XLS and how?
can we call a test in another test? how? explain with one example?
how to write xml output check point bu useing descriptive programing .means without useing output check point
we have 10 actions in out test how can we convert 9th action is main action ? how ?
Hi anyone having QTP 10.0 licence or crack version pls send me in this mail id mdilipkumar04@gmail.com Regards Dilip
why we use check points , In qtp we use the any check points , what r they , when and why
how do you done Data-driven test using MS-Word Instead of DataTable
1)how to write test cases in test director? not go throuth requirments and plan but should be different way i need? 2)what is the mediator between qtp and application or project?
after initiating one project for testing, when exacltly QTP tester role starts?
What test you perform mostly? Regression or retesting in your testing process?
Explain the concept of how QTP identifies object.