QA:Testcase ibus bridge hotkey

From FedoraProject

Revision as of 08:15, 20 October 2011 by Fujiwara (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

This test-case is to check the bridge hotkey feature which is available f16 or later.


How to test

You need to have one more input method engines. E.g. if you log into the session initially with Japanese, ibus-anthy will be set up automatically. If you do with Simplified Chinese, ibus-pinyin will be set up automatically. If you do with US English, no engine will be set up so you need to add any input methods with ibus-setup. If you already have IM engines, you could pass the first test case '1. Add an Engine'.

  1. Add an Engine (pre-setting):
    1. Run ibus-setup
    2. Open 'Input Method' tab in ibus-setup.
    3. Disable 'Customize active input methods'.
    4. Choose a preferred IM engine from 'Select an input method' pull down menu, click [Add] button, click [Close] button and close the ibus-setup.
    5. Left-Click on ibus status icon on gnome-panel or gnome-shel..
  2. General test for bridge hotkey: Suppose ibus-pinyin and US keyboard is installed for example.
    1. Focus on a text widget (e.g. gedit or gnome-terminal).
      1. Left-Click on ibus status icon on gnome-panel or gnome-shell.
    2. Type Control + Space
      1. Left-Click on ibus status icon.
    3. Type Control + Space
      1. Left-Click on ibus status icon.
    4. Left-Click on ibus status icon and choose another input method engine.
      1. Left-Click on ibus status icon.
    5. Type Control + Space
      1. Left-Click on ibus status icon.
  3. Keyboard layout tests
    1. Configure a single layout without any variants using 'gnome-control-center region'. E.g. us
      1. Run ibus
    2. Configure multiple layouts with variants using 'gnome-control-center region'. E.g. us,jp,us(dvorak-alt-intl)
      1. Run ibus

Expected Results

  1. Add an Engine (pre-setting): Show the IM engine in the ibus statusicon menu.
  2. General test for bridge hotkey:
    1. Focus on a text widget (e.g. gedit or gnome-terminal).
      1. a default keymap engine (US) is selected on ibus status icon menu.
    2. Type Control + Space
      1. a primary input method engine (Pinyin) is selected on ibus status icon.
    3. Type Control + Space
      1. a default keymap engine (US) is selected on ibus status icon menu.
    4. Suppose ibus-hangul is choosed.
      1. the choosed input method engine (hangul) is selected on ibus status icon.
    5. Type Control + Space
      1. a default keymap engine (US) is selected on ibus status icon menu.
  3. Keyboard layout tests
      1. ibus can switch a keyboard layout and input methods.
      1. ibus can switch multiple keyboard layouts and input methods.