How to check and display a particular word from a paragraph?
Answer Posted / dinesh1433
strParagraph="There are subtle differences between these methods. The CreateTextFile is used to create a file and a
TextStream object. This method can optionally overwrite an existing object. The OpenTextFile opens an
existing file and returns a TextStream object, but can optionally create the filename if it does not exist. The
OpenAsTextStream object opens an existing file and returns a TextStream object."
str="opens"
if Instr(strParagraph,str)>0 then
msgbox "The particular word found from the paragraph"
msgbox str
else
msgbox "particular word not found from the paragraph"
end If
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
what is the hierarchy to use properties in descriptive programming
What is difference between run time object and test object?
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
Explain the types of object repository?
What are the disadvantages of recording test cases in qtp?
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
What is object repository in qtp?
Where to use function or action?
what is review
How many types of status are there?
What is object spy in quicktest professional?
How to data driven test for Win objects in QTP ?