str="QTP AUTOMATION TESTING"
here how many T are there in the str
finally i want to display the T

Answer Posted / gabbar

msgbox len(str)-len(REPLACE(str,"T",""))

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

wht type of User defined functions or Java Releated functions do we write in VB scripting

1829


How can you close the second opened browser?

804


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

1677


What are the views available in qtp?

592


With what extension you can save the list of tests in a file to run in test batch runner?

569






Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

1519


Explain about Test Fusion Report of QTP?

617


when to start the automation?

1478


There is an excel file of 1 to 100 sheets how you will iterate through it?

530


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1378


How to analyzing test results using quicktest professional (qtp)?

590


Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance

1525


How to export quicktest professional results to an .xls file?

574


how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me

2456


hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]

1462