QA:Testcase KDE4 Session management

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
|description=shutdown, reboot, lock, suspend, resume, user switch
+
|description=Test case covers operations with KDE4 session like Screen Lock, Login and Logout, Switch user and system/machine like Shut down, Restart, Suspend and Resume.
|setup=Login to KDE session.
+
|setup=Boot Fedora to KDE4 desktop.
 
|actions=
 
|actions=
Be as specific as required for the target audience.  
+
# Click on "Fedora icon on Panel" to show Launcher.
# Start here ...
+
# Select "Leave" tab in Launcher.
# Next do this ...
+
# Run all session and system management commands (only one each time):
# Finally click that
+
## Screen Lock and unlock (no password)
 +
## Logout and login back
 +
## Shut down
 +
## Restart
 +
## Sleep and resume.
 +
# Switch user
 +
## Click on "New Session" and Choose "Start New Session"
 +
## Login as user "liveuser" (no password)
 +
## Switch between different KDE4 sessions using "Ctrl + Alt + F1" and "Ctrl + Alt + F2".
 +
## Try to unlock session on "Ctrl + Alt + F1" and switch between both sessions. Start different set of application on each session.
 +
## Try to logout from first session on "Ctrl + Alt + F1" and switch to second session "Ctrl + Alt + F2".
 +
## Logout from second session.
 
|results=
 
|results=
The following must be true to consider this a successful test run. Be brief ... but explicit.  
+
# Launcher shows.
# Step #1 completes without error
+
# "Leave" tab contains Logout, Lock, Switch user, Sleep, Restart and Shut down menu items.
# The system boots into runlevel 5
+
# Each Session or System management command do what is expected:
# Program completes wth exit code 0
+
## Screen could be locked and unlocked. Nothing from desktop session is visible.
 +
## Logout and login back works.
 +
## After "Shut down" system is halted, internal hardware is powered off.
 +
## On "Restart" system reboots without powering off.
 +
## System suspends and successfully resumes to previous working state.
 +
# Switch user
 +
## Default login manager should appear. (GDM or KDM).
 +
## New session without running applications should be started.
 +
## First session is locked after switch and could be unlocked.
 +
## Switching between different KDE4 sessions should work. Each session should have own set of applications.
 +
## On "Ctrl + Alt + F1" is running default login manager and on "Ctrl + Alt + F2" is running second session.
 +
## Default login manager should run only on "Ctrl + Alt + F1".
 
}}
 
}}

Revision as of 15:51, 8 April 2012

Contents

Description

Test case covers operations with KDE4 session like Screen Lock, Login and Logout, Switch user and system/machine like Shut down, Restart, Suspend and Resume.

Setup

Boot Fedora to KDE4 desktop.

How to test

  1. Click on "Fedora icon on Panel" to show Launcher.
  2. Select "Leave" tab in Launcher.
  3. Run all session and system management commands (only one each time):
    1. Screen Lock and unlock (no password)
    2. Logout and login back
    3. Shut down
    4. Restart
    5. Sleep and resume.
  4. Switch user
    1. Click on "New Session" and Choose "Start New Session"
    2. Login as user "liveuser" (no password)
    3. Switch between different KDE4 sessions using "Ctrl + Alt + F1" and "Ctrl + Alt + F2".
    4. Try to unlock session on "Ctrl + Alt + F1" and switch between both sessions. Start different set of application on each session.
    5. Try to logout from first session on "Ctrl + Alt + F1" and switch to second session "Ctrl + Alt + F2".
    6. Logout from second session.

Expected Results

  1. Launcher shows.
  2. "Leave" tab contains Logout, Lock, Switch user, Sleep, Restart and Shut down menu items.
  3. Each Session or System management command do what is expected:
    1. Screen could be locked and unlocked. Nothing from desktop session is visible.
    2. Logout and login back works.
    3. After "Shut down" system is halted, internal hardware is powered off.
    4. On "Restart" system reboots without powering off.
    5. System suspends and successfully resumes to previous working state.
  4. Switch user
    1. Default login manager should appear. (GDM or KDM).
    2. New session without running applications should be started.
    3. First session is locked after switch and could be unlocked.
    4. Switching between different KDE4 sessions should work. Each session should have own set of applications.
    5. On "Ctrl + Alt + F1" is running default login manager and on "Ctrl + Alt + F2" is running second session.
    6. Default login manager should run only on "Ctrl + Alt + F1".