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 |
If you are using descriptive programming and you have two objects with the same name, so you are identiying them by name and index, how can you avoid errors if a third object with the same name is added at the begining of the page?
What contains Data Driven Framework document in qtp?
What are the different types of qtp test assets and their extensions?
What is diffrence between Global variables and Environment variables...Anybody can give me answer..Thanks in advance..
how to reverse a string with out using string or predefined function,ex:string is " i love india". the output should be like this "i evol aidni"
How can we open an Excel sheet through the script
i have a window , initial its name is "NEW CUSTOMER" i have to enter the details of customer in the test object fields and after saving the window name is automatically changing with the customer name . so how to identify that window after saving. (i am using descriptive programming.)
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
How you perform smoke and sanity testing using qtp?
What is the use of running the scripts in Hidden-mode in UFT?
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?
Suppose there is a bitmap with some text in it how do you write the script to get the text.