The string is like POWER STAR PAVAN , write a script for
this how to findout the number of "A" in the string ?
Answer Posted / ram
str="POWER STAR PAVAN"
len1=len(str)
str=replace(str,"a", "")
len2=len(str)
a=len1-len2
msgbox a
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
What is the latest version of qtp?
What is 'sleep' in sync point?
What is the difference between a Function and Procedure in QTP?
Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u
How to open a new test using quicktest professional?
What are output values and why they are used ?
Write a QTP script to enter a keyword in to Google search engine?
How to explain a banking project in interview as a test engineer???
I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?
When using descriptive programming?
How you calling actions in qtp?
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
How is test case write?
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly