'Verifies the value in text area identified by `locator` is exactly `expected`.
`message` can be used to override default error message.
Key attributes for text areas are `id` and `name`. See `introduction`
for details about locating elements.'

@keyword
def textarea_value_should_be(self, locator, expected, message=''):

    actual = self.element_finder.get_value(locator, 'text    area')
    if (actual is not None):
        if (expected != actual):
            if (not message):
                message = ("Text    field    '%s'    should    have    contained    text    '%s'    but    it    contained    '%s'" % (locator, expected, actual))
            raise AssertionError(message)
    else:
        raise ValueError((("Element    locator    '" + locator) + "'    did    not    match    any    elements."))
    self.info(("Content    of    text    area    '%s'    is    '%s'." % (locator, expected)))
