TS 60 MobilityScreenDesigner

Screen Design Test Specification

Author: Fabiola Galleros Rios
Version: 3.0.0
Lastupdate: 20.06.2007
Introduction: Verify the behavior of Screen Design Area

Contents

Test suite: Edit Screen

Purpose: Verify functionality of Screen Designer
Setup: Open some visual MIDlet of MIDP application.

  1. Edited Screen
    1. Invoke View | Editors | Screen from main menu.
    • EXPECTED RESULT: It displays the screen in the Screen Designer. Selection has to be synchronized with the selection in the Navigator Window window and Property Sheet.


Test suite: Commands

Purpose: Verify behavior of Commands dragged and dropped in the Screen Device area
Setup: Open some MIDP application with different Screens with some commands already set.

  1. Command components
    1. Drag&Drop all Commands from the component palette to different Screens (to switch a screen, choose one from a combobox in right upper part) in Screen Design.
    • EXPECTED RESULT: The Commands have to appear in the Assigned Commands Area in Screen Design panel. Flow Design will display the commands in the right side of the Screen. The Navigator Window will displays all Commands that have been added to the Screen in a tree formation.


Test suite: Form Items

Purpose:
Verify that the FormItems only can be added in FormScreen Setup:

  1. Form Items
    1. Drag&Drop each Form Item from the component palette to the Form Screen.
    2. Drag&Drop each Form Item from the component palette to the TextBox,List,Alert,SplashScreen,WaitScreen screens and background in Screen Device.
    • EXPECTED RESULT: Action 1: The Form Items have to appear in the Navigator Window. The Navigator Window will displays all Form Items that have been added to the Form Screen in a tree formation.Action 2: The action must be denied for each Alert, List, TexBox,SplashScreen, WaitScreen,PIMBrowser,FileBrowser,Login Screen,SMScomposer screens.


Test suite: Resources

Purpose:
Verify Resourses behavior Setup:
Set all the Form Items in the Form Screen

  1. Font Resource
    1. Drag&Drop Font Resource from the component palette to the Screens (TextBox,List,Alert,WaitScreen,SplashScreenPIMBrowser,FileBrowser,Login Screen,SMScomposer) in Screen Device.
    2. In the Form Screen drag&drop Font Resource from the component palette to each Form Item in Screen Device.
    • EXPECTED RESULT: Action 1: The action must be denied for the Screens (TextBox,List,Alert,WaitScreen,SplashScreen,PIMBrowser,FileBrowser,Login Screen,SMScomposer) in Screen Design. Action 2: The action must be denied for the all the Form Items EXCEPT for "StringItem" in Screen Device.
  2. Image Resource
    1. In the Form Screen drag&drop Image Resource from the component palette to each Form Item in Screen Device.
    2. Drag&Drop Image Resource from the component palette to the Screens (TextBox,List,Alert,PIMBrowser,FileBrowser,Login Screen,SMScomposer) in Screen Device.
    3. Drag&Drop Image Resource from the component palette to the WaitScreen and SplashScreen Screens in Screen Device.
    • EXPECTED RESULT: Action 1: The action must be denied for the all the Form Items EXCEPT for "ImageItem" in Screen Design.The Navigator Window will displays the Image Resource that has been added to the Screen Design in a tree formation. Action 2: The action must be denied for the Screens (TextBox,List,Alert) in Screen Design. Action 3: The action must be allow for these Screens. The Navigator Window will displays all the Image Resources that have been added to the Screen Design in a tree formation.
  3. Ticker Resource
    1. Drag&Drop Ticker Resource from the component palette to the Screens (Form,TextBox,List,Alert,WaitScreen,SplashScreen,PIMBrowser,FileBrowser, Login Screen,SMScomposer) in Screen Device.
    • EXPECTED RESULT: Ticker Resource have to appear for each Screen (Form,TextBox,List,Alert,WaitScreen and SplashScreen) in Screen Design.The Navigator Window will displays all the Ticker Resources that have been added to the Screen Design in a tree formation.
  4. SimpleTableModel Resource
    1. In the Form Screen drag&drop SimpleTableModel Resource from the component palette to each Form Item in Screen Device.
    2. Drag&Drop SimpleTableModel Resource from the component palette to the Screens (Form,TextBox,List,Alert,WaitScreen,SplashScreen,PIMBrowser,FileBrowser,Login Screen,SMScomposer) in Screen Design.
    • EXPECTED RESULT:The action must be denied for the all the Form Items EXCEPT for "TableItem" in Screen Design.The Navigator Window will displays all the SimpleTableModel Resource that has been added to the Screen Design in a tree formation. Action 2:The action must be denied for all the Screens.
  5. SimpleCancellableTask Resource
    1. Drag&Drop SimpleCancellableTask Resource from the component palette to the Screens (Form,TextBox,List,Alert,WaitScreen, SplashScreen,PIMBrowser,FileBrowser,Login Screen,SMScomposer) in Screen Device.
    • EXPECTED RESULT:The action must be denied for the all the Screens EXCEPT for "WaitScreen" in Screen Design. The Navigator Window will displays the SimpleCancellableTask Resource that has been added to the Screen Design in a tree formation.


