Tests/Browse 690: Difference between revisions
(I want Browse on my fram because I am use to browse) |
|||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{merge|Tests/Activity/Browse}} |
|||
Sources |
|||
[[Category: Test Plans]] |
|||
The Browse test case is trying to simulate an every day usage of this activity including sharing a session. |
|||
* [[OLPC Human Interface Guidelines]] |
|||
* [[Browse]] |
|||
* [[User Stories Testing]] |
|||
==Open the activity== |
|||
Justification: [[HIG]] for startup |
|||
Actions: |
|||
==Test Cases / Results== |
|||
# start the Browse activity by clicking on the corresponding icon on the taskbar. |
|||
Verify: |
|||
* that the Browse icon is added to the activity doughnut. |
|||
* 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. |
|||
8 that the Browse come upm your fram |
|||
==Load a page== |
|||
{| border=1 cellspacing=2 cellpadding=2 |
|||
Justification: |
|||
|- style="background:lightgray" |
|||
! Action !! Result |
|||
|- style="background:lightgray" |
|||
| This is what a successful test looks like. || <span style="color:green">pass</span> |
|||
|- style="background:lightgray" |
|||
| This is what a failed test looks like. || <span style="color:red">fail, [http://dev.laptop.org/ticket/1 bug report]</span> |
|||
|- |
|||
|colspan="2"| '''Start the Browse activity''': click on the activity icon. |
|||
|- |
|||
| The icon appears in the activity donut, and pulses during activity startup. || - |
|||
|- |
|||
| The activity opens properly. || - |
|||
|- |
|||
| colspan="2"|'''Visit some URLS''': |
|||
|- |
|||
| Google Calendar || - |
|||
|- |
|||
| iGoogle || - |
|||
|- |
|||
| http://www.radioblogclub.com || - |
|||
|- |
|||
| http://ds9.ssl.berkeley.edu/auroras || - |
|||
|- |
|||
| http://www.flash-game.net || - |
|||
|- |
|||
| http://www.petloveshack.com/tideshow2.html || - |
|||
|- |
|||
| Try a secure web page (https) || - |
|||
|- |
|||
|colspan="2"| '''Closing the activity''': click the X in the upper-right-hand corner of the activity. |
|||
|- |
|||
| The activity closes properly. || - |
|||
|- |
|||
| The icon disappears from the activity donut. || - |
|||
|- |
|||
|colspan="2"| '''Journal functionality''': open the journal activity. |
|||
|- |
|||
| A journal entry for the previous activity session appears. || - |
|||
|- |
|||
| Clicking on the journal entry restores the activity to appropriate URL. || - |
|||
|- |
|||
|colspan="2"| '''Browser Back/Forward Button''': Go back and forward. |
|||
|- |
|||
| Goto a webpage and click on a couple of links || - |
|||
|- |
|||
| Use the Back arrow to go back to the home page || - |
|||
|- |
|||
| Use the Forward arrow to go forward one page || - |
|||
|- |
|||
|colspan="2"| '''Reload Page''': Reload a page. |
|||
|- |
|||
| Type in a url; and click on a link. || - |
|||
|- |
|||
| Click on the reload button. || - |
|||
|- |
|||
|colspan="2"| '''Save a bookmark''' |
|||
|- |
|||
| Type in a url; wait for page to load. click on star to save url || - |
|||
|- |
|||
| Click various links. Then click on the saved book mark || - |
|||
|- |
|||
| Close the browser. Goto the journal and resume this browser session || - |
|||
|- |
|||
| Click on the bookmark to resume session. || - |
|||
|- |
|||
|colspan="2"| '''Share a bookmark''': share with neighborhood |
|||
|- |
|||
| Type in a URL to browse to a site. Click on the pulldown to share with neighborhood || - |
|||
|- |
|||
| Open the shared browser link from a second XO. || - |
|||
|- |
|||
| Click on the 'star' to save the link. It should show up in both XO bookmark frames || - |
|||
|- |
|||
|colspan="2"| '''Copy text from Browse to Write using the clipboard''' |
|||
|- |
|||
| From a webpage, highlight text and use ctrl+c to copy it || - |
|||
|- |
|||
| The clipboard will show up shortly containing the new text entry ||- |
|||
|- |
|||
| Drag it into a Write doc or use the 'Open' menu entry of the clipboard entry to open it. || - |
|||
|- |
|||
|colspan="2"| '''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. ||- |
|||
|- |
|||
|colspan="2"| '''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 as well)||- |
|||
|- |
|||
| Use ctrl+v in the navigator entry of Browse to paste in the url || - |
|||
|- |
|||
|colspan="2"| '''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 a wiki page (e.g. http://en.wikipedia.org/wiki/Wikipedia:Sandbox) || - |
|||
|- |
|||
|colspan="2"| '''View Source''' |
|||
|- |
|||
| Press the "view source" key ('''fn+space or ctrl+u'''). the source of the web page is saved to the datastore and can be accessed with the journal ||- |
|||
|- |
|||
| check that there is an entry of the format "Source: [Title]" in the journal || - |
|||
|- |
|||
| resume the source entry with write || - |
|||
|- |
|||
| change for example the title of the web page and close write || - |
|||
|- |
|||
| resume the entry with browse again and check if the modified title is displayed fine || - |
|||
|- |
|||
| If you want to do further testing you can load the following sites and ensure that the international characters are displayed correctly. || - |
|||
|- |
|||
| http://home.jp.netscape.com/zh/hk/ || - |
|||
|- |
|||
| http://home.jp.netscape.com/ja/ || - |
|||
|- |
|||
| http://home.jp.netscape.com/ko/ || - |
|||
|- |
|||
| http://home.jp.netscape.com/fr/ || - |
|||
|- |
|||
| http://home.jp.netscape.com/da/ || - |
|||
|- |
|||
|colspan="2"| '''Popups''' |
|||
|- |
|||
| We do allow wanted popups (user clicks on link) and display it in the same window. You can go back to the old page with the normal navigation. || - |
|||
|- |
|||
| Testpage: http://dev.laptop.org/~erikos/wanted.html ||- |
|||
|- |
|||
| And we block unwanted popups (e.g. that is opened when you enter a page for example) ||- |
|||
|- |
|||
| Testpage: http://dev.laptop.org/~erikos/unwanted.html ||- |
|||
|- |
|||
|colspan="2"| '''Close the Browser''' |
|||
|- |
|||
| Close the browser using the 'X' button in upper right || - |
|||
|} |
|||
Actions (load page): |
|||
[[Category: Test plans]] |
|||
# 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 (back/forward button): |
|||
# load page and click on a couple of links |
|||
# use the back button palette to select a previously visited page |
|||
# use the forward button palette to select a previously visited page |
|||
Verify: |
|||
* you can go back and forth in the browsing history |
|||
Actions (reload page): |
|||
# load a page that changes often (e.g. newsticker) |
|||
# use the reload button to update the page |
|||
Verify: |
|||
* the page contains the new data |
|||
==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: [http://wiki.laptop.org/go/Browse#View_Source 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. |
|||
==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 the 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 |
|||
==Download a file== |
|||
Justification: http://wiki.laptop.org/go/Browse#Downloads |
|||
Actions: |
|||
# Download a file and resume it with an activity |
|||
# Cancel a download of a big file in the journal |
|||
Verify: |
|||
* The behavior should be like described here: http://wiki.laptop.org/go/Browse#Downloads |
|||
==Install an activity== |
|||
Justification: http://wiki.laptop.org/go/Browse#Install_an_activity |
|||
Actions: |
|||
# Download an activity (i.e. http://wiki.laptop.org/go/Moon) |
|||
# Launch the activity |
|||
Verify: |
|||
* the journal entry should get created |
|||
* you should be able to launch it |
|||
The behavior should be like described here: http://wiki.laptop.org/go/Browse#Install_an_activity |
|||
==Test Popups== |
|||
Action: |
|||
# load http://dev.laptop.org/~erikos/wanted.html |
|||
Verify: |
|||
* We do allow wanted popups (user clicks on link) and display it in the same window. You can go back to the old page using the back button. |
|||
Action: |
|||
#load http://dev.laptop.org/~erikos/unwanted.html |
|||
Verify: |
|||
* Unwanted popups are blocked by design. (e.g. a popup that is opened when you load a page for example) |
|||
Unfortunately, blocking all of these latter popups, also blocks security warnings, requests to accept security certificates, etc. In my case, I can't get onto my University wireless network because Browse will not display the pop-up asking me to accept the certificate to go to the page where I enter my login details to get onto the wireless network. I get around this by connecting through Opera. |
|||
==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 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 doughnut. |
|||
==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 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 |
Latest revision as of 20:46, 21 August 2009
The Browse test case is trying to simulate an every day usage of this activity including sharing a session.
Open the 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 doughnut.
- 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.
8 that the Browse come upm your fram
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 (back/forward button):
- load page and click on a couple of links
- use the back button palette to select a previously visited page
- use the forward button palette to select a previously visited page
Verify:
- you can go back and forth in the browsing history
Actions (reload page):
- load a page that changes often (e.g. newsticker)
- use the reload button to update the page
Verify:
- the page contains the new data
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.
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 the 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
Download a file
Justification: http://wiki.laptop.org/go/Browse#Downloads
Actions:
- Download a file and resume it with an activity
- Cancel a download of a big file in the journal
Verify:
- The behavior should be like described here: http://wiki.laptop.org/go/Browse#Downloads
Install an activity
Justification: http://wiki.laptop.org/go/Browse#Install_an_activity
Actions:
- Download an activity (i.e. http://wiki.laptop.org/go/Moon)
- Launch the activity
Verify:
- the journal entry should get created
- you should be able to launch it
The behavior should be like described here: http://wiki.laptop.org/go/Browse#Install_an_activity
Test Popups
Action:
Verify:
- We do allow wanted popups (user clicks on link) and display it in the same window. You can go back to the old page using the back button.
Action:
Verify:
- Unwanted popups are blocked by design. (e.g. a popup that is opened when you load a page for example)
Unfortunately, blocking all of these latter popups, also blocks security warnings, requests to accept security certificates, etc. In my case, I can't get onto my University wireless network because Browse will not display the pop-up asking me to accept the certificate to go to the page where I enter my login details to get onto the wireless network. I get around this by connecting through Opera.
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 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 doughnut.
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 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