Useful Multitestcase Code Templates
Useful Multitestcase Code
This appendix contains two templates that you might find useful as a basis for
What you will learn
This appendix contains the following section:
This template is stored as parallel.t in the Examples subdirectory of the
SilkTest installation directory. The code tests a single application that runs on
an externally defined set of machines.
This multitestcase template accepts a list of machine names. The application
whose main window is MyMainWin is invoked on each machine. The same
operations are then performed on each machine in parallel. If any testcase
fails, the multitestcase will be marked as having failed; however, a failed
testcase within a thread does not abort the thread.
You can use this template by doing three edits:
Include the file that contains your window declarations.
Substitute your application's MainWin name defined in your MainWin
window declaration for the template's "MyMainWin" MainWin name.