Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how to retrive that the number of spaces are in a string ????

Answers were Sorted based on User's Feedback



how to retrive that the number of spaces are in a string ????..

Answer / kamakshya prasad

Dim str
str="QTP, an automation Tool uses for software testing"
s=split(str," ")
msgbox ubound(s)

Is This Answer Correct ?    6 Yes 0 No

how to retrive that the number of spaces are in a string ????..

Answer / uday

You just split with space, and the ubound of that array +1
is the number of spaces.

Is This Answer Correct ?    5 Yes 4 No

Post New Answer

More QTP Interview Questions

Browser("Las Vegas Hotels - Las").Page("Vegas Hotels - Hotels").Link("Luxor") ......here Luxor is a hotel and this is recognised as a link. I have many hotels like Luxor, Palms etc which are all displayed as link...How do I parametrize this by using webtable functions??? ASAP

1 Answers   HP,


i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer

0 Answers   TCS,


Interviwer asked, How many years exper.. on QTP? I said, total 2 yrs exp in manual and QTP. QTP only current project arround 3 months. then interviewer ask , HOW BOLD YOU QTP? What you say?

1 Answers  


IS standard check point is very important than the other check points in QTP? If so why?

4 Answers  


wt is memory leakage?

6 Answers   BSL,


The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)

0 Answers   TCS,


suppose i can done the project in automation tool with QTP in that time what i can say?

3 Answers  


What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?

4 Answers  


when a test case is written how u test using qtp

0 Answers   Satyam,


Using Object Repository is a advantage or disadvantage?

6 Answers   Wipro,


Pls anyone, tell me the script in QTP to find the number of links, and images in a webpage. Verry very urgent. I shall really be very thankful

3 Answers  


I want to clear the webedit field without using set"" in qtp script

1 Answers  


Categories