How can we test existence of a particular word in scentence
using QTP tool.
Thanks in Advance!!!!!
Answers were Sorted based on User's Feedback
Answer / aiswaryan
By using "Instr" function u can do it.
InStr([start, ]string1, string2[, compare])
eg: MyPos = Instr(1, SearchString, SearchChar, 1)
If Mypos returns a non-zero value, then the particular word
is present in a given string/sentence. If MyPos=0, then the
word is not present.
|Is This Answer Correct ?||4 Yes||1 No|
Answer / ganesh
yes we can check the text using the Text checkpoint.
|Is This Answer Correct ?||3 Yes||0 No|
Using strcomp method we can check the string.
In web application string will be recognized as web element.
In window based application string will recognized as static.
first of all we have to capture the actual string which we
need to test. Then assign this to one variable. And allready
we have expected string. Assign this string to one variable.
then compare to strings with one more variable with help of
If any clarifications mail to me. I will give detail
explanation with example. email@example.com
|Is This Answer Correct ?||1 Yes||0 No|
Answer / andy
I think we can do that by inserting Text Checkpoint.
|Is This Answer Correct ?||0 Yes||0 No|
What are the features supported by UFT?
Can the user toggle between using Local OR and shared OR for the same action?
which type of testing process are you following in ur company? how to recognize a qtp page?
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
how to idetfy which test cases are automated?who will deside that plz tell me
Hi, How to invoke QTP or any application through Command Prompt without using Vb script and batch file.... Reply me Srinivas
What is QTP testing process?
what is TOM in qtp?
How can we display the names of the buttons in the toolbar of a webpage
How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.
I have a tool for automation testing (eg:qtp).I have two functionality(A & B) to test.A is tested once in a year. B is tested everyday. At present i have the money and resource availability to automate only one functionality.Which one will u suggest and why?