def METHOD_NAME(self):
    retVal = None
    infoMsg = "searching for database directory"
    logger.info(infoMsg)
    randStr = randomStr()
    inject.checkBooleanExpression("EXISTS(SELECT * FROM %s.%s WHERE [RANDNUM]=[RANDNUM])" % (randStr, randStr))
    if wasLastResponseDBMSError():
        threadData = getCurrentThreadData()
        match = re.search(r"Could not find file\s+'([^']+?)'", threadData.lastErrorPage[1])
        if match:
            retVal = match.group(1).rstrip("%s.mdb" % randStr)
            if retVal.endswith('\\'):
                retVal = retVal[:-1]
    return retVal