How can I find out whether a word in a string is existed or
not
for example
"QTP IS A POWERFULL TOOL FOR AUTOMATION"
How can i find out whether "powerfull" is existed in the
above string or not
Could anyone answer it?
Answer Posted / sunil
Dim str,word
word=inputbox("enter the word for search")
str=inputbox("Enter a Sentence")
if instr(1,str,"word") then
msgbox "Searching word is present in the sentence"
else
msgbox"Searching word is not present in the sentence"
end if
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
could any help me please, how to work on visual foxpro application using UFT
Explain the types of object repositorys in qtp?
What is Cross browser testing? Does UFT support it?
Explain about the test fusion report of quicktest professional (qtp)?
Explain Descriptive Programming Types with Examples?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
How to open a new test using quicktest professional?
Write a script to verify font style and color of a windows object using descriptive programming
Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.
what are the utilities and drivers
Explain how qtp identifies objects?
Can we Test Welcome Screens and Process Images with QTP
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?