Test suite: Elements

Purpose:
Setup:

  1. List Element
    1. Drag&Drop List Element from the component palette to List Screen in Screen Device.
    2. Drag&Drop List Element from the component palette to Form,TextBox,Alert Screens and background in Screen Device.
    • EXPECTED RESULT: The List Element have to appear in the Screen Design .The Navigator Window will displays all List Elements that have been added to the List Screen in a tree formation.The action must be denied for each Alert, List, TexBox Screens in the Screen Design
  2. Choice Element
    1. Drag&Drop Choice Element from the component palette to each Screen (Form,TextBox,List,Alert) and background in Screen Device.
    2. Drag&Drop Choice Element from the component palette to ChoiceGroup ( in Form Screen) in Screen Design.
    3. Drag&Drop Choice Element from the component palette to Form Item (Gauge,Spacer,ImageItem, StringItem,TextField,DateField) in Screen Design.
    • EXPECTED RESULT: The action must be denied for every Screen in the Screen Design. The Choice Element have to appear in the Form Screen in Screen Design. The Navigator Window will displays all Choice Elements that have been added to the Choice Group in a tree formation. The action must be denied for Gauge,Spacer,ImageItem, StringItem,TextField,DateField, Form Items in the Screen Device.


Test suite: Flow

Purpose:
Setup:

  1. Flow category components
    1. Drag&Drop each Flow category components (If,Switch, Switch case, Call point, Entry Point and List action) from the component palette to the Screens (Form,TextBox,List,Alert,WaitScreen, SplashScreen,PIMBrowser,FileBrowser,Login Screen,SMScomposer) in Screen Device.
    • EXPECTED RESULT:The action must be denied for the ALL the Screens on Screen Design. These components are exclusive for Flow Design Area except for Previous Screen which should be available in the Screen Designer


Test suite: Assigned Resources Area

Purpose:
Verify the behavior of Assigned Resources Area Setup:

  1. Assigned Commands
    1. Drag&Drop Commands from the component palette to different Screens in Screen Design.
    • EXPECTED RESULT:The The Commands have to appear in the Assigned Commands Area in Screen Design panel. Flow Design will display the commands in the right side of the component.The Navigator Window will displays all Commands that have been added to the FormItems in a tree formation.
  2. Assigned Item Commands
    1. In Form Screen Drag&Drop Commands from the Component palette to different FormItems (e.g. StringItem,TextField).
    2. Drag&Drop Choice Element from the component palette to ChoiceGroup ( in Form Screen) in Screen Device.
    3. Drag&Drop Choice Element from the component palette to Form Item (Gauge,Spacer,ImageItem, StringItem,TextField,DateField) in Screen Device.
    • EXPECTED RESULT:The Commands have to appear in the Assigned Item Commands area in Screen Design panel. Flow Design will NOT display the commands in the right side of the component. The Navigator Window will displays all Commands that have been added to the FormItems in a tree formation.
  3. Assigned Resources
    1. Drag&Drop Resources from the component palette to differencomponents in Screen Device (e.g. StringItem,TextField).
    • EXPECTED RESULT:The The Resources have to appear in the Assigned Resources Area in Screen Design panel. Flow Design will NOT display the resources in the right side of the component.The Navigator Window will displays all Resources that have been added to the components in a tree formation.NOTE: This testcase have to follow the steps of Testsuit Resources to get results.

}}
}}

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