How to check and display a particular word from a paragraph?
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 |
Can the mode of object repository be change during run time? Eg. if the mode is per-action during design time can i change it to shared and vice-versa? Any scripting possible?
I want to create Excel object on another machine which is in network i written the code "Set se=createobject ("Excel.Application","\\ankur")"here \\ankur is the name of that machine but i m getting the error of permission denied create object can anybody help me
How can i select multiple values from drop down list using vb script in qtp? and wt is the script for clicking msg box box automatically with a specific time. Thanks in advance...Kalyani.
Can any suggest me what is exposure testing?
several browsers opened. write QTP script to close all browsers except gmail.
What is the concept of hooking in QTP?
WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?
What is TOM in QTP?
What is Environment Variable and when we apply this in QTP?
your doing one project testing then how u know itis wheather web based application or windows based application?
Explain the terms test and business component?
what are the attributes of QTP?