How can i count "spaces" in any sentence or a string
if suppose " It is a Testing question"
Here we have 4 gaps(spaces)
Is there any function to find out spaces between words
Answer Posted / ravi
arrResult= split("It is a Testing question", " ")
msgbox "No. of Spaces " & ubound(arrResult)
Is This Answer Correct ? | 18 Yes | 1 No |
Post New Answer View All Answers
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 is description object?
Explain about business process component? types and usage?
How can you write the scripts that operate on different objects depending on run-time information?
What are the data types in qtp?
If I change the property value at runtime is it effect is object repository?
What is an object repository?
write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
how will you check how many members visited the website www.infosys.com?
Limitations in QTP?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
how to write xml output check point bu useing descriptive programing .means without useing output check point