Lesson 8: Insert Java custom code
You can switch to Java scripting if you want to insert Java codes to perform additional operations such as extending an API or any functions that cannot be performed directly in the simplified script editor.
In this lesson, you insert a Java code snippet so that IBM® DevOps Test UI (Test UI) waits until the Password control in the Member Logon window is displayed in the application during playback and then test the control.
You can enable the option to wait for the control to be displayed for a test line in the Playback page in the Properties view. But in this tutorial, to understand the process of inserting a custom Java code, you perform the following steps:
Play back the script
Lesson checkpoint
In this lesson you learned how to modify the simplified test script and insert a Java custom code snippet to a simplified script.