str="QTP AUTOMATION TESTING"
here how many T are there in the str
finally i want to display the T
Answer Posted / karthik
i am thinking this will correct ...because he want to count
how many T are there ,for that it's correct..
and finally he want to display the T ,just read the question
once again ...if i wrong let me know...
str="QTP AUTOMATION TESTING"
dim l,m,n,p
l=len(str)
for i=1 to l
m=mid(str,i,1)
if m="T" then
n=n & m
end if
next
p=len(n)
msgbox P
msgbox n
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
Hi,All How to create a link in excel sheet using qtp
Explain the difference between data driven testing and parameterization ?
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
How can I change object description or check point values in qtp?
To which environments does quicktest professional supports?
Object repositories types, which and when to use?
What ate the Technologies supported by QTP?
How do I get the QTP scripts result in xml format by using vb script function?
How do you perform Regreession Testing?
What is QTP testing process?
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
Explain how you can delete excel file in qtp?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression
What is smart identification in QTP?