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 / rayudu

str="raju wants marriage"
a=instr(1,str,"wants")
If a<>0 Then
msgbox "Required text existed "
Else
msgbox "Required text not existed"
End If

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Approach for Installation,comaptibility,system testing

1804


www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

1596


Hoe can we do retesting using functions please give the code for it using login page

1650


Can you write a script to check if the folder exists or not?

603


Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris

1830






How to execute a winrunner script in quicktest professional?

650


what is the difference betn QTP 8.0 AND PREVIOUS VERSION

2057


Write a QTP script to enter a keyword in to Google search engine?

748


What is the standard timing delay for web based application in qtp?

681


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

1600


Explain how qtp identifies objects?

662


Explain the checkpoint in qtp?

709


what is the difference between modular framework & datadriven framework

1674


Is it possible to change the values of analog recording?

687


• What type of testing questions will be asked for 2+ yrs exp people in interview?

1355