2.4. Creating CAP instances

Figure 2.4. JavaFX-Toolkit component factory usage to create an instance for a CheckBox

In order to create executable instances of a org.eclipse.jubula.communication.CAP (Test Step) you have to use the corresponding factory methods available for each toolkit and pass a valid and fitting ComponentIdentifier:

On these UI component placeholder instances you can call methods that will return an executable CAP that, when being executed on the AUT connection, performs the specified test step:

Figure 2.5. Creating a CAP instance



Copyright BREDEX GmbH 2015. Made available under the Eclipse Public License v1.0.