An ofcourse, a test script wouldn’t be complete without some actual tests:
verifyValue //input[preceding::th[1]/label='Bon nummer'] 123
This verifies that the page contains an input field preceded by a label Bon nummer contains the value 123.
assertVisible //table//tr/td/div[text()='inkoop-1-checked']
This checks a table cell contains the value inkoop-1-checked.
assertVisible //h1[text()='Edit Boek']
This verifies that the page contains a header with the text Edit Boek.
assertVisible //div[@class='alert alert-error'][text()='Invalid currency']
This verifies that the page contains an error message with the text Invalid currency.
assertElementNotPresent //dev[@class='alert alert-error']
This verifies that the page doesn’t contain any error messages.