how do you find the number of occurences of string QTP from the expression , " QTP+QTP=2QTP"

Answer Posted / suresh meti

Str1 = InputBox("Enter any sentese ")
str2 = InputBox("Enter word to search")
var1 = Split(Str1,str2)
var2 = Ubound(var1)
msgbox var2

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is qtp supports uni-code?

601


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

1434


in a web page hoe to check the dynamic links that rechabging with out using regular expressions

1770


Approach for Installation,comaptibility,system testing

1698


Describe how Smart Identification is used

1689






What are the key elements available in test result window?

618


how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

1422


How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object

2520


What are the different recording modes and how do they work?

609


what kind of frame work you used in your last project?

1811


Hi, How Accessibility checkpoint in QTP can be implemented in the test script?

1601


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

1567


What is a programmatic description?

592


What is checking bitmaps?

548


Explain the difference between call to action and copy action?

512