Tests/Write

From OLPC
< Tests
Revision as of 11:23, 21 June 2007 by Jfuhrer (talk | contribs)
Jump to: navigation, search

Write Activity Test Plan

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 "Activity" tab. ***

Type some text

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

Actions:

  1. Click somewhere in the body of the window.
  2. Type anything you like.
  3. Then, type a misspelled word.

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.

Edit your text's style and size

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

Actions:

  1. Select the text you just wrote by clicking and dragging around it.
  2. Click the "Text" tab at the top.
  3. Click the "B" icon to change the text to boldface.
  4. Click on the I and U icons as well to try different combinations of styles.
  5. Click on the size menu and scroll down it to select a size. Then, try typing your size in manually.

Verify:

  • That the "Text" tab appears properly, is clickable, and becomes highlighted when you click it.
  • That the taskbar changes to a different set of buttons when you click the "Text" tab.
  • That the text is selected properly.
  • That your cursor changes to a 4-way arrow when you mouse over selected text.
  • That the bold, italic and underline buttons become highlighted when you mouse over them. ***
  • That the bold, italic and underline buttons become highlighted gray when you select them.
  • That the text becomes bolded, italicized, or underlined properly as you switch the styles.
  • That your text is modified to the proper size when you change it, and that the size indicator updates itself accordingly.

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.

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.

Edit your text's color

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

Actions:

  1. Still with your text selected, click the color selector icon on the taskbar.
  2. Click the eyedropper icon in the lower left and eyedrop a color from the body of your text. If your default color was white, try eyedropping black from the text.
  3. Click a point inside the color triangle to change the color. Try clicking a point on the surrounding color wheel as well.
  4. Click the Hue field and adjust its value using the arrows, and then by typing in a new value in the Hue field.
  5. Do the same for the Saturation field, the Value field, and the Red, Green and Blue fields.
  6. Close the color editor by clicking the "OK" button.
  7. Open the color editor again and pick a new color.
  8. Click the cancel button.

Verify:

  • That the color editor icon becomes highlighted when you mouse over it and click on it.
  • That the window opens properly.
  • That the color values in the rectangle at the lower left match the values of the currently selected color.
  • That the eyedropper icon becomes highlighted when clicked, and that it properly obtains a new color when you use it.
  • That the color triangle can be clicked normally and alters the color accordingly.
  • That the arrow buttons alter their respective values properly, and that typing in fields changes their respective values properly and changes the cursor appropriately.
  • That the hue, saturation, value, and R/G/B values, when altered, will change the selected color appropriately.
  • That your text changes to the chosen color.
  • That your text reverts to the previously selected color when you click cancel.

Notes: Currently, the image for the color selector is broken.

Change your text's font

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

Actions:

  1. Without unselecting your text, click on the font selector bar on the upper taskbar.
  2. Scroll through and select a new font. Try a variety of different fonts.

Verify:

  • That the font selector menu becomes highlighted when you mouse over it and click on it.
  • That the font menu expands and displays properly when you click on it.
  • That you are able to scroll through the font menu and select a font.
  • That the font selector menu updates to the currently selected font properly.
  • That your text changes to the currently selected font properly.

Notes: Currently, the selected font is not visible until you change the font once.

Change your text's alignment

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

Actions:

  1. Deselect your text. Press enter somewhere in the middle of the body of your text to create two different lines of text.
  2. Click on the first line of text. Go to the alignment dropdown menu and scroll down to Center Align. Choose it.
  3. Click on the second line of text. Go to the alignment dropdown menu and scroll down to Right Align. Choose it.
  4. Now, delete the line break you made between line one and line two.

Verify:

  • That the default alignment is left align.
  • That the alignment dropdown menu becomes highlighted when you mouse over it.
  • That the alignment dropdown menu appears properly when you click it and allows you to select different alignments.
  • That each alignment's visual indicator becomes highlighted as you mouse over it.
  • That your lines become properly aligned when you select new alignments.
  • That each line's alignment ONLY applies to its own line (i.e., only the second line is right aligned, and only the first line is center aligned)
  • That, when the line break between line one and line two is deleted, everything becomes center aligned.

Notes: Currently, the alignment menu is completely black. The alignment visual indicators are only visible when you mouse over them.

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 three times.
  3. Press the Redo button three times.

