Unit Testing


To execute the QueryTrackerAdministrator application:

  1. Execute the QueryTrackerAdministrator.exe file. This file is located in the /bin folder of the QueryTrackerAdministrator project. The Login Manager window appears, as shown in Figure 4-11:

    this figure shows the login manager window where the administrator specifies the login credentials and logs on to the querytrackeradministrator application.
    Figure 4-11: The Login Manager Window

  1. Enter the user name and password, and click the Login button. If the login information is correct, the Application Manager window appears, as shown in Figure 4-12:

    click to expand: this figure shows the application manager window that displays the available options to the administrator.
    Figure 4-12: The Application Manager Window

  1. Select Executive Manager->Add Executive to add information about a new executive. The Executive Manager window appears, as shown in Figure 4-13:

    this figure shows the executive manager window with a departments list and the required parameters to add information about an executive.
    Figure 4-13: The Executive Manager Window with List of Departments

  1. Specify the executive information and click the Add New Executive button to add the information about the executive, as shown in Figure 4-14:

    this figure shows the information about the executive that the administrator wants to insert in the database.
    Figure 4-14: The Executive Information

  1. Select Query Manager->Add Query in the Application Manager window to add a query into the database. The Query Manager window appears, as shown in Figure 4-15:

    click to expand: this figure shows the query manager window where the administrator can enter a query into the database.
    Figure 4-15: The Query Manager Window

  1. Specify the query information and click the Add Query button to save the information about the query in the database, as shown in Figure 4-16:

    click to expand: this figure shows the information about the query specified by the administrator.
    Figure 4-16: The Query Information

  1. Select Query Manager->Forward Query To Executive in the Application Manager window to assign queries to customer support executives, as shown in Figure 4-17:

    click to expand: this figure shows the forward pending query to executive window that shows the list of pending queries and available customer support executives.
    Figure 4-17: The Forward Pending Query to Executive Window with Query List

  1. Select a pending query from the pending queries list, select an executive, and click the Forward button to forward the selected query to a selected executive.

To execute the QueryTrackerClient application:

  1. Execute the QueryTrackerServerListener.exe file. This file is located in the /bin folder of the QueryTrackerServerListener project. A confirmation message box appears, as shown in Figure 4-18:

    this figure shows the message box that issues a confirmation that the server is running.
    Figure 4-18: The Confirmation Message Box

  1. Execute the QueryTrackerClient.exe file. This file is located in the /bin folder of the QueryTrackerClient project. The Executive Login window appears, as shown in Figure 4-19:

    this figure shows the executive login window that enables executives to specify login information to access the queries.
    Figure 4-19: The Executive Login Window

  1. Enter the user name and password and click Login to access the queries. If the login is correct, the Query Tracker Client window appears, as shown in Figure 4-20:

    click to expand: this figure shows the query tracker client window that shows the queries assigned to the executive.
    Figure 4-20: The Query Tracker Client Window with a Query

  1. Select a query and click the Mark as Attended button to mark that query as attended. The query status changes to ˜A , as shown in Figure 4-21:

    click to expand: this figure shows the status of a query marked as attended to by the executive.
    Figure 4-21: The Query Status

  1. Click the Close button to update the status of the queries marked as attended to into the database.

To create a UML static model diagram from the Query Tracker application:

  1. Open the QueryTracker.sln file located in the QueryTracker folder.

  2. Select View->Solution Explorer to view the Solution Explorer for the QueryTracker application. The Solution Explorer appears, as shown in Figure 4-22:

    click to expand: this figure shows the solution explorer for the querytracker application that shows the projects used in this application.
    Figure 4-22: The Solution Explorer

  1. Click the solution, QueryTracker, in the Solution Explorer.

  2. Select Project->Visio UML->Reverse Engineer to reverse engineer the QueryTracker application code to a UML static model diagram. The Select Visio UML file dialog box appears, as shown in Figure 4-23:

    click to expand: this figure shows the select visio uml file dialog box where you can enter a name for the uml static model diagram.
    Figure 4-23: The Select Visio UML File Dialog Box

  1. Specify the file name as QueryTrackerClient.vsd and click the Save button. Microsoft Visio opens up automatically and displays the UML static model in the Model Explorer, as shown in Figure 4-24:

    this figure shows the querytracker uml static model diagram that displays the projects used in the querytracker application.
    Figure 4-24: The QueryTracker UML model




NET InstantCode. UML with Visio and Visual Studio .NET
NET InstantCode. UML with Visio and Visual Studio .NET
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 49

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net