str="QTP AUTOMATION TESTING"
here how many T are there in the str
finally i want to display the T
Answer Posted / cnu_thatavarthi
Dim strValue,i, blnFlag,incRement
strValue = "QTP AUTOMATION TESTING"
blnFlag = ""
incRement = 0
For i = 1 to Len(strValue)
If Ucase(mid(strValue,i,1)) = "T" Then
incRement = incRement+1
blnFlag = blnFlag &Ucase(mid(strValue,i,1))
End If
Next
Msgbox incRement 'Number of Ts are Displaying 5
Msgbox blnFlag
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
How many number of actions possible in qtp?
How to delete an object from the object repository?
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
What is active screen?
Can U Explain about QTP tool from older version to latest version also its differences?
Hoe can we do retesting using functions please give the code for it using login page
Can the user toggle between using Local OR and shared OR for the same action?
Mention what are the different types of recording modes in qtp? Which will be used when?
Which scripting language used by quicktest professional (qtp)?
What is keyword driven framework?
What is quicktest professional (qtp window?
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?
what is clean sweep?
in a web page How to check and display a particular word from a paragraph?