background image
<< QAP_GETITEMTEXT message | Client/Server template >>
Useful Multitestcase Code Templates
<< QAP_GETITEMTEXT message | Client/Server template >>
User's Guide
535
D
A
p
p
e
n
d
i
x
D
Useful Multitestcase Code
Templates
This appendix contains two templates that you might find useful as a basis for
your multitestcases.
What you will learn
This appendix contains the following section:
Parallel template
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.
Topic
Page
Parallel template
535
Client/Server template
536