How can I find out whether a word in a string is existed or
not
for example
"QTP IS A POWERFULL TOOL FOR AUTOMATION"
How can i find out whether "powerfull" is existed in the
above string or not
Could anyone answer it?
Answer Posted / sunil
Dim str,word
word=inputbox("enter the word for search")
str=inputbox("Enter a Sentence")
if instr(1,str,"word") then
msgbox "Searching word is present in the sentence"
else
msgbox"Searching word is not present in the sentence"
end if
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Where is the Bitmap checkpoint information stored?
Explain about the quicktest professional (qtp) automation object model?
what is output value in QTP and how it can be used in automation testing
What is synchronization? What are the ways you can synchronize?
To which environments does quicktest professional supports?
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
How to use output values in qtp ?
What are the types of data tables in qtp?
What is Associate Repository in QTP 9.2 ?
if numbers are always changing write a script for that
How to give a call to another action from one action?
How do Parameterization and Data-Driving relate to each other in QTP?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com
What is checkpoints for qtp?