Test Application

This page describes how to run APF forms in development for the purpose of testing. The procedure is valid for forms as well as dialogs and wizards.

Contents

Start the application from Visual Studio

  1. Click "Start Debugging" from the "Debug" menu or the Visual Studio toolbar.
  2. A form that has been added to the navigator can be started from there.
  3. To start forms that are not in the navigator yet;
    1. Show the address bar from the "View" menu in IFS Enterprise Explorer.
    2. type ifsapf:<the full address of your form> as the address (i.e namespace together with form class name, e.g ifsapf:Ifs.Application.Enterp.frmCustomerInfo)
  4. Test the form and see if it is working according to requirements.

Setup project debug properties

When a new development project is created using the IFS Application Forms project template, debug settings are automatically setup corresponding to your development structure. This section describes how to modify the settings if needed.

  1. In the Solution Explorer, open the Properties for the project and open the Debug tab.
  2. In Start Action, select Start external program and set program to run when debugging.

    To debug in IFS Enterprise Explorer this parameter should point to Ifs.Fnd.Explorer.exe which can be found in DeployFiles of the development structure.

  3. In Start Option, set Command line arguments if needed.

    Parameters supported by IFS Enterprise Explorer:

    url - Start up URL. Set this parameter to automatically navigate to a specific page. Typically this would be the form that you are currently working on. Syntax: url=ifsapf:<project namespace>.<form name>, for example url=ifsapf:Ifs.Application.Enterp.frmCustomerInfo.

    assemblypath - Alternative runtime location. IFS Enterprise Explorer looks for assemblies in this location, if  not found in the current local runtime. If your development environment is set up with the ToolDisk to use a Team Server, the TeamServerAssemblyResolve add-in will automatically set this parameter.

  4. In Start Option, set Working directory to point to the desired start up location.

    For a normal application forms project, this value should point to DeployFiles.

Start the application from Windows Explorer

  1. Build the project.
  2. In the <project root> folder, start the application using the IFS Enterprise Explorer shortcut.
  3. A form that has been added to the navigator can be started from there.
  4. To start forms that are not in the navigator yet;
    1. Show the address bar from the "View" menu in IFS Enterprise Explorer.
    2. type ifsapf:<the name of your class> as the address (i.e namespace together with form class name, e.g ifsapf:Ifs.Application.Enterp.frmCustomerInfo)
  5. Test the form to see if it is working according to requirements.