Tests/Write: Difference between revisions

From OLPC
Jump to navigation Jump to search
(write defaults to the text tab)
(fix cat)
 
Line 1: Line 1:
[[Category: Test plans]]
[[Category: Test Plans]]


The Abiword Test Case is supposed to simulate student writing a paper for a class. The paper contains the child's name and the date, a title, a few lines of text, an image, and a table.
The Abiword Test Case is supposed to simulate student writing a paper for a class. The paper contains the child's name and the date, a title, a few lines of text, an image, and a table.

Latest revision as of 05:39, 22 March 2008


The Abiword Test Case is supposed to simulate student writing a paper for a class. The paper contains the child's name and the date, a title, a few lines of text, an image, and a table.

Open the Write Activity

Justification: HIG for startup, self for remaining

Actions:

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

Verify:

  • That the Write icon is added to the activity donut.
  • That the Write icon pulses to indicate the activity starting up.
  • That the Write activity starts properly.
  • That the window is blank, and defaults to the "Text" tab.

Type your name and the date

Justification: http://wiki.laptop.org/go/Image:Activity_write_text.jpg, Self

Actions:

  1. Click somewhere in the body of the window.
  2. Type your name, then press enter. Type the date and press enter again.

Verify:

  • That the cursor becomes a text cursor when inside the text window.
  • That your position marker appears properly when you click and blinks.
  • That your text appears properly on the screen.
  • That the position marker adjusts its position as you type.
  • That a red underline appears under any words you have misspelled.

Check text storage

Justification: HIG

Actions:

  1. Switch to the journal.

Verify:

  • That an entry has been added for your Write activity session.
  • That a preview of the text you have written is properly displayed.

Type a title

Justification: http://wiki.laptop.org/go/Image:Activity_write_text.jpg, Self

Actions:

  1. Click the Text tab, then press the Center Align button and the Underline button.
  2. Select a font size 22 and DejaVu Sans as a font, then type a title for your paper. Hit Enter twice after that

Verify:

  • That the Text tab properly highlights and displays a new row of buttons as you click it.
  • That your text appears in the center of the screen, underlined, with the proper size and font.

Notes: Currently, the bold, italic and underline buttons become higlighted black when you mouse over them, obscuring the letters inside them. This doesn't seem right. Also, according to the image posted on the wiki page, every tab should be visible regardless of whether it is selected. However, right now, only the currently selected tab is visible - if you're trying to switch to another tab, you can't tell which one it is. Also, the alignment menu is completely black. The alignment visual indicators are only visible when you mouse over them. (ALL FIXED)

Type a paragraph

Justification: http://wiki.laptop.org/go/Image:Activity_write_text.jpg, Self

Actions:

  1. Select the Justified alignment.
  2. Switch back to 12 point font, DejaVu Serif, non-underlined font.
  3. Right click and open the Paragraph window, then select Double spacing from the spacing menu. Close the Paragraphs window.
  4. Type a few lines of text.

Verify:

  • That your text appears left aligned, in the proper size, font and style.
  • That right-clicking displays a submenu, and that clicking the Paragraph option properly opens the Paragraph window.
  • That the Spacing menu works properly.
  • That your text spaces out each line properly as the Justified alignment indicates, and that your lines are double spaced.

Using Copy and Paste

Justification: http://wiki.laptop.org/go/Image:Activity_write_edit.jpg, Self

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.

Inserting an Image

Justification: http://wiki.laptop.org/go/Image:Activity_write_image.jpg, Self

Actions:

  1. Switch to the Image tab and click the "Insert Image" button.
  2. Navigate through the directories and choose an image to insert. Click the Open button.
  3. Click on one of the 9 squares on the perimeter of the object to resize it, then click in the middle of the object and drag to move it.
  4. Type a label for your picture underneath it.

Verify:

  • That the "Image" tab changes the taskbar to a different set of buttons.
  • That the "Insert Picture" displays the Insert Picture window properly.
  • That pressing "Okay" causes the selected picture appears properly wherever your cursor was.
  • That your cursor changes to a pointing hand when you mouse over your picture and a 4-way arrow when you mouse over the perimeter of your picture.
  • That your picture moves properly when you drag it and resizes appropriately when you resize it.
  • That the label you make underneath your picture wraps around the image properly.

