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
Describe synchronization point.
Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)
What is ObjectParamater?
How to modify object property in qtp ?
how can i call function (which has link with excell sheet at a remote location) within another function
I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)
What are the check points can be inserted without recording?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
What are the differences between quicktest professional and winrunner?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
How to open a new test using quicktest professional?
desribe a situation where u faced a stressful situation and how did u cope with it
What is the architecture of your project? Can any one answer for this question plz........