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
how can i call function (which has link with excell sheet at a remote location) within another function
What is standalone database?
How can you send user defined messages to test report?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
How to save your test using quicktest professional (qtp)?
Why script error occur in between recording in qtp?
How to integrate the qualitycenter with qtp
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
Explain how Selenium is different from UFT?
What is test object model in quicktest professional?
What is the architecture of your project? Can any one answer for this question plz........
What is the expert view?
What does mean by Scope of Automation?n How we defined it?