Verify:

  • That the edit tab appears properly, is clickable, and becomes highlighted when you click it.
  • That the taskbar changes to a different set of buttons (undo, redo, copy, paste) when you click the edit tab.
  • That the Undo and Redo buttons are highlighted properly when you mouse over and them and when you click on them.
  • That the Undo button undoes your actions properly, and in the right order. After one click, your line break should reappear and the second line should be right aligned. After two clicks, the second line should be left aligned. After three clicks, the first line should be left aligned.
  • That the Redo button redoes your actions properly, and in the right order. After one click, the first line should be center aligned. After two clicks, the second line should be right aligned. After three clicks, the line break should disappear, and everything should be center aligned.
  • That the Redo button becomes ghosted after being clicked three times (or, once you are back up to your most recent action).

Using Copy and Paste

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

Actions:

  1. Select your text.
  2. Press the Copy button.
  3. Deselect your text and click somewhere else in the window.
  4. Press the Paste button.

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.

Notes: This is currently broken. Paste does not work.

Inserting an Image

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

Actions:

  1. Switch to the Image tab.
  2. Click the "Insert Image" button.
  3. Navigate through the directories and choose an image to insert. If you know an image's location, try typing it manually in the Location field.
  4. Press the Open button.
  5. Click in the middle of your image and drag to move the image .
  6. Click one of the 9 squares on the perimeter and drag to resize the image.
  7. While still selecting your picture, press the erase key.

Verify:

  • That the "Image" tab appears properly, is clickable, and becomes highlighted when you click it.
  • That the taskbar changes to a different set of buttons when you click the "Image" button.
  • That the "Insert Picture" button becomes highlighted when you mouse over it and when you click on it.
  • That the "Insert Picture" window appears properly when you click the "Insert Picture" button.
  • That you are able to use the scrollbars and properly select an image to insert with the "Insert Picture" window.
  • That the selected picture appears properly wherever your cursor was.
  • That your cursor changes to a pointing hand when you mouse over your picture.
  • That your cursor changes to a 4-way arrow when you mouse over the perimeter of your picture.
  • That your picture moves properly when you drag it.
  • That your picture resizes appropriately when you resize it.
  • That your picture is deleted properly when you press the erase key.

Notes: Currently, the images tab is far more limited than the one displayed in the wiki. The only option available is Insert Picture. Also, the Insert Picture button becomes highlighted black when you mouse over it, obscuring the icon. Additionally, the "Help" button in the Insert Picture window doesn't do anything.

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, then use the mouse to move through fields as well.
  4. Tab to the last field, then press tab again.
  5. Click the add rows button twice. Then, click the delete rows button twice.
  6. Click the add columns button twice. Then, click the delete columns button twice.

Verify:

  • That the "Table" tab appears properly, is clickable, and becomes highlighted when you click it.
  • That the taskbar changes to a different set of buttons when you click the "Table" button.
  • That "Insert table" button becomes highlighted when you mouse over it, and when you click it.
  • That a mini-spreadsheet appears as you hold down the button, starting as a 5v5, and adjusting as you drag.
  • That a spreadsheet is produced that has the dimensions you specified.
  • That you are able to insert, select and edit text properly into the tables.
  • That tabbing properly moves you through the fields.
  • That new rows are generated when you tab past the last current row ***
  • That using the insert/delete rows/columns buttons will properly add or remove rows or columns.
  • That any data in a field is removed if the row or column it is is deleted.

Notes: The options for the Table tab also seem to be pretty limited compared to the image on the wiki - only Insert Row, Remove Row, Insert Column, and Remove Column are present. Also, it's not clear whether it's intentional that tabbing past the end of a table will generate new rows. Normally, in a spreadsheet, this would bring you back to the beginning.

Using the View tools

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

Actions:

  1. Click the "View" tab.
  2. Press the + magnifying glass button on the top taskbar to zoom in.
  3. Use the - magnifying glass button on the top taskbar to zoom out.
  4. Use the arrow keys next to the zoom level indicator to move it up and down, then type a new zoom percentage in the appropriate field.
  5. Type until you reach a new page.
  6. Type some text on the new page.
  7. 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 appears properly, is clickable, and becomes highlighted when you click it.
  • That the taskbar changes to a different set of buttons when you click the "View" button.
  • That the magnifying glass buttons become properly highlighted as you mouse over them and when you click on them.
  • 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 you are able to properly change the zoom level by using the arrow keys and by typing.
  • 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.

Notes: Once again, the list of available options for View is very limited compared to the wiki image. Also, page view appears to be broken - I can't switch pages with it. It does indicate the page I'm viewing so long as I click on the page first, though.

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 appears properly, is clickable, and becomes highlighted when you click it.
  • That the taskbar changes to a different set of buttons when you click the "Activity" button.
  • That the X button becomes highlighted properly as you mouse over it and as you click it.
  • That the activity closes properly.
  • 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.


I didn't include more advanced features like the Paragraph settings and most of the other stuff that's accessible from the right click menu, but I can add those if needed.