Details for revision 138 of testcase: Unity Alt-tab



BugReport a bug against the content of this testcase
ID1392
TitleUnity Alt-tab
LinkNo link provided
Part of testsuitesUnity

RevisionWritten on the 2013-03-28 16:26 by nskaggs
RevisionWritten on the 2013-03-21 12:28 by nskaggs
RevisionWritten on the 2013-02-22 12:35 by nskaggs
RevisionWritten on the 2013-02-13 14:55 by nskaggs
RevisionWritten on the 2012-08-14 13:25 by nskaggs
Text

Test-case alttab/general

  1. Open two different applications, focus application A
  2. Press alt + tab, keep alt pressed
    1. You should see an alt tab dialog appearing after few milliseconds, showing icons for "show desktop" [2D: fail], application A and application B. The application B icon should be highlighted
  3. Press tab continually
    1. The highlight should cycle through the available icons, having the window title displayed below the icon

Test-case alttab/switch

  1. Open two different applications, focus application A
  2. Press alt + tab, hold alt until the window show "application B" icon
  3. Release alt
    1. application B should get raised and focused

Test-case alttab/switch-minimized

  1. Open two different applications, minimize application B, focus application A
  2. Press alt + tab, keep alt pressed until application B icon is highlighted
  3. Release alt
    1. Application B should get restored, raised and focused

Test-case alttab/switch-quick

  1. Open two different applications, focus application A
  2. Press alt + tab quickly
    1. The alt-tab window should not appear [2D: fail]
    2. Application B should get raised and focused

Test-case alttab/switch-same-window

  1. Open an application (one window only for this application)
  2. Press alt + tab, hold alt and press tab until highlighting the currently focused application
  3. Release alt
    1. Nothing should happen

Test-case alttab/windows-tab

  1. Open an application with multiple windows
  2. Press alt + tab until you highlight this application, hold alt
    1. After a short delay, all windows in the current workspace for this application should be shown [2D: fail]
  3. Tap tab
    1. The highlight should go over the next window
    2. The title of each window should be displayed at the bottom
  4. Continue tapping tab
    1. It will then cycle to the next application (and application to application) [2D: fail]

Test-case alttab/windows-tab-release

  1. Open an application with multiple windows
  2. Press alt + tab until you highlight this application, hold alt
    1. After a short delay, all windows in the current workspace for this application should be shown [2D: fail]
  3. Tap tab to highlight the next window
  4. Release alt
    1. The selected window should be focused

Test-case alttab/windows-tab-down-up

  1. Open an application with multiple windows
  2. Press alt + tab until you highlight this application, hold alt
  3. Press the down key
    1. all windows in the current workspace for this application should be shown [2D: fail]
  4. Tap tab to highlight the next window
  5. Press the up key
    1. all intances of the current applications should disappear and you should be back to the initial alt-tab visual representation

Test-case alttab/windows-tab-release-minimized

  1. Open an application with multiple windows (some of them should be minimized)
  2. Press alt + tab until you highlight this application, hold alt
    1. After a short delay, all windows for this application should be shown (even minimized ones) [2D: fail]
  3. Continue tapping tab to highlight on a minimized window
  4. Release alt
    1. The selected window should be restored and focused

Test-case alttab/windows-keyabovetab

  1. Open an application with multiple windows, one being focused
  2. Press alt + key-above-tab, hold alt
    1. The alt + tab window should be presented, showing the application windows directly [2D: fail]
  3. Continue tapping key-above-tab
    1. You should cycle only between the windows of this application [2D: fail]

Test-case alttab/windows-keyabovetab-quick

  1. Open an application with multiple windows, this one being focused
  2. Press alt + key-above-tab quickly
    1. The focus should go over the next window from the same application

Test-case alttab/windows-focus-sameapp

  1. Open an application with multiple windows, this one being focused
  2. Focus another window of the same application
  3. Press alt + tab quickly
    1. The focus should go over the previous window of the same application

Test-case alttab/windows-focus-betweenapps-multiple-one

  1. Start Firefox, create two windows (File > New Window)
  2. Start GEdit, make sure GEdit window is the active one
  3. Use alt + tab to switch to Firefox
    1. The most recently focused Firefox window is raised
  4. Close the window having the focus
    1. The focus should go to the GEdit window

Test-case alttab/preview-local

  1. Start Firefox on one workspace
  2. Switch to a different workspace, start GEdit
  3. Press alt + tab to browse through available applications
    1. The alt tab dialog should only show applications on the current workspace
    2. Firefox should not be present
    3. Most probably only the Desktop and GEdit icons should be visible

Test-case alttab/preview-multiplewindows-local

  1. Start Firefox, create two windows (File > New Window)
  2. Move one Firefox window to a different workspace
  3. Press alt + tab until you highlight the Firefox application, hold alt
    1. No window preview should be visible - just a single Firefox icon
    2. The other Firefox window should not be visible in the alt tab dialog

Test-case alttab/preview-global

  1. Start Firefox on one workspace
  2. Switch to a different workspace, start GEdit
  3. Press ctrl + alt + tab, keeping ctrl and alt keys pressed
    1. The alt tab dialog should show all applications running on all workspaces
    2. The Firefox application icon should also be visible
  4. While still holding ctrl + alt, tap the tab key until you focus on the Firefox application icon
  5. Release the ctrl and alt keys
    1. Unity should switch to the workspace where Firefox is running
    2. The Firefox window should get focus


If all actions produce the expected results listed, please submit a 'passed' result.
If an action fails, or produces an unexpected result, please submit a 'failed' result and file a bug. Please be sure to include the bug number when you submit your result
.