TS 67 CDevChat

Revision as of 17:32, 5 November 2009 by Admin (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)

Connected Developer "Collaboration" (or briefly "Chat") Test Specification

Author: Jaromir Uhrik
Version: 6.7
Last update: 2009/03/03
Introduction: This document is test specification for Features related to Chat.

Comments:This document is not finished - still in progress!

Contents


Test suite: Kenai connection

Purpose: This test suite is intended to contain tests related to connecting to Kenai server.
Setup: Start IDE with clear userdir. The user is initially NOT logged in to Kenai. The Kenai user must exist with a couple of projects owned and couple of observed.

  1. testcase Open the Chat Window}}
    1. Go to the main menu and open the Chat Window.
    • EXPECTED RESULT: The Chat Window opens and it contains the text "You are not logged in. Please log in." (where "log in" is the hyperlink)
  1. Reopen the Chat Window
    1. Close the Chat Window with x-widget (try also Ctrl+W shortcut)
    2. Go to the main menu and open the Chat Window.
    • EXPECTED RESULT: The Chat Window opens and it contains the text "You are not logged in. Please log in." (where "log in" is the hyperlink)
  1. Follow "Log in" link from the Chat Window
    1. In the Chat Window follow the "log in" link
    • EXPECTED RESULT: The "Login to Kenai" dialog appears.
  1. Invalid Log in
    1. In the "Login to Kenai" window fill in bad password for your account.
    • EXPECTED RESULT: The "Authentication failed" message appears in the dialog .
  1. Correct Log in
    1. In the "Login to Kenai" window fill in correct password for your account.
    • EXPECTED RESULT: It takes a while to connect, then the "Login to Kenai" dialog disapears and the "Chat Window" clears the message abou the login. By the "+" button there pops up the list of chatrooms (project names) available for the user. Check that you are subscribed in all of them (as owner or observer).


Test suite: Chat Window

Purpose: This test suite is the continuation of previous one so that the setup from the previous suite is required.
Setup: There is required that the previous suite tests are executed before this suite.

  1. Show the chatroom
    1. Select one of your chatroom and click on it in the list.
    • EXPECTED RESULT: The tab with the project name is created in the Chat Window. Check that the item disappeared from the list.
  1. Show all chatrooms
    1. Select each of your chatroom and click on it in the list.
    • EXPECTED RESULT: The tab with the project name is created in the Chat Window for each project (chatroom). Check that the list is empty when all chatrooms are opened.


  1. Check the Chat Window layout
    1. Look at the window and check that it consists of following items
    • EXPECTED RESULT: The first line contains the number of online users in the room (e.g. "1 online" in blue color). Then there is the list of messages followed by input area below
  1. Check online users
    1. Go with mouse to the first line where the number of online users is displayed. Wait for the tooltip.
    • EXPECTED RESULT: The tooltip shows the list with users logged in the room.
  1. Stretch the input area
    1. The input area is couple of lines high, try to stretch it so that it is half of the Chat Window
    • EXPECTED RESULT: Move the splitter up and down to check that the scrollbars appear and disappear when required
  1. Enter the room from native XMPP client
    1. Create another user in Kenai that observes the opened project chat and connect to it from an native client.
    • EXPECTED RESULT: Check that the online users is increased by 1 in the Chat Window.
  1. Send message from native XMPP client
    1. Type some text (use also localized characters) and send it from the native client
    • EXPECTED RESULT: The text appears properly in the IDE and the native client too.
  1. Send message from IDE
    1. Type any text (use also localized characters) and send it from IDE
    • EXPECTED RESULT: The text appears immediately in IDE and in the client too.
  1. Check the status line indicator
    1. Roll mouse over the status line where the number of connected chat users with the bullet appears.
    • EXPECTED RESULT: The popup appears shortly and contains list of rooms in bold (and each contains the list of users connected). The number by the bullet contais the total different users available in all conversation rooms.
  1. Leave the room from the native client
    1. Leave the room.
    • EXPECTED RESULT: The number of "online" and the number of "total online" is updated (decreased by 1).



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