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 / sreekanth chilam
editbox_val="raju want married"
expected_val="want"
d=split(editbox_val," ")
( ...since d is an array....here d(0) contains "raju")
( ..here d(1) contains "want")
( ...here d(2) contains "married")
for i=0 to ubound(d)
act_val=d(i)
if (expected_val=act_val) then
msgbox "want is present - pass"
exit for
else
msgbox "fail - not present"
end if
next
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
With what extension you can save the list of tests in a file to run in test batch runner?
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
QTP script is not working on other's machine..
What are the types of object repositories? Which one is you using?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
Who uses qtp tool?
How to run a test using quicktest professional (qtp)?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
What is the difference between run time object and test object in QTP?
what is run action?
Can we record an application running on a remote machine using qtp?
Explain quicktest professional (qtp) testing process?
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
what is profile tool?