Tests/Browse693: Difference between revisions
Line 59: | Line 59: | ||
Justification: |
Justification: |
||
Action (Copy text from Browse to Write using the clipboard): |
|||
Actions: |
|||
# Highlight text on a page and use (ctrl+c) to copy it. (The frame will show up shortly containing the new text entry) |
|||
# Choose a word you typed, and then click on the Edit tab. |
|||
# Drag it into a Write document |
|||
# Press the Copy button or (ctrl c) |
|||
# Use the 'Open' menu entry of the clipboard entry to open it with Write |
|||
# Deselect your text and click somewhere else in the window. |
|||
# Use (ctrl+v) to paste it into Write |
|||
# Press the Paste button or (ctrl p) |
|||
# Press the undo button or (ctrl z) |
|||
Verify: |
Verify: |
||
* That the Frame shows up shortly |
|||
* That the Copy and Paste buttons become highlighted when you mouse over them and when you click them. |
|||
* That |
* That the text is copied into Write |
||
* 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. |
|||
Action (Open an url from Chat in Browse): |
|||
# Type an url (e.g. dev.laptop.org) in the Chat activity |
|||
# Hover over the entry and use the menu entry 'Copy to Clipboard' to add it to the clipboard |
|||
# Use 'Open' in the clipboard entry to start another Browse instance with this link |
|||
Verify: |
|||
* The clipboard entry gets created |
|||
* The desired page is loaded fine in Browse |
|||
Action (Open an url from Write in Browse): |
|||
# In Write type in an url (e.g. dev.laptop.org) and copy it using (ctrl+c) (this will create another clipboard entry) |
|||
# Use (ctrl+v) in the navigator entry of Browse to paste the url |
|||
Verify: |
|||
* The clipboard entry gets created |
|||
* You can paste the url into the navigator entry in Browse |
|||
Action (Copy text from Write to Browse): |
|||
You can copy any text using the shortcut combination (ctrl+c) and (ctrl+v) from Write to the Browse activity. |
|||
# In Write highlight your desired text and use (ctrl+c) to copy the text (this will create another clipboard entry) |
|||
# Use (ctrl+v) to paste the text in Browse. (For example paste the text in a wiki page (e.g. http://en.wikipedia.org/wiki/Wikipedia:Sandbox)) |
|||
Verify: |
|||
* The clipboard entry gets created |
|||
* You can paste the text into Browse |
|||
==Using the View tools== |
==Using the View tools== |
Revision as of 15:59, 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:
- 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):
- Double click in the entry field at the top.
- 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):
- 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):
- Use the back button to go back to the previously loaded page
Verify:
- the previously loaded page is displayed
Check session storage
Justification: HIG
Actions:
- Switch to the journal (you can use the magnifier key on the keyboard for that).
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):
- 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):
- resume the source entry with Write
- change for example the title of the page and close Write
- 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:
Action (Copy text from Browse to Write using the clipboard):
- Highlight text on a page and use (ctrl+c) to copy it. (The frame will show up shortly containing the new text entry)
- Drag it into a Write document
- Use the 'Open' menu entry of the clipboard entry to open it with Write
- Use (ctrl+v) to paste it into Write
Verify:
- That the Frame shows up shortly
- That the text is copied into Write
Action (Open an url from Chat in Browse):
- Type an url (e.g. dev.laptop.org) in the Chat activity
- Hover over the entry and use the menu entry 'Copy to Clipboard' to add it to the clipboard
- Use 'Open' in the clipboard entry to start another Browse instance with this link
Verify:
- The clipboard entry gets created
- The desired page is loaded fine in Browse
Action (Open an url from Write in Browse):
- In Write type in an url (e.g. dev.laptop.org) and copy it using (ctrl+c) (this will create another clipboard entry)
- Use (ctrl+v) in the navigator entry of Browse to paste the url
Verify:
- The clipboard entry gets created
- You can paste the url into the navigator entry in Browse
Action (Copy text from Write to Browse): You can copy any text using the shortcut combination (ctrl+c) and (ctrl+v) from Write to the Browse activity.
- In Write highlight your desired text and use (ctrl+c) to copy the text (this will create another clipboard entry)
- Use (ctrl+v) to paste the text in Browse. (For example paste the text in a wiki page (e.g. http://en.wikipedia.org/wiki/Wikipedia:Sandbox))
Verify:
- The clipboard entry gets created
- You can paste the text into Browse
Using the View tools
Justification:
Actions (Zoom in/out):
- Click on the "View" tab
- Press the + and - magnifying glass buttons to zoom in and out.
- 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):
- 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
Justification:
Actions:
- Click the Activity tab.
- Type a new name for this Session.
- Click "Stop" to exit.
- 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:
- Switch to the Activity tab.
- 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
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:
- Switch to the Journal.
- Find the entry for your Browse session.
- Either click on the 'direct launcher' at the right of the entry or
- 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:
- Go to the Activity tab
- Click the Share button in the upper right hand corner.
- Have another member of the local mesh join your activity.
- 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