Applications that start using the Java Network Launching Protocol (JNLP) require additional configuration in
Silk4J. Because these applications are started from the Web, you must manually configure the application configuration to start
the actual application and launch the "Web Start". Otherwise, the test will fail on playback unless the application is already
If the test fails, because
Silk4J cannot start the application, edit the application configuration.
the drop-down arrow next to the
Silk Test toolbar icon
Edit Application Configurations.
Edit Application Configurations dialog box opens and lists the existing application configurations.
Edit the base state to ensure that the Web Start launches during playback.
Executable Pattern text box, type the absolute path for the
For example, you might type:
Command Line Pattern text box, type the command line pattern that includes the URL to the Web Start.
For example, for the SwingSet3 application, type:
The test uses the base state to start the web-start application and the application configuration executable pattern to attach
to javaw.exe to execute the test.
When you run the test, a warning states that the application configuration EXE file does not match the base state EXE file.
You can disregard the message because the test executes as expected.