Please go through from forum rules, following link may help you in same. We should use code tags for codes and commands which we are using in our posts.
Rules link is as follows.
Let us take a example here let's say we have directory sturcture like /tmp/a/b/c/d where we have files named chuma.test and logs.test .
So to search them from /tmp directory we can use as follows.
find -maxdepth 5 -type f -name "*.test"
Output will be as follows.
./a/b/c/d/logs.test
./a/b/c/d/chuma.test
Hope this helps, also go through from man find page it will be helpful for you.