NB70L10nTestCases/sanity

Test Setup

1. Change the browser locale settings to the language on which you are testing.

2. Change the encoding of browser and terminal to UTF-8.


Test Cases

  1. Download page for all languages
    • Browse to ML latest build here
    • Change the language in Choose Page Language on top.
    • Expected Result : Check all the fonts in the download page changes to the language selected by you as above.
  2. Download IDE in all langugaes
    • Browse to ML latest build here
    • Choose IDE language from the dropdown
    • Click on Download for all the supported technologies
    • Expected Result: Check the installer is for the language which was selected above for the IDE Language.
  3. Run Installer of netbeans in target language
    • Setup
      Remove the .nbi files from the $USER_HOME directory( ex:- /home/USER/.nbi)
    • Run the command ./netbeans-xxx-ml.sh --locale ja
    • Expected Result: Check the installer runs in the native language and the messages shown in the installer are from the language selected above.
  4. Run netbeans in target language
    • Setup
      Remove the .netbeans files from the $USER_HOME directory( ex:- /home/USER/.netbeans)
    • Run the command from the bin folder of installation. For ex:-./netbeans --locale ja
    • Expected Result: Check the netbeans opens in the native language and the fonts in the UI are shown in the language selected above.
  5. Create a java project
    • Choose File > New Project from the main menu.
    • In the New Projects wizard, select the Java category
    • Select the Java Application project
    • Specify a location for the project and make sure the Set as Main Project property is selected. Click Finish
    • Run the project
    • Expected Result:The project runs successfully without any error.
  6. Create a sample java project
    • Choose File > New Project from the main menu.
    • In the New Projects wizard, select the samples > java category
    • Select the anagram game project.
    • Specify a location for the project and make sure the Set as Main Project property is selected. Click Finish
    • Run the project
    • Expected Result:The project runs successfully without any error.
  7. Debugging a sample project
    • Choose File > New Project from the main menu.
    • In the New Projects wizard, select the samples > java category
    • Select the anagram game project.
    • Specify a location for the project and make sure the Set as Main Project property is selected. Click Finish
    • Choose Debug > Main project
    • Check a new Debugger console opens up at the bottom and next to output.
    • Expected Result:The Debug runs successfully without any error.
  8. Profile the project
    • Choose File > New Project from the main menu.
    • In the New Projects wizard, select the samples > java category
    • Select the anagram game project.
    • Specify a location for the project and make sure the Set as Main Project property is selected. Click Finish
    • Make sure that AnagramGame is set as the main project.
    • Choose Profile > Profile Main Project from the main menu
    • Select Monitor in the Select Profiling Task dialog box
    • Click Run
    • Expected Result:The IDE launches the application and the Profiler window opens in the left pane of the IDE
  9. Create a web project with glassfish appserver and run
    • Choose File > New Project (Ctrl-Shift-N) from the main menu. Under Categories, select Java Web. Under Projects, select Web Application then click Next.
    • In Step 2, enter HelloWeb in the Project Name text box.
    • Specify the Project Location to any directory on your computer. For purposes of this tutorial, this directory is referred to as $PROJECTHOME.
    • (Optional) Select the Use Dedicated Folder for Storing Libraries checkbox and specify the location for the libraries folder. See Sharing Project Libraries for more information on this option.
    • Click Next. The Server and Settings panel opens. Select the version of Java EE you want to use with your application.
    • Select the server to which you want to deploy your application. Only servers that are registered with the IDE are listed. Note that the Context Path (i.e., on the server) becomes /HelloWeb, which is based on the name you gave the project in a previous step.
    • Click Next. In the Frameworks panel, click Finish to create the project.
    • Follow this steps to complete creating jsp page.
    • Run the project.
    • Expected Result:The project runs successfully and gets deployed in glassfish server and you can see the web page.
  10. Checking the version name
    • Choose help-> About from the main menu.
    • Check for the product version from the window and check whether it is the same which you see in the download page.
    • Expected Result: Download page,netbeans and installer should have the same version name.
  11. Run Uninstaller of netbeans in target language
    • Go to the netbeans installation folder.
    • Run uninstaller using the command. For ex:- ./uninstaller.sh --locale ja
    • Expected Result: Check the uninstaller runs in the native language and the messages shown in the installer are from the language given in the command.
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