Task flow for testing Java applications

The diagram in this topic shows the task flow for testing the Java application using IBM® DevOps Test UI (Test UI).

Although the task flow implies that each task is completed sequentially, you can do many of the tasks at the same time.
The task flow for testing Java applications using Test UI is as follows.
S/N Tasks More information
1 Verify that the Java version is supported for functional testing. Java support.
2 Enable the environment for testing. Standalone SWT Other Java applications
2.1 Enable the JRE. Enabling environments for older Java versions. Enabling environments for older Java versions
2.2 Enable The SWT application for testing. Enabling stand-alone Standard Widget Toolkit applications. NA
2.3 Configure the application for testing. Configuring applications for testing. Configuring applications for testing
3 Create a functional test project. Creating a test project.
4 Create a functional test scripts. Simplified scripting Java or Visual Basic scripting
4.1 Record a script or insert a manual script. Creating a simplified test script. Recording a Java test script.
4.2 Insert verification points. Inserting verification points into the script using the application visuals. Verification points.
4.3 Insert data-driven commands. Inserting data-driven commands into a script by using an application visual Data-driving functional tests.
4.4 Insert additional controls for testing. Inserting an application control into the script by using an application visual. Adding test objects to a script.
4.5 Optionally, switch to Java scripting. Switching to Java scripting. NA
5 Play back scripts. Running scripts from DevOps Test UI.
6 View logs. Viewing logs in the Projects view.
Note:

Test UI automatically enables the environments for functional testing. As a result, you can directly record functional test scripts without enabling components manually. The automatic enablement takes place under certain conditions and has limitations. For more information about the conditions and limitations, see Automatically enabled environment for functional testing.

Basic tester: A basic tester can record functional test scripts that are generated as simplified test scripts. The tester does not require programming knowledge to edit the functional test scripts. The tester can switch to Java scripting, and use the Insert Java Code Snippet or Insert Java Method features that are available in the simplified script editor. The tester then starts to work with the Java test script directly. You can use the application visuals to insert verification points, data-driven commands, and additional controls for testing.

Advanced tester with scripting knowledge: A tester with Java or Visual Basic programming knowledge can either record functional test scripts or create the test scripts manually. You can use the test object maps to update the objects and insert additional objects for testing.