Tests/Activity/Analyze: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 10: Line 10:
|testcase_setup=n/a
|testcase_setup=n/a
|testcase_procedure=<br />
|testcase_procedure=<br />

# Activity installs from download (if not part of default installation) from website or USB key
== Basic ==
# Activity starts up

# You can re-name the activity
This checks for basic Sugar Activity functionality.
# User specific data can be created

# You can force a save
# Activity closes properly from inside the activity
# Start the Activity from the Journal.
# Rename the session (change the name in the top left from "Analyze Activity" to something else).
# You can resume the activity from the Journal
# Stop the Activity by clicking on the "Stop" button
# You see the user specific data after resume
# Go to your Journal and look for the saved Activity session.
# You can close the activity from the Sugar frame

'''Pass criteria: The Activity starts and stops when you tell it to, and the session has been saved in your Journal under the name you chose.'''

# Resume the Activity from your Journal.
# Stop the Activity by typing Ctrl-Q.

'''Pass criteria: The Activity resumes and stops when you tell it to.'''

# Start the Activity from Home view.
# Stop the Activity by bringing up the Frame (hit the Frame key on your XO or type Ctrl-F in your emulator), hovering over the Analyze Activity icon, and clicking on "Stop" in the drop-down.

'''Pass criteria: The Activity resumes and stops when you tell it to.'''

== Network Status ==

This checks that the Network Status interface is displaying accurate information.

The first thing we will check is that the interface name, IP address, netmask, and MAC address match up with what the XO is actually connected to. Open [[Terminal]] Activity and type the following line (then press Enter).

<code>
ifconfig | less
</code>

You'll see something that looks like this. Note that your screen will not look exactly like this as this screenshot was taken in an emulator. Check that the [http://en.wikipedia.org/wiki/IP_address IP address] (red), [http://en.wikipedia.org/wiki/Netmask netmask] (purple), and [http://en.wikipedia.org/wiki/Mac_address MAC address] (blue) match up with the interface name (green) they're displayed under in the Analyze activity.

[[Image:Analyze-activity-ifconfig.png]]

(To find out more about what this command does, see [http://en.wikipedia.org/wiki/Ifconfig the Wikipedia entry on ifconfig]. The ''less'' part allows us to scroll up and down with our arrow keys in the case of output that is longer than our screen.)

The next thing you'll want to do check bytes and packets received and sent, and make sure those numbers match as well. You'll have to open a file, /proc/net/dev, which is where Analyze gets the rest of its information for. To do this, go back to [[Terminal]] Activity and type the following line (then press Enter).

<code>
nano /proc/net/dev
</code>

(To find out more about what the ''nano'' command does, see the [http://www.nano-editor.org/ nano editor homepage].)

You'll see something that looks like this. Note that your screen will not look exactly like this as this screenshot was taken in an emulator. Check that the numbers for bytes sent and received and packets sent and received (circled in red) match up with what the Analyze Activity is telling you. Type Ctrl-X in Terminal to exit from reading the /proc/net/dev file when you're done.

[[Image:Analyze-activity-proc-net-dev.png]]

'''Pass criteria: bytes sent, bytes received, packets sent, and packets received in /proc/net/dev and the Analyze activity match up.'''

}}
}}
{{Test results begin}}
{{Test results begin}}

Revision as of 20:41, 22 October 2008

Test case: Short name::Analyze Activity
How to report results

Stream ,|x|Build stream::x}}
Category Test category::Activity Sub-category Test subcategory::Analyze
Component System component::Analyze
Feature System feature::http://wiki.laptop.org/go/Analyze
Objective Test objective::basic functional test
Tools Test tools::n/a
Setup Test setup::n/a
Procedure [[Test procedure::

Basic

This checks for basic Sugar Activity functionality.

  1. Start the Activity from the Journal.
  2. Rename the session (change the name in the top left from "Analyze Activity" to something else).
  3. Stop the Activity by clicking on the "Stop" button
  4. Go to your Journal and look for the saved Activity session.

Pass criteria: The Activity starts and stops when you tell it to, and the session has been saved in your Journal under the name you chose.

  1. Resume the Activity from your Journal.
  2. Stop the Activity by typing Ctrl-Q.

Pass criteria: The Activity resumes and stops when you tell it to.

  1. Start the Activity from Home view.
  2. Stop the Activity by bringing up the Frame (hit the Frame key on your XO or type Ctrl-F in your emulator), hovering over the Analyze Activity icon, and clicking on "Stop" in the drop-down.

Pass criteria: The Activity resumes and stops when you tell it to.

Network Status

This checks that the Network Status interface is displaying accurate information.

The first thing we will check is that the interface name, IP address, netmask, and MAC address match up with what the XO is actually connected to. Open Terminal Activity and type the following line (then press Enter).

ifconfig]]

Expected Results
and Pass Criteria
Pass criteria::
Comments More notes::
Release Stream Build Pass/Fail Trac Ticket(s) Comment(s) Date of Test
Software release::Candidate Build stream::8.2 Build number::763 PassFail::Pass ,|x| #x}} Comments::analyze-v5 Created::




Olpc-testing-logo.png Community Testing


Activity of the Week
Olpc-testing-logo.png