TS 73 CDevGround

Team Server Ground Test Specification for NetBeans 7.3

Author: Štěpán Žebra
Version: 1.2
Last update: 23.8.2012
Introduction: Test specification for testing the Team Server (Connected Developer) integration - login, main menu items and dashboard in the IDE. For all test suites it is required that the user must have existing account at java.net or kenai.com or some other Team Server instance.
Comments: This document is heavily based on TS_69_CDevGround which is now obsolete.

Contents


Test suite: Team Server Plugin

Purpose: Test availability and installation of Team Server plugin.
Setup: Freshly installed NetBeans IDE with clean userdir.

  1. Check Team Server plugin availability
    1. Invoke Tools | Plugins main menu action. "Plugins" manager shows up.
    2. Switch to "Available Plugins (#)" tab
    • EXPECTED RESULT: "Team Server" plugin is present in the list and can be selected for installation.
  2. Install Team Server plugin
    1. Tick the checkbox next to the "Team Server" plugin.
    2. Push the Install button and proceed with installation.
    • EXPECTED RESULT: Installation is successfully finished and the "Team Server" plugin is now visible under "Installed (#)" tab.


Test suite: Menu Items

Purpose: Test that proper menu items related to team are available.
Setup: Team Server plugin installed.

  1. "Team Server" Login Menu Availability
    1. Go to main menu Team.
    • EXPECTED RESULT: The Team menu must contain Team Server submenu. Login... and Logout... items must be available there. The Logout... item should be disabled in case that the user is not logged in to any instance of Team Servers registered in the "Services" view.
  2. "Team" Dashboard Availability
    1. Go to Window menu.
    • EXPECTED RESULT: The Team item must be available there with assigned shortcut Ctrl+8.
  3. "Chat" Menu Availability
    1. Go to Window menu.
    • EXPECTED RESULT: The Chat item must be available there and no shortcut is assigned to this action.


Test suite: Login

Purpose: Test the "Login to Team Server" dialog with login scenarios.
Setup: Team Server plugin installed.

  1. Login (non persistent)
    1. Open the "Team" dashboard (Ctrl+8).
    2. Go to main menu Team | Team Server | Login.... "Login to Team Server" dialog appears.
    3. Type the "Username" and "Password" of a valid user.
    4. Make sure the "Remember me" checkbox is not ticked (untick it if needed).
    5. Push the Login button.
    6. Wait until all the login and after-login actions are completed.
    7. Restart the IDE.
    • EXPECTED RESULT: Before login, the "Team" dashboard contains a Login... link in the top, two buttons to create and open a project and a help link in the middle, the rest is empty. When the user logs in, the links are hidden and the dashboard is populated by the "Open Projects" category (with "No opened project" label) and the "My Projects" category (with all projects that the user is subscribed to). After the restart the dashboard is in the same state as before login.
  2. Login (persistent)
    1. Go to main menu Team | Team Server | Login.... "Login to Team Server" dialog appears.
    2. Type the "Username" and "Password" of a valid user.
    3. Make sure the "Remember me" checkbox is ticked (tick it if needed).
    4. Push the Login button.
    5. Wait until all the login and after-login actions are completed.
    6. Restart the IDE.
    • EXPECTED RESULT: The Team dashboard starts to load projects of the persisted user immediately after the restart. Projects that have been opened before restart should remain in "Opened Projects". "My Projects" contain all projects belonging to the user.
  3. Cancel the login dialog
    1. Invoke Team | Team Server | Login... main menu action.
    2. Push Cancel button in the opened "Login to Team Server" dialog.
    • EXPECTED RESULT: The Login to Team Server dialog disappears shortly.


Test suite: Logout

Purpose: Test logout scenarios.
Setup: Team Server plugin installed.

  1. Logout
    1. Invoke Team | Team Server | Logout... main menu action.
    • EXPECTED RESULT: The "Team" dashboard's "Open Projects" category contains projects that have been opened before logout. The first line of the "Team" dashboard contains Login... link.
  2. Logout from all servers
    1. Log in to at least 2 "Team Servers".
    2. Invoke Team | Team Server | Logout... main menu action.
    3. Tick checkboxes for all instances and push Logout button.
    • EXPECTED RESULT: The "Team" dashboard's "Open Projects" category contains projects that have been opened before logout. The first line of the "Team" dashboard contains Login... link.
  3. Logout from a single server
    1. Log in to at least 2 Team Servers.
    2. Invoke Team | Team Server | Logout... main menu action.
    3. Tick checkbox for one server and push the Logout button.
    • EXPECTED RESULT: For the instance that was logged out the "Team" dashboard's "Open Projects" category contains projects that have been opened before logout. The first line of the "Team" dashboard contains Login... link. Check that all other instances work correctly and stayed logged in.


Test suite: Links

Purpose: Test hyperlinks functionality.
Setup: Team Server plugin installed.

  1. Check the forgot password link
    1. Go to main menu Team | Team Server | Login....
    2. Click on the "Forgot Your Password?" link.
  2. Check the sign up link
    1. Click on the "Sign up now." link in "Login to Team Server" dialog.
    • EXPECTED RESULT: The default system browser appears with the url https://java.net/people/new (for java.net instance or appropriate url for other instances).


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