Configurations

Use the Run Configurations and Debug Configurations dialog boxes to create, run, or debug configurations.

To add a configuration:

  1. Complete one of these steps:
    • To add a run configuration, select Run > Run Configurations.
    • To add a debug configuration, select Run > Debug Configurations.
  2. In the left pane of the Run Configurations or Debug Configurations dialog box, right-click Infor LN Session and select New. These tabs are displayed:
    • Sessions
    • BFlow
    • Profiling
    • Environment
    • Common
  3. Specify the configuration settings in these tabs and click Apply.

For details on the tabs mentioned, see the field help.

Sessions

Use this tab to specify the session you want to start, and the company in which the session must run.

Activity
Select an activity from the list.
Session
Select the session you want to run. The name of the configuration is automatically filled with the name of the selected session.

To select a session, perform one of these actions:

  • Select a session linked to your activity from the list.
  • Click Browse. The Browse session dialog starts. In this dialog you can select a session on the LN server. The session does not have to be linked to your activity.
  • Specify a session code. The session does not have to be linked to your activity.
Note: You can only select sessions that belong to the packages displayed in the Component Explorer
Launch Mode
Specify how the session is started.
Allowed values
Specify a port number where currently a Web UI instance is running. The session is started in this already running Web UI.

See the Web UI About screen for the currently used port number.

Launch in BW The session is launched by BW ( BW Configuration).
Note: If you run a session in Web UI, any new or changed labels are only displayed if the session is compiled and linked to your activity.
Company
Select a company in which the session must be started.

Perform one of these actions:

  • Select Start session in company of connection point and specify the company linked to your project's Runtime Address connection point. To find out the corresponding company number:
    1. Select Windows > Preferences. The Preferences dialog is displayed.
    2. In the tree that is displayed in the left pane of the dialog, select Infor LN JCA Connectivity. The Infor LN JCA Connectivity dialog appears.
    3. Select the Runtime Address connection point and click Edit. The company number is displayed.
  • Select Start session in company and specify another company.

BFlow

Use this tab to specify the BFlow test script you want to start, and the company in which the script must run.

Activity
Select an activity from the list.
Test Script
Select the test script you want to run.
Company
Select a company in which the test script must be started.
See the description of the Company field on the Sessions tab.
BFlow events log level
Select the log level for BFlow events. Use this setting to control the type and amount of log events received from the server that are displayed in the console.

To improve the performance when running BFlow cases that have many steps, select a log level that generates fewer log messages.

This table shows, per log level, the log messages that are received.
Log Levels
Minimal Medium Full Debug
Log Messages
ENVIRONMENT
STATE
NOTICE
WARNING
ERROR
SESSION
CONNECTION
STEP
INFO

Profiling

Optionally, use this tab to specify profiling parameters.

Profiling is used to display performance statistics for a session. For details, see "The Call Graph Profiler" in the Infor ES Programmers Guide (Infor Customer Portal KB2924522).

Enable profile mode
If this check box is selected, you can specify profiling parameters.

When you run the session, a Call Graph Profile is generated.

Sorted by runtime
Select this check box to add information that is sorted by runtime to the Call Graph Profile.
Filter
Use this field to specify a filter. If this check box is selected, you can, for example, enter the name of an object. The generated profile contains only statistics for the specified object.

This field corresponds with the value of the PROFILE_ALL variable. See "The Call Graph Profiler" in the Infor ES Programmers Guide (Infor Customer Portal KB2924522).

Alternative directory on Infor LN Server
If this check box is selected, you can specify a directory on the LN server to store the Call Graph Profile files. The default value is $BSE_TMP.

This field corresponds with the PROF_DIR variable. See "The Call Graph Profiler" in the Infor ES Programmers Guide (Infor Customer Portal KB2924522).

Attach toSave profile results on local client
If this check box is selected, you can specify a directory on your client PC to store the Call Graph Profile files.

See the description of the PROF_CLIENT variable in the Infor ES Programmers Guide (Infor Customer Portal KB2924522).

Start default browser
If this check box is selected, the generated profile is automatically displayed in your default Web browser.

See the description of the PROF_CLIENT variable in the Infor ES Programmers Guide (Infor Customer Portal KB2924522).

Environment

Use this tab to specify environment variables.

Environment
Append environment to native environment
Select this option to append the environment variables to the native environment variables.
Replace native environment with specified environment
Select this option to replace the native environment variables with the specified environment variables.

Common

This tab is not used by LN Studio. It contains only standard Eclipse options. See the Workbench User Guide.