Sun Microsystems / Rave QE

Database Connection Dialog Test Specification

Contents
Test Specification Identifier
       Features to be tested
       Approach Refinements
       Related documentation
       Test Identification
       Test Cases
Approvals
Revision History

Test Specification identifier
http://qa.netbeans.org/modules/webapps/promo-h/DBConnection.html


(F) Features to be tested

Features that will be Implemented and Tested for NetBeans 6.5 release

  • Non JDBC-specific database connection dialog

(A) Approach refinements

   This exercise would comprise of :
  • connection with Fields Entry
  • connection with Direct URL Entry
  • connection to DB with schemes

  • (D) Related documentation.

    (T) Test Identification (Test Areas)


    Test Cases Detail/Procedure

    New Connection Dialog

    Setup (e): 

    Test Id

    (t) Test Item

    (i) Input Spec

    (o) Output Spec

    (e) Env needs

    (d) Dependencies/ Notes

    connection_dialog_001

    Existing fields
    1. Rightclick "Databases" node and choose "New Connection".
    1. "New Connection" dialog should contain: "Driver", "Host name", "Port Number", "Database Name", "User", "Password" text fields, "Remember password" and "edit JDBC URL" checkboxes. "edit JDBC URL" checkbox is not checked. Host name defaults to localhost.

    connection_dialog_002

    Enable JDBC URL field
    1. Rightclick "Databases" node and choose "New Connection"
    2. Check "Show JDBC URL" checkbox.
    2. " JDBC URL" field should appear.

    connection_dialog_003

    Sync between fields
    1. Rightclick "Databases" node and choose "New Connection"
    2. Check "Show JDBC URL" checkbox.
    3. Specify value for "Host name", "Port Number", "Database Name" fields.
    4. Change host name in "JDBC URL" field.
    3. "JDBC URL" field should relect the same parameters.
    4. Value in "Host name" field should be changed.


    connection_dialog_004

    Unknown driver
    1. Add unknown driver.
    2. Rightclick "Databases" node and choose "New Connection"
    2. The entry fields are hidden and the user is required to edit the URL directly.

    connection_dialog_005

    Establish connection
    1. Rightclick "Databases" node and choose "New Connection".
    2. Specify all necessary values.
    3. Click "OK".
    3. New connection node should appear under "Databases" node and connection should be established.

    connection_dialog_006

    Direct URL entry with invalid parameters
    1. Rightclick "Databases" node and choose "New Connection".
    2. Select "Direct URL Entry" radibutton.
    3. Specify all necessary values, but specify invalid values.
    4. Click "OK".
    4. Error message should appear and no connection should be established.

    connection_dialog_007

    Direct URL entry with valid parameters 1. Rightclick "Databases" node and choose "New Connection".
    2. Select "Direct URL Entry" radibutton.
    3. Specify all necessary values.
    4. Click "OK".
    4. New connection node should appear under "Databases" node and connection should be established.

    connection_dialog_008

    Cancel 1. Rightclick "Databases" node and choose "New Connection".
    2. Click "Cancel".
    2. Dialog should disappear.


    connection_dialog_009

    Help 1. Rightclick "Databases" node and choose "New Connection".
    2. Click "Help".
    2. Help window with appropriate topic should appear.


    connection_dialog_010

    Don't remember password 1. Rightclick "Databases" node and choose "New Connection".
    2. Specify all necessary values and uncheck "Remember password" checkbox.
    3. Click "OK".
    4. Disconnect ant then reconnect again.
    4. Dialog for entering user/password should appear.


    connection_dialog_011

    Remember password 1. Rightclick "Databases" node and choose "New Connection".
    2. Specify all necessary values and check "Remember password" checkbox.
    3. Click "OK".
    4. Disconnect ant then reconnect again.
    4. Connection should be established without any additional actions.


    connection_dialog_012

    Choose schema 1. Rightclick "Databases" node and choose "New Connection".
    2. Specify all necessary values for the DB, which has schemes.
    3. Click "OK".
    4. Click "OK".
    3. "Advanced" tab should be opened with drop down list with available schems.
    4. Connection should be established.



    Approvals

    Reviewer Name & Title

    Date

    Status




    Revision History

    Author

    Date

    Revision

    Roman Mostyka

    June-29-2008

    First Draft

    Roman Mostyka October-07-2008
    Updated

    Project Features

    About this Project

    QA was started in November 2009, is owned by Jiří Kovalský, and has 97 members.
    By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
     
     
    Close
    loading
    Please Confirm
    Close