Importing a test bucket project

When your test bucket project depends on another project, you should always import the other project first.

Procedure

  1. In your Eclipse-based environment, ensure that the Java perspective is open. If it is not, or you are uncertain whether the Java perspective is open, follow these steps:
    1. Select Window > Open Perspective > Other.
    2. Select Java; then click OK.
  2. Complete the following steps:
    OptionDescription
     
    1. Select File > Import.
    2. In the Import window, select General > Existing Projects into Workspace; then click Next.
    3. Select the Select archive file option; then click Browse.
    4. Navigate to the location of the StorefrontTestAssets.zip file or your own test bucket that you want to import.
    5. Select the file and click Open. The test bucket projects in the file will be displayed.
    6. Select the test bucket project you want to import and click Finish. The test bucket project is imported into your workspace.
    7. If this test bucket is from the StorefrontTestAssets.zip file, you do not need to complete any further steps. If this is your own test bucket, you must link the StoreTestHarness and WCHTTPClient projects (such as the Storefront Test Automation Engine) to the newly imported test bucket.
      1. Right-click the newly imported test bucket project and select Properties.
      2. Select Java Build Path from the menu.
      3. Select the Projects tab and click Add.
      4. Select StoreTestHarness and WCHTTPClient from the list and click OK.
      5. Click OK to close the Properties window.

Results

A test bucket project is imported and the capabilities of the Storefront Test Automation Engine have been added to it.