TS 61 PluginPortal

NetBeans Plugin Portal Test Specification

Author: Jaromir Uhrik
Last update: Feb 13th, 2008
Introduction: The Plugin Portal is the interactive web application that serves as the system for management of NetBeans plugins. Users can upload their plugins to the Plugin Portal as well as update and delete it. The plugin portal system provides the catalog XML file that is compatible with the NetBeans Plugin Manager. The Plugin Portal modules catalog XML can be added to NetBeans Plugin Manager and the Plugin Manager can install them to NetBeans IDE then. This test specification provides description of main test-cases that should be tested when updated version of Plugin Portal is available.

Contents


Test suite: Main Plugin Portal pages

Purpose: Test that the Plugin Portal home page contains correct components and data.
Setup: Go to the http://www.netbeans.org and click on "Plugins" tab.


  1. Welcome text reading
    1. Read the main text that is on the top of the page and assure that it makes sense.
    • EXPECTED RESULT: There should not be any typo, FAQ link is at the end of the text - assure it points to the existing page.
  1. Cancel Login
    1. Follow the top right Login link.
    2. In login page there are Username, Password textfields and Login and Cancel buttons.
    3. Push Cancel button.
    • EXPECTED RESULT: The page is redirected to the main Plugin Portal page.
  1. Unsuccessful Login
    1. Follow the top right Login link.
    2. In login page there are Username, Password textfields and Login and Cancel buttons.
    3. Fill in incorrect name and password
    4. Push Login button.
    • EXPECTED RESULT: System Message appears below on the left with the text "Your login information is incorrect. Please try again".
  1. Successful Login
    1. Fill in correct name and password
    2. Push Login button.
    • EXPECTED RESULT: The main Plugin Portal page displays and the Login link is replaced by "Logged in:
  1. Check {username} link
    1. At the right side push the link with your user name.
    • EXPECTED RESULT: The page with the users plugins is displayed.
  1. Check {Logoff link} link
    1. At the right side push the "Logoff" link.
    • EXPECTED RESULT: The {username} and {Logoff lin} disappear and the {Login} link appears there instead of them. Log in again as the same user like before.
  1. Categories view
    1. At the right side there is the Categories list remember the one with the biggest font and one with the smallest font.
    2. Push the cloud icon at the bottom of the categories list.
    • EXPECTED RESULT: The number in brackets must be the highest by the category that has the biggest font..." Push the cloud icon to switch back to the default category view".
  1. Search for a plugin
    1. Select the category that has the biggest font size and click on it. The list of plugins that belong to this category will appear.
    2. Remember some plugin name from the middle of the list
    3. Go back
    4. Type the remembered name to the Search text field and click on Search button
    • EXPECTED RESULT: Assure that the search will start when the enter key is pushed on search textfield. The seach should find the plugin with remembered name.
  1. Order plugins
    1. Order plugins by Name|Date|Ratings|Downloads
    • EXPECTED RESULT: The ordering of plugins must work properly.
  1. Check Next link
    1. Check that the component for page>Next works properly
    • EXPECTED RESULT: The Next link must work properly.
  1. Check Read More
    1. Check that the Read More link works properly
    • EXPECTED RESULT: The Read More link must redirect to the plugin details page.
  1. Check plugin icon
    1. Check that the plugin has the icon displayed
    • EXPECTED RESULT: The icon must points to the plugin details page.
  1. Check the plugin name link
    1. The name of the plugin must be as the link to the details page
    • EXPECTED RESULT: The plugin name link must points to the plugin details page.
  1. Check Owner link
    1. The Owner of the plugin must be the link
    • EXPECTED RESULT: The owner link must point to the page where only list of owner specific plugins are shown.
  1. Add plugin comment
    1. Add some comment to the plugin (use the html tags in the comment to format the text)
    • EXPECTED RESULT: The plugin comment must be displayed correctly.
  1. Download plugin
    1. Download plugin and install it to the NetBeans IDE
    • EXPECTED RESULT: The plugin must be downloaded and installed properly.
  1. Plugin permalink test
    1. Copy to clipboard the permalink of the plugin
    2. Paste it to the new browser window
    • EXPECTED RESULT: The plugin details should appear in the window.
  1. Download test
    1. Try to download selected plugin
    • EXPECTED RESULT: The plugin must be downloaded without problems, the installation to NetBeans IDE must work fine.



Test suite: Add/Update/Delete

Purpose: Test that the Plugin Portal Add/Update/Delete actions work correctly.
Setup: Go to the http://www.netbeans.org and click on "Plugins" tab, log on and push your username link in the top-right corner.


  1. Add new .nbm plugin
    1. Click on your plugin name link - the page with the list of your plugins appear
    2. Push the Add Plugin button - the page Add Plugin, Step 1 of 2 appears
    3. Push Choose File button and browse the desired plugin
    4. Push Next button - the page Add Plugin, Step 2 of 2 appears
    5. Fill in the form and push Submit button
    • EXPECTED RESULT: The system messages should appear in the case that some mandatory field was not filed or some invalid data were inserted - otherwise the My Plugins page appears (and the newly added plugin is in the list of plugins). Check that the version of the plugin is correct.
  1. Test plugin Update
    1. Click on the Update button by the plugin in the list of your plugins - the update page appears
    2. Change some fields and push Submit button
    • EXPECTED RESULT: The page with your plugins apperars again and the changed values must be propagated to the view
  1. Test plugin Delete
    1. Click on the Delete button by the plugin in the list of your plugins - the delete page appears
    2. Push No button to avoid deleting of the plugin
    3. Push the plugin's Delete button again - the delete page appears
    4. Push Yes button
    • EXPECTED RESULT: The plugin is deleted - it disappears from your plugin list
  1. Add new linked plugin
    1. Click on your plugin name link - the page with the list of your plugins appear
    2. Push the Add Plugin button - the page Add Plugin, Step 1 of 2 appears
    3. Select the second radiobutton with the label "I don't want to upload the plugin now, because it's hosted on another web site."
    4. Push Next button - the page Add Plugin, Step 2 of 2 appears
    5. Fill in the form (especially Homepage of the plugin) and push Submit button
    • EXPECTED RESULT: The system messages should appear in the case that some mandatory field was not filed or some invalid data were inserted - otherwise the My Plugins page appears (and the newly added plugin is in the list of plugins).
  1. Test plugin Update
    1. Click on the Update button by the plugin in the list of your plugins - the update page appears
    2. Change some fields and push Submit button
    • EXPECTED RESULT: The page with your plugins apperars again and the changed values must be propagated to the view
  1. Test plugin Delete
    1. Click on the Delete button by the plugin in the list of your plugins - the delete page appears
    2. Push No button to avoid deleting of the plugin
    3. Push the plugin's Delete button again - the delete page appears
    4. Push Yes button
    • EXPECTED RESULT: The plugin is deleted - it disappears from your plugin list



Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo