Hi...
Can anybody help me to write the vbscript for this
question..!!! Am having a string "HELLO WORLD", i want to
find how many "L"s are there.....?????
--> HANEEF <--
Answer Posted / srikanthdas
str = "HELLO WORLD"
str1=Replace(str,"L","")
cnt=len(str)-len(str1)
msgbox "Number of L's in str is:" cnt
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How many ways we can parameterize data in quicktest professional?
What is a recovery scenario?
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
Where to use Property Let, Property Get, Property Set in UFT
How can you close the second opened browser?
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?
what are all the fileds present in object repository?
What is an expert view and keyword view?
hi nani my doubt is how does qtp process metrix related to software process.
Who uses qtp tool?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
Explain different types of checkpoints?
when u script reveiwing in which area u more concentrates?
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?