Creating an AB Suite Client Framework Test Project

You can create an AB Suite Client Framework test project by using the sample AB Suite User Experience mode application from the templates provided in the New Project window and test the functionality of the AB Suite Developer. You can then set the configuration properties, create a test database, build, and run the application

To create an AB Suite Client Framework test project by using the sample AB Suite User Experience mode application, perform the following

  1. On the File menu, point to New, and then click Project.

    The New Project dialog box appears.

  2. In the Project Types pane, expand Agile Business Suite, and then click Samples.

  3. In the Templates pane, select Sample User Experience mode Application.

  4. In the Name box, enter the project name.

  5. In the Location box, enter the path or browse to the location where you want to store the new project.

  6. Click OK.

    The New Application Wizard appears.

  7. From the Server Name list, select the SQL server. By default, this list box displays the system name.

  8. In the Database Name box, enter the model name. By default, this text box displays the solution name.

  9. In the Model Name box, enter the model name. By default, this text box displays the solution name.

  10. Click Next.

    The project creation confirmation message appears in the wizard.

  11. Click Finish.

    The sample AB Suite User Experience mode model is restored.

  12. Click Close.

A Client Framework project is created in the specified location and the model node appears in the Class view window.

After creating the AB Suite Client Framework project by using the sample AB Suite User Experience mode application, you might have to configure a deployment folder. The NewSampleSys.model contains a deployment folder with pre-defined configuration properties. Refer to Creating a Deployment Folder for more information on creating a deployment folder, if you are using a model file without a deployment folder.

Configuring the Deployment Folder

You must configure the deployment folder before you build the application.

To configure the deployment folder, perform the following:

  1. Right-click the deployment folder and select Properties from the context menu.

    The <Deployment Folder Name> Property Pages dialog box appears.

  2. From the Configuration list, select Release.

  3. From the Platform list, select Windows. By default, this property is set to MCP.

  4. Under the Build Target Filter section, set the Deployable property to True.

    This enables the other configuration properties.

  5. Under Builder Target Filter section, set the Deploy Application Components, Deploy Database, and Deploy Reports properties to True.

  6. Under Installation section, set the Deployment Host property to “localhost” for local deployment (where Runtime and System Modeler are installed on the same physical machine).

  7. Browse to and select the Package Installation Directory where the deployable unit should be installed on the runtime server. For example, “C:\Program Files (x86)\Unisys\AB Suite 7.0\Sample”. This is the location of all executable files for the deployed system.

  8. Browse to and select the Package Intermediate Directory where you want to store the temporary installation files. For example, “C:\NGENSystems\Temp”.

  9. Click OK.

You can now perform the following:

  1. Configure the segment

  2. Create a runtime test database

  3. Build the application

Refer to Creating an AB Suite Test Project for more information.

Testing the Client Framework Application

The sample Client Framework Model includes a set of designed XAML Views for the Sample system. You can use the supplied Views to test the deployed Client Framework application with the WPF Client.

To run the WPF Client against the AB Suite Client Framework application, you might have to edit the <Technology Folder Name>_Config.rtxml file. The configuration file is located at <System Modeler project folder>\Access Layer API Deploy. See Installing Client Framework for more information on the tags that you must edit in the <Technology Folder Name>_Config.rtxml file.