Create
pass the table below to the constructor
new ResultsBox()
destroy()
One result
testCaseId
result
Pass
Fail
Skipped
setResult(id, result)
removeResult(id)
result as free text (to try an invalid one, e.g. pass, PASS, N/A)
setResult(id, free text)
Table
One result per line, as ID: Result
Results: Pass, Fail, Skipped (exact spelling). A line without a colon is sent with an empty result, to see
the error. SAMPLE-CASE-nn and LONG-ID-SAMPLE-… are sample labels, not suite IDs.
setResults()
setResults([])
Pages
previousPage()
nextPage()
The left and right arrow keys also call previousPage() and nextPage(), as an application would for the
remote control. Click the dark area first so the keys don't go to a form field.
Page number
goToPage(n)
Visibility
show()
hide()
clear()
refresh()
hide the application area (the parent)
Hiding the parent makes the panel impossible to measure: the module keeps one page with every row until
the parent is shown again and a method (for example refresh()) builds the pages again.
Layout
also show the InformationBox (ST3_F_TC_004_001 example)
also show the ButtonsBox (LEFT / RIGHT / OK / BACK)
outline the ResultsBox region
The InformationBox and the ButtonsBox come from common/modules/, to check that the modules
don't overlap.
Log
Clear