The string is like POWER STAR PAVAN , write a script for
this how to findout the number of "A" in the string ?
Answer Posted / uday
str="POWER STAR PAVAN"
counter=0
For i=1 to len(str)
strChar=mid(str,i,1)
If strChar="A" Then
counter=counter+1
End If
Next
msgbox counter
| Is This Answer Correct ? | 17 Yes | 0 No |
Post New Answer View All Answers
Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln
What are metrics and matrix?
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
What are the different types of recovery operation?
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
What are the advantages of a Hybrid framework?
how many maximum number of virtual users we can create?
What is the difference between rational rose and QTP?
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance
Does QTP record on Objects created on XWindows Environment?
Explain different types of action in qtp?
How to use checkpoints in qtp ?
What are the advantages of Object Repository?