how to count spaces in a given string ex: "this is jagadeesh"
in QTP with simple functional script
Answer Posted / karthik janahan
Dim str
str = "how to count spaces in a given string"
msgbox (len(replace(str," ","..")) - len(str))
Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What are the recording modes in qtp?
what frame work you are following?
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
How to find the path of folder in which the test is saved in qtp?
Explain the concept of object repository?
To which environments does quicktest professional (qtp) supports?
How do you configure QTP AND Test director?
can u explain relative path architecture framework in qtp?
What is the qtp testing process?
i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
Explain object spy in qtp.
How can i initiate the objects to find uniquely in OR
How you debug your script?
How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.