cheat sheets.

$ cheat selenium
Verify number of rows in a table:
  Use the SEL:storeassertXpath extension to count columns
    assertXpath | count(//table[@id='mytable']/tr) | 10
  Or assert count & count+1
    assertElementPresent | //table[@id='mytable']/tr[10] | |
    assertElementNotPresent | //table[@id='mytable']/tr[11] | |
Version 1, updated 1048 days ago.
. o 0 ( edit | history )
( add new | see all )