Automatically enabled environment for functional testing
From HCL DevOps Test UI (Test UI) version 9.1 onwards, Test UI automatically enables the environments for functional testing.
- Automatic enablement option is available only on Windows machine.
- When you turn on automatic enablement, ensure that in addition to the application under test only the processes required by Test UI are running on the computer.
To turn off automatic enablement in Test UI Eclipse IDE version and later, click Window > Preferences > Functional Test, then clear the Automatic enablement check box.
To turn off automatic enablement in Test UI Visual Studio IDE version and later, click Tools > Options > Functional Test the clear the Automatic Enablement check box.
The automatically enabled environment overcomes significant limitations that are seen while testing JRE versions later than Sun JRE 1.6 Update 17.
Test UI enables the components automatically only in Microsoft™ Windows™ environments, including Federal Desktop Core Configuration (FDCC) setups. The automatic enablement takes place under certain conditions and has limitations. Table 1 lists the components that are enabled automatically and the components that need to be enabled manually. Table 2 lists the applications for which the test environment is enabled automatically, and the applications for which the environment must be enabled manually.
Component types | Automatically enabled | Enable manually |
---|---|---|
Browsers |
Learn more about automatically enabled browsers:
|
|
JREs | All Sun or IBM® JREs versions 1.5 or later that are supported by Test UI. | All Sun or IBM® JRE versions earlier than 1.5 that are supported by Test UI |
Automatically enabled environment | Enable environment manually |
---|---|
Learn more about automatic enablement for SWT and 64-bit AWT applications: Automatic enablement for SWT
applications and 64-bit AWT applications has certain limitations and
requires specific conditions. The test environment is enabled automatically
if both Test UI and
the test applications use a JRE from the same vendor. If the JREs
are from different vendors, complete one of the following steps so
that the environment is enabled automatically:
|
|
Limitations and workarounds in automatically enabled environments
- For 64-bit Test UI installer, automatic enablement is not supported for Internet Explorer browser. Dynamic enablement is supported only for 32-bit Test UI installer for Internet Explorer browser.
- You cannot open the Verification Point Comparator by clicking the View Results link in the functional test HTML log. Instead, open the corresponding project log file from the functional test project log, in the Functional Test Projects view.
- When you test 32-bit SWT or Eclipse applications in automatically enabled environments, the first click action is not recorded. Perform the first click twice to make sure that it is recorded.
- In an automatically enabled test environment, if you uninstall a JRE that is associated with a browser, restart the computer, and then disable the uninstalled JRE in any browser add-ons that point to the uninstalled JRE, if any.
- In some combinations of JREs and operating systems, when the environment
is automatically enabled, the browser shuts down unexpectedly when
text is entered in a text box in an applet that is embedded in an
HTML page. To resolve this, do one of the following procedures:
- For Internet Explorer browsers, update the policy file with the permissions in the security folder of the JRE that is associated with the browser.
- For Mozilla Firefox browsers, manually enable the browsers, and ensure that the Next-Gen plug-in is disabled.
- Use the Scripting option to access elements relative to the enabled domain toplevelwindow (either HTMLTopLevelWindow or JavaTopLevelWindow)