STS 70 UserRegistration

User Registration Sanity Test Specification for NetBeans 7.0

Author: Lukas Hasik
Last update: 4.12.2008
Introduction: This test specification describes the tests scenarios for User Registration in the IDE. It doesn't covers the test cases for installer user registration functionality.

Contents


Test suite: Registration dialog

Purpose: Test of Registration dialog behavior
Setup: Run IDE with clean userdir
About the feature:

  • the Registration functionality is enabled only in final release. Use command line switch -J-Dnb.registration.enabled=true
  • the Registration connect to a default host server. For testing you can use J-Dnb.registration.host=https://inventory-tst2.sun.com
  • the Registration functionality should be available by default from NB 6.0.1
  • for logging of the registration module functionality use -J-Dorg.netbeans.modules.registration.level=0 -J-Dorg.netbeans.modules.reglib.level=0 on command line when starting IDE. The logging shows what data are collected. And what is post to server.
  • status.xml file is created in HOME/.netbeans-registration/NB_VERSION/. It contains - registered/never/later in xml
  • always check that the registration.xml is created when the Register button is pressed
    • either in NB_INSTALL-DIR/nb. NB_VERSION/servicetag/registration.xml or at user home directory at HOME/.netbeans-registration/NB_VERSION/registration.xml. It depends on if the IDE can write to the NB install directory
  • NOTE: on Vista it behaves in a tricky way - when it cannot write to a directory (e.g. NB install dir) then it creates a virtual filesystem in user directory.


  1. Registration Reminder dialog appears
    1. Start the FCS build or IDE with commandline options to enable the registration
    • EXPECTED RESULT: The Registration dialog appears when main window of IDE shows up.
  2. Registration Reminder > Register
    1. Press Register button on the Registration Reminder dialog
    • EXPECTED RESULT: Registration Reminder dialog closes. Registration Page opens up in the web browser. If the IDE cannot connect to the internet, it opens up the Offline Registration Page instead of the live Registration page. The Registration Reminder dialog won't appear anymore at IDE startup.
  3. Never Register
    1. Press Never Register button on the Registration Reminder dialog
    • EXPECTED RESULT: Registration Reminder dialog closes. The Registration Reminder dialog won't appear anymore at IDE startup.
  4. Remind Me Later
    1. Press Remind Me Later button on the Registration Reminder dialog
    • EXPECTED RESULT: Registration Reminder dialog closes. The Registration Reminder dialog opens again after 7 days during the IDE startup.
  5. Help > Register
    1. click Help > Register menu item in IDE
    • EXPECTED RESULT: Registration Page opens up in the web browser. If the IDE cannot connect to the internet, it opens up the Offline Registration Page instead of the live Registration page.
  6. Don't bother when clicked Register button
    • EXPECTED RESULT: when user clicks Register then the Reminder dialog doesn't appear anymore -> restart the IDE a few times to verify it.
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