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
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
How to open a new test using quicktest professional?
give me the code to save all messages of inbox of gmail into a folder and notepad
terminal services client
How to handle the exceptions using recovery secnario manager in quicktest professional?
How many ways we can parameterize data in quicktest professional?
What are the advantages of qtp?
How many types of parameters are there?
Is text area check point supports for web applications?
Explain more about the Test Fusion Report of QTP?
hou can we use vb script in qtp could u tell me breafly
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.
what is output value in QTP and how it can be used in automation testing
How to define array in qtp?