Unit Testing


To execute the Information Retrieval Visio XML application:

  1. Execute the Setup.exe file to install the Information Retrieval COM add-in. This file is located in the /InformationRetrievalCOMAddInSetup/debug folder of the InformationRetrievalCOMAddIn folder, where the project was stored.

  2. Open Microsoft Visio. The Information Retrieval COM add-in message box appears, as shown in Figure 7-10:

    click to expand: this figure shows the message box, which shows that the information retrieval com add-in is connected to visio.
    Figure 7-10: The Information Retrieval COM Add-in Message Box

  1. Select File->New->New Drawing in Visio to create a new Visio document. The Services window appears, as shown in Figure 7-11:

    this figure shows the services window that displays the service categories to the end user.
    Figure 7-11: The Services Window with Service Categories

  1. Select a service category in the Services window and click the Next button to view the company names sorted by services for the selected service category. The Company Location window appears, as shown in Figure 7-12:

    this figure shows the company location window that displays company names and addresses that provide the service for the selected service category.
    Figure 7-12: The Company Location Window with Company Names and Addresses

  1. Select a company in the Company Location window and click the Next button to view the address of a company that provides a particular service. The Service Information window appears, as shown in Figure 7-13:

    click to expand: this figure shows the service information window that displays the information about the service selected by the end user.
    Figure 7-13: The Service Information Window

  1. Click the Extract button to extract the data that the Service Information window displays and store it in the Visio document.

  2. Close the Company Location window.

  3. Select the No particular service option in the Services window and click Next to view the available locations. The Locations window appears, as shown in Figure 7-14:

    this figure shows the locations window that displays various locations to the end user, where the end user can look for a particular service.
    Figure 7-14: The Locations Window with Locations

  1. Select a location and click Next to view the companies and the services provided by the companies in a particular location. The Company Services window appears, as shown in Figure 7-15:

    the figure shows the company services window that displays the services that are located in a place selected by the end user.
    Figure 7-15: The Company Services Window with Service Information

  1. Select a company in the Company Services window and click Next to view the information about the selected company. The Service Information window appears, as shown in Figure 7-16:

    click to expand: this figure shows the service information window that displays the information about the service selected by the end user.
    Figure 7-16: Service Information for Selected Service

  1. Click the Extract button to extract the data that the Service Information window displays and store it in the Visio document.

  2. Close the Company Services window.

  3. Select the No particular location option in the Locations window and click Next to view the available companies. The Companies window appears, as shown in Figure 7-17:

    this figure shows the companies window that displays the available company names to the end user.
    Figure 7-17: The Companies Window with List of Companies

  1. Select a company and click Next to view all the services provided by this company. The Service Information window as appears, as shown in Figure 7-18:

    click to expand: this figure shows the service information window that displays information on all the services provided by a selected company.
    Figure 7-18: The Service Information Window with Services Provided by a Company

  1. Click the Extract button to extract the data that the Service Information window displays and store it in the Visio document.

  2. Close the Companies window.

  3. Select a location in the Locations window to view a list of locations close to the selected location. The Near by Locations window appears, as shown in Figure 7-19:

    this figure shows the near by locations window that displays the locations that are close to the selected location along with the distance from the selected location.
    Figure 7-19: The Near by Locations Window with locations

  1. Close the Near by Locations window.

  2. Close the Locations window.

  3. Close the Services window to save the extracted XML data in the current Visio document. A confirmation message box appears, as shown in Figure 7-20:

    click to expand: this figure shows a confirmation that the xml data has been extracted into a visio document.
    Figure 7-20: The Confirmation Message Box

  1. Save the current Visio drawing as an XML drawing (.vdx) that represents the XML format of a Visio drawing.

  2. View the saved XML Visio drawing in any text editor to view the SolutionXMLElement element that stores the XML data extracted from the Information Retrieval COM add-in.




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