Tests/Browse693: Difference between revisions

From OLPC
Jump to navigation Jump to search
(view source)
(View)
Line 17: Line 17:
Justification:
Justification:


Actions:
Actions (load page):
# Double click in the entry field at the top.
# Double click in the entry field at the top.
# Type the address of the page you want to load, then press enter.
# Type the address of the page you want to load, then press enter.
Verify:
Verify:
* That the reload button next to the entry field changes and the possible option is stop.
* That the reload button next to the entry field changes and the possible option is stop.
Actions:
Actions (stop loading):
# Load a page and while loading hit the stop button on the left to the entry field.
# Load a page and while loading hit the stop button on the left to the entry field.
Verify:
Verify:
* The loading of the page should stop.
* The loading of the page should stop.
Actions:
Actions (go back):
# Use the back button to go back to the previously loaded page
# Use the back button to go back to the previously loaded page
Verify:
* the previously loaded page is displayed


==Check text storage==
==Check text storage==
Line 41: Line 43:
Justification: [http://wiki.laptop.org/go/Browse#View_Source View Source]
Justification: [http://wiki.laptop.org/go/Browse#View_Source View Source]


Actions:
Actions (save):
# hit the "view source" shortcut (fn+space or ctrl+u).
# hit the "view source" shortcut (fn+space) or (ctrl+u).
Verify:
Verify:
* The source of the web page is saved to the datastore and the entry of this object in the journal will be displayed.
* The source of the web page is saved to the datastore and the entry of this object in the journal will be displayed.
* The title of the entry should be in the form: "Source: [Title]"
* The title of the entry should be in the form: "Source: [Title]"
Actions:
Actions (edit/view):
# resume the source entry with Write
# resume the source entry with Write
# change for example the title of the page and close Write
# change for example the title of the page and close Write
Line 73: Line 75:
Justification:
Justification:


Actions:
Actions (Zoom in/out):
# Click on the "View" tab
# Click on the "View" tab
# Press the + and - magnifying glass buttons to zoom in and out.
# Press the + and - magnifying glass buttons to zoom in and out.
# Use the shortcuts ctrl++ and ctrl+- to do the same action
# Use the shortcuts (ctrl++) and (ctrl+-) to zoom in and out
Verify:
Verify:
* That you can zoom in and out of a page
* That you can zoom in and out of a page using the buttons and the shortcuts
Actions:
Actions (Fullscreen):
# Fullscreen mode: hit the button in the View tab or use the shortcut (alt+enter)
*
# Normal mode: hit the floating button on the top right or use (alt+enter)
Verify:
* That the toolbox at the top and the tray at the bottom are hidden
* That the toolbox at the top and the tray at the bottom are shown
Actions (Show/Hide tray):
# Show the tray: hit the 'hide tray' button in the View tab or use the shortcut (alt+space)
# hide the tray: hit the 'show tray' button on the top right or use (alt+space)
Verify:
* That the tray at the bottom is hidden
* That the tray at the bottom is shown



==Name the Session==
==Name the Session==
Line 93: Line 106:
Verify:
Verify:
* The default name "Browse Activity" (step 1).
* The default name "Browse Activity" (step 1).
* That typing right after clicking the Activity tab overwrites the words "Write Activity" or the previous document name
* That typing right after clicking the Activity tab overwrites the words "Browse Activity" or the previous document name
* That the new name appears in the Journal
* That the new name appears in the Journal


Line 102: Line 115:
# Switch to the Activity tab.
# Switch to the Activity tab.
# Click the X button in the top right corner.
# Click the X button in the top right corner.
# You can use as well the shortcuts ctrl+q or ctrl+esc to quit the activity
# You can use as well the shortcuts (ctrl+q) or (ctrl+esc) to quit the activity
Verify:
Verify:
* That clicking the X button closes the Browse activity.
* That clicking the X button closes the Browse activity.

Revision as of 14:22, 18 February 2008


The Browse test case is trying to simulate an every day usage of this activity including sharing a session.

Open the Browse Activity

Justification: HIG for startup

Actions:

  1. Start the Browse activity by clicking on the corresponding icon on the taskbar.

Verify:

  • That the Browse icon is added to the activity donut.
  • That the Browse icon pulses to indicate the activity starting up.
  • That the Browse activity starts properly.
  • That the window shows the start page of the OLPC library, and defaults to the "Browse" tab.

Load a page

Justification:

Actions (load page):

  1. Double click in the entry field at the top.
  2. Type the address of the page you want to load, then press enter.

Verify:

  • That the reload button next to the entry field changes and the possible option is stop.

Actions (stop loading):

  1. Load a page and while loading hit the stop button on the left to the entry field.

Verify:

  • The loading of the page should stop.

Actions (go back):

  1. Use the back button to go back to the previously loaded page

Verify:

  • the previously loaded page is displayed

Check text storage

Justification: HIG

Actions:

  1. Switch to the journal.

Verify:

  • That an entry has been added for your Browse activity session.
  • That a preview of the page loaded last is properly displayed.

View Source

Justification: View Source

Actions (save):

  1. hit the "view source" shortcut (fn+space) or (ctrl+u).

Verify:

  • The source of the web page is saved to the datastore and the entry of this object in the journal will be displayed.
  • The title of the entry should be in the form: "Source: [Title]"

Actions (edit/view):

  1. resume the source entry with Write
  2. change for example the title of the page and close Write
  3. resume the entry with Browse again and check if the modified title is displayed fine

Verify:

  • That the modifications have been taken effect when you interpret the source with Browse. Note that only the source will be saved not the images included in a page. Your modified page will likely look slightly different than the one you see when you load it from the Internet.

Using Copy and Paste

Justification:

Actions:

  1. Choose a word you typed, and then click on the Edit tab.
  2. Press the Copy button or (ctrl c)
  3. Deselect your text and click somewhere else in the window.
  4. Press the Paste button or (ctrl p)
  5. Press the undo button or (ctrl z)

Verify:

  • That the Copy and Paste buttons become highlighted when you mouse over them and when you click them.
  • That your text deselects properly when you click away from it.
  • That your text appears properly where you clicked when you paste it.
  • That the text you just pasted goes away when the undo button is hit.


Using the View tools

Justification:

Actions (Zoom in/out):

  1. Click on the "View" tab
  2. Press the + and - magnifying glass buttons to zoom in and out.
  3. Use the shortcuts (ctrl++) and (ctrl+-) to zoom in and out

Verify:

  • That you can zoom in and out of a page using the buttons and the shortcuts

Actions (Fullscreen):

  1. Fullscreen mode: hit the button in the View tab or use the shortcut (alt+enter)
  2. Normal mode: hit the floating button on the top right or use (alt+enter)

Verify:

  • That the toolbox at the top and the tray at the bottom are hidden
  • That the toolbox at the top and the tray at the bottom are shown

Actions (Show/Hide tray):

  1. Show the tray: hit the 'hide tray' button in the View tab or use the shortcut (alt+space)
  2. hide the tray: hit the 'show tray' button on the top right or use (alt+space)

Verify:

  • That the tray at the bottom is hidden
  • That the tray at the bottom is shown


Name the Session

Justification:

Actions:

  1. Click the Activity tab.
  2. Type a new name for this Session.
  3. Click "Stop" to exit.
  4. Switch to the Journal

Verify:

  • The default name "Browse Activity" (step 1).
  • That typing right after clicking the Activity tab overwrites the words "Browse Activity" or the previous document name
  • That the new name appears in the Journal

Close the Browse activity

Justification:

Actions:

  1. Switch to the Activity tab.
  2. Click the X button in the top right corner.
  3. You can use as well the shortcuts (ctrl+q) or (ctrl+esc) to quit the activity

Verify:

  • That clicking the X button closes the Browse activity.
  • That the Browse icon disappears from the activity donut.

Resume a Session

Justification: HIG

Actions:

  1. Switch to the Journal.
  2. Find the entry for your Browse session.
  3. Either click on the 'direct launcher' at the right of the entry or
  4. Click on the entry and use the "Resume" button to resume the entry with the desired activity.

Verify:

  • That your entry in the Journal is still present and has updated the preview to indicate your new work.
  • That Resuming your Browse session opens Browse and loads the last session properly.

Collaboration

Justification: HIG

Actions:

  1. Go to the Activity tab
  2. Click the Share button in the upper right hand corner.
  3. Have another member of the local mesh join your activity.
  4. Switch back to the Write activity, then wait and see if the user you invited can make edits to it.

Verify:

  • That the user is able to join your shared Browse session
  • That the user is able to collaborate on the Browse session with you (create session Bookmarks).
  • That the user's icon is added to the right side of the frame (Friends frame). (when you press the view sidebars key)
  • That a Browse activity icon appears in the Neighborhood view, with your icon and the icon of the other user grouped around it