New Test
open | /faces/test/sheet/sheet-selector.xhtml |
click | css=img |
click | link=Alles markieren |
verifyValue | id=page:sheet_data_row_selector_0 | on
verifyValue | id=page:sheet_data_row_selector_1 | off
verifyValue | id=page:sheet_data_row_selector_9 | off
verifyValue | id=page:sheet_data_row_selector_10 | on
verifyValue | id=page:sheet_data_row_selector_19 | on
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[1]@class | tobago-sheet-row tobago-sheet-row-markup-odd tobago-sheet-row-markup-selected
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[2]@class | tobago-sheet-row tobago-sheet-row-markup-even
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[10]@class | tobago-sheet-row tobago-sheet-row-markup-even
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[11]@class | tobago-sheet-row tobago-sheet-row-markup-odd tobago-sheet-row-markup-selected
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[20]@class | tobago-sheet-row tobago-sheet-row-markup-even tobago-sheet-row-markup-selected
click | css=img |
click | link=Markierungen löschen |
verifyValue | id=page:sheet_data_row_selector_0 | off
verifyValue | id=page:sheet_data_row_selector_1 | off
verifyValue | id=page:sheet_data_row_selector_9 | off
verifyValue | id=page:sheet_data_row_selector_10 | off
verifyValue | id=page:sheet_data_row_selector_19 | off
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[1]@class | tobago-sheet-row tobago-sheet-row-markup-odd
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[2]@class | tobago-sheet-row tobago-sheet-row-markup-even
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[10]@class | tobago-sheet-row tobago-sheet-row-markup-even
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[11]@class | tobago-sheet-row tobago-sheet-row-markup-odd
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[20]@class | tobago-sheet-row tobago-sheet-row-markup-even
click | id=page:sheet_data_row_selector_0 |
click | id=page:sheet_data_row_selector_1 |
click | id=page:sheet_data_row_selector_10 |
verifyValue | id=page:sheet_data_row_selector_0 | on
verifyValue | id=page:sheet_data_row_selector_1 | off
verifyValue | id=page:sheet_data_row_selector_9 | off
verifyValue | id=page:sheet_data_row_selector_10 | on
verifyValue | id=page:sheet_data_row_selector_19 | off
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[1]@class | tobago-sheet-row tobago-sheet-row-markup-odd tobago-sheet-row-markup-selected
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[2]@class | tobago-sheet-row tobago-sheet-row-markup-even
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[10]@class | tobago-sheet-row tobago-sheet-row-markup-even
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[11]@class | tobago-sheet-row tobago-sheet-row-markup-odd tobago-sheet-row-markup-selected
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[20]@class | tobago-sheet-row tobago-sheet-row-markup-even
click | css=img |
click | link=Markierung umkehren |
verifyValue | id=page:sheet_data_row_selector_0 | off
verifyValue | id=page:sheet_data_row_selector_1 | off
verifyValue | id=page:sheet_data_row_selector_9 | off
verifyValue | id=page:sheet_data_row_selector_10 | off
verifyValue | id=page:sheet_data_row_selector_19 | on
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[1]@class | tobago-sheet-row tobago-sheet-row-markup-odd
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[2]@class | tobago-sheet-row tobago-sheet-row-markup-even
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[10]@class | tobago-sheet-row tobago-sheet-row-markup-even
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[11]@class | tobago-sheet-row tobago-sheet-row-markup-odd
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[20]@class | tobago-sheet-row tobago-sheet-row-markup-even tobago-sheet-row-markup-selected
click | id=page:sheet:ToPage::link_2 |
waitForAttribute | //div[@class='tobago-sheet']@data-tobago-first | 20
click | id=page:sheet:ToPage::link_1 |
waitForAttribute | //div[@class='tobago-sheet']@data-tobago-first | 0
verifyValue | id=page:sheet_data_row_selector_0 | off
verifyValue | id=page:sheet_data_row_selector_1 | off
verifyValue | id=page:sheet_data_row_selector_9 | off
verifyValue | id=page:sheet_data_row_selector_10 | off
verifyValue | id=page:sheet_data_row_selector_19 | on
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[1]@class | tobago-sheet-row tobago-sheet-row-markup-odd
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[2]@class | tobago-sheet-row tobago-sheet-row-markup-even
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[10]@class | tobago-sheet-row tobago-sheet-row-markup-even
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[11]@class | tobago-sheet-row tobago-sheet-row-markup-odd
assertAttribute | //table[@class='tobago-sheet-bodyTable']/tbody/tr[20]@class | tobago-sheet-row tobago-sheet-row-markup-even tobago-sheet-row-markup-selected