cfme.web_ui.paginator module

A set of functions for dealing with the paginator controls.

cfme.web_ui.paginator.check_all()[source]

selects all items

cfme.web_ui.paginator.first()[source]

Returns the First button locator.

cfme.web_ui.paginator.last()[source]

Returns the Last button locator.

cfme.web_ui.paginator.new_paginator()[source]

Simple function to avoid module level import

cfme.web_ui.paginator.next()[source]

Returns the Next button locator.

cfme.web_ui.paginator.page_controls_exist()[source]

Simple check to see if page controls exist.

cfme.web_ui.paginator.pages()[source]

A generator to facilitate looping over pages

Usage:

for page in pages():
    # Do seleniumy things here, like finding and clicking elements
Raises:ValueError – When the paginator “breaks” (does not change)
cfme.web_ui.paginator.previous()[source]

Returns the Previous button locator.

cfme.web_ui.paginator.rec_total()[source]

Returns the total number of records.

cfme.web_ui.paginator.reset_selection()[source]
cfme.web_ui.paginator.sort_by(sort)[source]

Changes the sort by field.

Parameters:sort – Value to sort by (visible text in select box)
cfme.web_ui.paginator.uncheck_all()[source]

unselects all items