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
what could go wrong with test automation?
Define Error Pane of UFT?
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
What is action split and the purpose of using this in qtp?
I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
Name the properties you would use for identifying a browser and page when using descriptive programming?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
What is difference between design time and run time data table?
What is output value? How many types of output values are there in qtp?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)