hPanelGridTest
open /myfaces-example-simple/testSuite/home.jsf
open /myfaces-example-simple/testSuite/hPanelGrid.jsf
assertElementPresent //table[@id='hPanelGrid']
assertAttribute //table[@id='hPanelGrid']@class tableClass
assertAttribute //table[@id='hPanelGrid']@lang en
assertAttribute //table[@id='hPanelGrid']@style regexp:(\[object\]|background-color: silver;)
assertAttribute //table[@id='hPanelGrid']@summary exact:h:panelGrid Summary
assertAttribute //table[@id='hPanelGrid']@title exact:h:panelGrid Title
assertElementPresent //table[@id='hPanelGrid']/thead
assertElementPresent //table[@id='hPanelGrid']/thead/tr/th
assertAttribute //table[@id='hPanelGrid']/thead/tr/th@class tableHeaderClass
assertAttribute //table[@id='hPanelGrid']/thead/tr/th@colspan 4
assertAttribute //table[@id='hPanelGrid']/thead/tr/th@scope colgroup
assertText //table[@id='hPanelGrid']/thead/tr/th exact:Header for h:panelGrid
assertElementPresent //table[@id='hPanelGrid']/tfoot
assertElementPresent //table[@id='hPanelGrid']/tfoot/tr/td
assertAttribute //table[@id='hPanelGrid']/tfoot/tr/td@class tableFooterClass
assertAttribute //table[@id='hPanelGrid']/tfoot/tr/td@colspan 4
assertText //table[@id='hPanelGrid']/tfoot/tr/td exact:Footer for h:panelGrid
assertElementPresent //table[@id='hPanelGrid']/tbody
assertAttribute //table[@id='hPanelGrid']/tbody/tr[1]@class oddRowClass
assertAttribute //table[@id='hPanelGrid']/tbody/tr[2]@class evenRowClass
assertAttribute //table[@id='hPanelGrid']/tbody/tr[3]@class oddRowClass
assertAttribute //table[@id='hPanelGrid']/tbody/tr[4]@class evenRowClass
assertAttribute //table[@id='hPanelGrid']/tbody/tr[1]/td[1]@class oddColumnClass
assertAttribute //table[@id='hPanelGrid']/tbody/tr[1]/td[2]@class evenColumnClass
assertElementNotPresent //table[@id='hPanelGrid']/tbody/tr[1]/td[3]@class
assertElementNotPresent //table[@id='hPanelGrid']/tbody/tr[1]/td[4]@class
assertText //table[@id='hPanelGrid']/tbody/tr[1]/td[4] exact:1.4
assertText //table[@id='hPanelGrid']/tbody/tr[4]/td[1] exact:4.1