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
Explain types of descriptive programming?
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
What is the virtual object?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
what is output value in QTP and how it can be used in automation testing
Difference between test object and run time object?
Suppose I want fail that check point? How can you do that?
How to run a test using quicktest professional (qtp)?
How you debug your script?
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
How to handle dynamic objects in quicktest professional?
your coming from electrical backgroung..but y ur coming to software side?
write a script to verify the image path(src property) of the images which are in web pages.
What are private functions in QTP? How they can be called from the function library?
How will you check that your test cases covered all the requirements?