3.15.2.2 Testing AUT's that are launched by other AUT's
If your AUT starts other AUT's which you also want to test, then the following criteria must be met:
- The AUT Agent must be running in lenient or non-strict mode 3.1.1.3.
- The AUT's must be written with the same toolkit (e.g. Swing) 7.
- The AUT's have all been defined for this Project 3.6.
- The order in which the launched AUT's will appear and be tested must be known.
![\includegraphics[height=2cm]{lightbulb}](img2.jpg) |
When an AUT is launched by another AUT , the AUT ID for the new AUT is formed as "AUT ID + 1". The next AUT to be started receives the ID "AUT ID + 2", and so on. You can enter these AUT IDs in the Test Suites in the Test Job . |
Behavior of AUT's when being started by other AUT's
-
- RCP starting RCP:[The newly started RCP AUT receives the ID "ID+1".]
-
- Swing Jar or main class starting Swing Jar or main class:[This is currently not possible.]
-
- Swing Jar or main class starting Swing executable:[This is currently not possible.]
-
- Swing executable starting Swing Jar or main class:[The newly started Swing AUT receives the ID "ID+1".]
-
- Swing executable starting Swing executable:[The newly started Swing AUT receives the ID "ID+1".]
![\includegraphics[height=2cm]{danger}](img1.jpg) |
If the AUT Agent is not running in lenient mode, then the newly started AUT will shut down. |
Copyright BREDEX GmbH 2012. Made available under the Eclipse Public License v1.0.