The string is like POWER STAR PAVAN , write a script for
this how to findout the number of "A" in the string ?
Answer Posted / ravi
str="POWER STAR PAVAN"
len1=len(str)
msgbox len1
str=replace(str,"A", "")
len2=len(str)
msgbox len2
a=len1-len2
msgbox a
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Suppose I want fail that check point? How can you do that?
what you mean by artifact,milestone...
How many ways is to parameterize the value?
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
What is the quicktest professional testing process?
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
how do u plan test automation?
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
Explain the views in the QTP GUI?
What is an object repository?
How will you test a keyboard?
Explain the types of object repository?
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?