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 is the use of VIRTUAL OBJECTS? explain ?
What is keyword view in qtp?
Hi, Plz give best Definition of Software Testing? Why we need Software Testing? and plz send 2+yrs experience Interview qutions (Manual,Qtp).
how to find that tools work well with your existing system?
tell me types of environment variables? what r they? explain details? pls give anwer any one?
Pls Solve Error(SAP-CRM):- Cannot identify the specified item of the SAPNavigationBar object.Canfirm that the specified item is included in the object's item collection.
what is advantage of descripting programming in QTP?
What is the QTP test frame work?
Is it possible to check the Run time value property of a field through a Database Checkpoint ? Further, is it possible to localize and mention a particular cell , in the database dynamically. My requirement is that I would need to check the status of a particular field , that would change from an "Active" state to a "Stopped" state dynamically.
what is descriptiveprograming? how to do object identification thrugh Descriptive and is possible smart identification or not
How to test fly out menu in qtp?
Explain key word driven frame work?How to use in real time?