'Selects all values from multi-select list identified by `id`.
Key attributes for lists are `id` and `name`. See `introduction` for
details about locating elements.'

@keyword
def select_all_from_list(self, locator):

    self.info(("Selecting    all    options    from    list    '%s'." % locator))
    select = self._get_select_list(locator)
    if (not select.is_multiple):
        raise RuntimeError("Keyword    'Select    all    from    list'    works    only    for    multiselect    lists.")
    for i in range(len(select.options)):
        select.select_by_index(i)
