def _parse_testcase_record(testcase_record):
    """Parse testcase record and return it's info."""
    verdict = None
    verdict_found = False
    comment = ''
    properties = {}
    for element in testcase_record:
        if not verdict_found:
            if element.tag == 'error':
                verdict = 'failed'
                comment = element.get('message')
            elif element.tag == 'failure':
                verdict = 'failed'
                comment = element.get('message')
                verdict_found = True
            elif element.tag == 'skipped':
                verdict = 'skipped'
                comment = element.get('message')
                verdict_found = True
        if element.tag == 'properties':
            for prop in element:
                properties[prop.get('name')] = prop.get('value')
    if not verdict:
        verdict = 'passed'
    return verdict, comment, properties
