When recording an Oracle NCA Vuser script, follow these guidelines:
Recommended: Install Jinitiator before recording a script.
Close all browsers before you begin recording.
Record the login procedure in the vuser_init section. Record a typical business process in the Actions section. When you run the script, you can then specify multiple iterations for a specific business process. For more information, see Solution Explorer Pane.
VuGen supports the recording of Oracle Forms applications using the Forms Listener Servlet in multi-protocol mode. The application server uses the Forms Listener Servlet to create a runtime process for each client. The runtime process, Forms Server Runtime, maintains a persistent connection with the client and sends information to and from the server.
Use the Oracle NCA > Code Generation recording options to identify Oracle NCA Java objects that behave in an asynchronous way, such as webutil objects, and add them to an array in the header file.
A nca_java_set_area_class step that calls the array is inserted into the script just before the nca_connect_server step. This replaces the need to insert a nca_java_action step for each of these object throughout the script, thereby allowing for a cleaner script.
For more details, see Oracle NCA > Code Generation Recording Options
To support Forms 4.5 in replay, modify the mdrv_oracle_nca.dat file in the dat > mdrv folder to match the following example:
[Oracle_NCA] ExtPriorityType=protocol WINNT_EXT_LIBS=ncarp110.dll WIN95_EXT_LIBS=ncarp110.dll LINUX_EXT_LIBS=liboranca.so SOLARIS_EXT_LIBS=liboranca.so HPUX_EXT_LIBS=liboranca.sl AIX_EXT_LIBS=liboranca.so LibCfgFunc=oracle_gui_configure UtilityExt=lrun_api
To restore Forms support for versions later than 4.5, restore the original values.