1.How to find in which row or column,string "Hyderabad"
exist in excel sheet?
2.How to find how many times character "a" repeated in a
given string "Koteswararao"
Answer Posted / venkatesh naidu rangisetti
Option Explicit
Dim a,b,c,i,leng,var
b=0
c="a"
a="Koteswararao"
leng=len(a)
msgbox "length of"&" "&a&" "&"is"&" "&leng 'optional step
For i=1 to leng
var=mid(a,i,1)
If cstr(var)=cstr(c)Then
b=b+1
End If
Next
msgbox "Total Number of a's in Koteswararao are"&" "&b
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is the use of text output value in quicktest professional?
unique properties of button,edit box, radio button,check box?
How to build scripts that access data from external sources?
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
UFT 12.02 which ALM version will support
How to use output values in qtp ?
What is difference between run time object and test object?
What is the diff between image and bitmap check point?
What is the limitation to XML Checkpoints?
How to create a standard checkpoint ?
What are the key points to create a framework in QTP for oracle forms?
What is quick test pro?
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
what is stepin & stepout?
Hi ,Can any one pleas explain how to test splash objects using QTP?