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


Please Help Members By Posting Answers For Below Questions

i need qtp tutorial. pls send it to sridhar.k151@g mail.com

1637


Hi, how can we check or avoid the memory leakage in QTP9.2?

1698


How to break the object spy ?

661


How does qtp identify objects in the application?

583


What are the things(properties, and other details) will be recorded while recording an object using normal recording?

1489






For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?

1743


How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is

6300


Explain about the quicktest professional (qtp) automation object model?

562


How QTP support all types of applications (platforms)?

4077


What is the difference between qtp and selenium?

547


can the activities of test case design be automated?

1454


Explain the benefits of quick test pro(qtp)?

567


I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...

1715


Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.

2891


How many types of run modes are there in qtp?

584