Making and Editing Tables

Justification: http://wiki.laptop.org/go/Image:Activity_write_table.jpg, Self

Actions:

  1. Click the "Table" tab.
  2. Click and hold down on the "Insert table" button, and drag down and to the right until you create a 3x3 table.
  3. Type something in the first field. Use the tab key to move through the other fields, adding info as you go, then use the mouse button to move back to the first field.
  4. Click the add rows button once.

Verify:

  • That the "Table" tab changes the taskbar to a different set of buttons when you click the "Table" button.
  • That a mini-spreadsheet appears as you hold down the button, starting as a 5v5, and adjusting as you drag, and that a spreadsheet of the dimensions you specified is produced when you let go.
  • That you are able to insert, select and edit text properly into the tables, and that tabbing through fields works properly.
  • That using the insert rows column inserts a row between the first and second rows.

Using the View tools

Justification: http://wiki.laptop.org/go/Image:Activity_write_view.jpg, Self

Actions:

  1. Type until you reach a new page, then type some text on the new page.
  2. Click the "View" tab.
  3. Press the + and - magnifying glass buttons to zoom in and out.
  4. Click the arrows on the page view indicator on the top taskbar to toggle between page 1 and page 2.

Verify:

  • That the "View" tab changes the taskbar to a different set of buttons when you click the View tab.
  • That the magnifying glass buttons properly alter the zoom percentage, and that the zoom percentage indicator upates to reflect the new percentage as it is changed.
  • That a page break line appears when you type past the first page.
  • That the page view tool properly allows you to switch between pages, and indicates the right page.

Name the Write activity

Justification: Self

Actions:

  1. Click the Activity tab.
  2. Type a new name for the document.
  3. Click in the text of the document to resume editing.
  4. Type some text.
  5. Click the "Edit" tab to return to the editing menu.
  6. Click the "Activity" tab again.
  7. Do NOT type a new name for the document.
  8. Click "Stop" to exit.
  9. Switch to the Journal

Verify:

  • That the "Activity" tab changes the taskbar to a different set of buttons when you click the "Activity" button.
  • That the default name "Write Activity" (step 1) or new name (step 6) is immediately highlighted.
  • That typing right after clicking the Activity tab overwrites the words "Write Activity" or the previous document name
  • That clicking in the document does not return to the "Edit" tab mode, but does allow text entry.
  • That clicking the Edit tab does return to editing mode.
  • That the new name appears in the Journal

Close the Write activity

Justification: Self

Actions:

  1. Switch to the Activity tab.
  2. Click the X button in the top right corner.

Verify:

  • That the "Activity" tab changes the taskbar to a different set of buttons when you click the "Activity" button.
  • That clicking the X button closes the Write activity.
  • That the Write icon disappears from the activity donut.

Resume working on a file

Justification: HIG

Actions:

  1. Switch to the Journal.
  2. Find the entry for your Write activity session. Click it.
  3. Click the "Resume" button.

Verify:

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


Using Undo and Redo

Justification: http://wiki.laptop.org/go/Image:Activity_write_edit.jpg, Self

Actions:

  1. Switch to the Edit tab.
  2. Press the Undo button until all of your work is undone.
  3. Press the Redo button until all of your work is redone.

Verify:

  • That the edit tab changes the taskbar to a different set of buttons when you click the edit tab.
  • That the Undo button undoes your actions properly, and in the right order, and that the screen is completely blank after you've finished Undoing.
  • That the Redo button redoes your actions properly, and in the right order, and that your file is restored to its previous state after you've finished Redoing.
  • That the Undo button becomes ghosted when nothing is left on the screen, and that the Redo button becomes ghosted when your file is restored to its previous state.

Collaboration

Justification: HIG

Actions:

  1. Click the Share button in the upper right hand corner.
  2. Have another member of the local mesh join your activity.
  3. 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 Write activity.
  • That the user is able to collaborate on the Write project with you.
  • That the user's icon is added to the right side of the frame. (when you press the view sidebars key)
  • That a Write activity icon appears in the Neighborhood view, with your icon and the other user's icon by it.