hi in QTP 8.2 in the edit box has text like "raju want
married" . i want to check "want" is their in the text
or not ?
Answer Posted / srinath
One method is
a="Raju want to marry"
b="want"
if instr(1,a,b) then
msgbox("Exists")
else
msgbox("Does not exists")
end if
another method is
use regular expression. this is a bit lengthy
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Write a script to verify font style and color of a windows object using descriptive programming
what is the latest version of QTP? Main difference between 9.2 and 10 version
What are the five challenges you faced in QTP?
How to test results for qtp ?
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
What is the basic concept of quicktest professional?
What will be happen if i load object repository at run time, but it has already associated.
What are the advantages of parameterization ?
hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale
If I give some thousand tests to execute in two days what do you do?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
How to record application running on the Virtual machine?
How do you delete unwanted results in qtp?
How to delete an object from the object repository?
Can we run multiple QTP scripts one after the other without manual intervention? How?