[Inputmethod][Non-ACR] Move TCs that can't be worked in auto test to manual TC 21/225221/5
authorInHong Han <inhong1.han@samsung.com>
Wed, 4 Mar 2020 04:25:11 +0000 (13:25 +0900)
committerInHong Han <inhong1.han@samsung.com>
Thu, 5 Mar 2020 04:51:06 +0000 (13:51 +0900)
Change-Id: Ia0f9ae96bd7750614b9986a00aa59cb721e4f1de

tct-suite-vs/Resource/Tizen.Inputmethod.Manual.Tests/org.tizen.example.IMESample.Tizen.Mobile-1.0.0.tpk
tct-suite-vs/Resource/Tizen.Inputmethod.Manual.Tests/org.tizen.example.IMESample.Tizen.Wearable-1.0.0.tpk
tct-suite-vs/Tizen.Inputmethod.Manual.Tests/testcase/TSInputMethodEditor.cs
tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodEditor.cs

index 2978ec5dd79de456f106d049f4aa91760fa601bc..7a7657c6ea82c7414da825ffa8ac5a05bff28f15 100644 (file)
Binary files a/tct-suite-vs/Resource/Tizen.Inputmethod.Manual.Tests/org.tizen.example.IMESample.Tizen.Mobile-1.0.0.tpk and b/tct-suite-vs/Resource/Tizen.Inputmethod.Manual.Tests/org.tizen.example.IMESample.Tizen.Mobile-1.0.0.tpk differ
index 3a666653acf454d765c370354363da56013601c0..95cc367555c67ece21fc307d091b642fdd318b76 100644 (file)
Binary files a/tct-suite-vs/Resource/Tizen.Inputmethod.Manual.Tests/org.tizen.example.IMESample.Tizen.Wearable-1.0.0.tpk and b/tct-suite-vs/Resource/Tizen.Inputmethod.Manual.Tests/org.tizen.example.IMESample.Tizen.Wearable-1.0.0.tpk differ
index 8c702ed2ed06be0af9fac12536da648a8c10fa5f..7b59a25e6e5ea5c9188e2add26b9ffcb4f71d14d 100755 (executable)
@@ -15,6 +15,7 @@ namespace Tizen.Inputmethod.Manual.Tests
     {
         private TestPage _testPage = TestPage.GetInstance();
         private bool _isSupported = true;
+        private bool _isWearable = false;
 
         [SetUp]
         public void Init()
@@ -24,8 +25,13 @@ namespace Tizen.Inputmethod.Manual.Tests
             string value;
 
             ret = Tizen.System.Information.TryGetValue<string>("tizen.org/feature/profile", out value);
-            if (ret && value.CompareTo("tv") == 0)
-                _isSupported = false;
+            if (ret) {
+                if (value.Equals("tv"))
+                    _isSupported = false;
+
+                if (value.Equals("wearable"))
+                    _isWearable = true;
+            }
         }
 
         [TearDown]
@@ -36,7 +42,7 @@ namespace Tizen.Inputmethod.Manual.Tests
 
         [Test]
         [Category("P1")]
-        [Description("Test : PredictionHintDataUpdated callback should be called when IME is shown.")]
+        [Description("Manual Test : PredictionHintDataUpdated callback should be called when IME is shown.")]
         [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.PredictionHintDataUpdated E")]
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "EVL")]
@@ -44,18 +50,18 @@ namespace Tizen.Inputmethod.Manual.Tests
         [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
         [Step(1, "Click Run button")]
         [Step(2, "Open setting app")]
-        [Step(3, "Click Laguage and Input")]
+        [Step(3, "Click Language and Input")]
         [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
         [Step(5, "Open terminal & input command line sdb shell ")]
         [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
         [Step(7, "Open a new terminal & input command line sdb shell")]
         [Step(8, "Input  su -")]
         [Step(9, "Input  isf-demo-efl")]
-        [Step(10, "Click  item ISF MIME Type")]
-        [Step(11, "Click text entry to show IME(Input Method Editor)")]
+        [Step(10, "Click item 'ISF Manual Test'")]
+        [Step(11, "Click text entry below 'NORMAL' to show IME(Input Method Editor)")]
         [Step(12, "If log show 'InputMethodEditor_PredictionHintDataUpdated callback' confirm Pass otherwise confirm False")]
         [Postcondition(1, "NA")]
-        public async Task PredictionHintDataUpdated_ADD()
+        public async Task PredictionHintDataUpdated_MANUAL_TEST()
         {
             if (_isSupported)
                 await ManualTest.WaitForConfirm();
@@ -65,7 +71,7 @@ namespace Tizen.Inputmethod.Manual.Tests
 
         [Test]
         [Category("P1")]
-        [Description("Test : PredictionHintUpdated callback should be called when IME is shown.")]
+        [Description("Manual Test : PredictionHintUpdated callback should be called when IME is shown.")]
         [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.PredictionHintUpdated E")]
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "EVL")]
@@ -73,18 +79,18 @@ namespace Tizen.Inputmethod.Manual.Tests
         [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
         [Step(1, "Click Run button")]
         [Step(2, "Open setting app")]
-        [Step(3, "Click Laguage and Input")]
+        [Step(3, "Click Language and Input")]
         [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
         [Step(5, "Open terminal & input command line sdb shell ")]
         [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
         [Step(7, "Open a new terminal & input command line sdb shell")]
         [Step(8, "Input  su -")]
         [Step(9, "Input  isf-demo-efl")]
-        [Step(10, "Click  item ISF MIME Type")]
-        [Step(11, "Click text entry to show IME(Input Method Editor)")]
+        [Step(10, "Click item 'ISF Manual Test'")]
+        [Step(11, "Click text entry below 'NORMAL' to show IME(Input Method Editor)")]
         [Step(12, "If log show 'InputMethodEditor_PredictionHintUpdated callback' confirm Pass otherwise confirm False")]
         [Postcondition(1, "NA")]
-        public async Task PredictionHintUpdated_ADD()
+        public async Task PredictionHintUpdated_MANUAL_TEST()
         {
             if (_isSupported)
                 await ManualTest.WaitForConfirm();
@@ -94,7 +100,7 @@ namespace Tizen.Inputmethod.Manual.Tests
 
         [Test]
         [Category("P1")]
-        [Description("Test : MimeTypeUpdateRequested callback should be called when IME is shown.")]
+        [Description("Manual Test : MimeTypeUpdateRequested callback should be called when IME is shown.")]
         [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.MimeTypeUpdateRequested E")]
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "EVL")]
@@ -102,18 +108,397 @@ namespace Tizen.Inputmethod.Manual.Tests
         [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
         [Step(1, "Click Run button")]
         [Step(2, "Open setting app")]
-        [Step(3, "Click Laguage and Input")]
+        [Step(3, "Click Language and Input")]
         [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
         [Step(5, "Open terminal & input command line sdb shell ")]
         [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
         [Step(7, "Open a new terminal & input command line sdb shell")]
         [Step(8, "Input  su -")]
         [Step(9, "Input  isf-demo-efl")]
-        [Step(10, "Click  item ISF MIME Type")]
-        [Step(11, "Click text entry to show IME(Input Method Editor)")]
+        [Step(10, "Click item 'ISF Manual Test'")]
+        [Step(11, "Click text entry below 'MimeTypeSet' to show IME(Input Method Editor)")]
         [Step(12, "If log show 'InputMethodEditor_MimeTypeUpdateRequested callback' confirm Pass otherwise confirm False")]
         [Postcondition(1, "NA")]
-        public async Task MimeTypeUpdateRequested_ADD()
+        public async Task MimeTypeUpdateRequested_MANUAL_TEST()
+        {
+            if (_isSupported)
+                await ManualTest.WaitForConfirm();
+            else
+                Assert.Pass("Can not test on TV profile");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Manual Test : FocusedIn callback should be called when IME is shown.")]
+        [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.FocusedIn E")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "EVL")]
+        [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
+        [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
+        [Step(1, "Click Run button")]
+        [Step(2, "Open setting app")]
+        [Step(3, "Click Language and Input")]
+        [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
+        [Step(5, "Open terminal & input command line sdb shell ")]
+        [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
+        [Step(7, "Open a new terminal & input command line sdb shell")]
+        [Step(8, "Input  su -")]
+        [Step(9, "Input  isf-demo-efl")]
+        [Step(10, "Click item 'ISF Manual Test'")]
+        [Step(11, "Click text entry below 'NORMAL' to show IME(Input Method Editor)")]
+        [Step(12, "If log show 'InputMethodEditor_FocusedIn callback' confirm Pass otherwise confirm False")]
+        [Postcondition(1, "NA")]
+        public async Task FocusedIn_MANUAL_TEST()
+        {
+            if (_isSupported)
+                await ManualTest.WaitForConfirm();
+            else
+                Assert.Pass("Can not test on TV profile");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Manual Test : FocusedOut callback should be called when IME is shown.")]
+        [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.FocusedOut E")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "EVL")]
+        [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
+        [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
+        [Step(1, "Click Run button")]
+        [Step(2, "Open setting app")]
+        [Step(3, "Click Language and Input")]
+        [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
+        [Step(5, "Open terminal & input command line sdb shell ")]
+        [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
+        [Step(7, "Open a new terminal & input command line sdb shell")]
+        [Step(8, "Input  su -")]
+        [Step(9, "Input  isf-demo-efl")]
+        [Step(10, "Click item 'ISF Manual Test'")]
+        [Step(11, "Click text entry below 'NORMAL' to show IME(Input Method Editor)")]
+        [Step(12, "Click back button")]
+        [Step(13, "If log show 'InputMethodEditor_FocusedOut callback' confirm Pass otherwise confirm False")]
+        [Postcondition(1, "NA")]
+        public async Task FocusedOut_MANUAL_TEST()
+        {
+            if (_isSupported)
+                await ManualTest.WaitForConfirm();
+            else
+                Assert.Pass("Can not test on TV profile");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Manual Test : SurroundingTextUpdated callback should be called when IME is shown.")]
+        [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.SurroundingTextUpdated E")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "EVL")]
+        [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
+        [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
+        [Step(1, "Click Run button")]
+        [Step(2, "Open setting app")]
+        [Step(3, "Click Language and Input")]
+        [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
+        [Step(5, "Open terminal & input command line sdb shell ")]
+        [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
+        [Step(7, "Open a new terminal & input command line sdb shell")]
+        [Step(8, "Input  su -")]
+        [Step(9, "Input  isf-demo-efl")]
+        [Step(10, "Click item 'ISF Manual Test'")]
+        [Step(11, "Click text entry below 'NORMAL' to show IME(Input Method Editor)")]
+        [Step(12, "If log show 'InputMethodEditor_SurroundingTextUpdated callback' confirm Pass otherwise confirm False")]
+        [Postcondition(1, "NA")]
+        public async Task SurroundingTextUpdated_MANUAL_TEST()
+        {
+            if (_isSupported)
+                await ManualTest.WaitForConfirm();
+            else
+                Assert.Pass("Can not test on TV profile");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Manual Test : InputContextReset callback should be called when IME is shown.")]
+        [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.InputContextReset E")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "EVL")]
+        [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
+        [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
+        [Step(1, "Click Run button")]
+        [Step(2, "Open setting app")]
+        [Step(3, "Click Language and Input")]
+        [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
+        [Step(5, "Open terminal & input command line sdb shell ")]
+        [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
+        [Step(7, "Open a new terminal & input command line sdb shell")]
+        [Step(8, "Input  su -")]
+        [Step(9, "Input  isf-demo-efl")]
+        [Step(10, "Click item 'ISF Manual Test'")]
+        [Step(11, "Click text entry below 'NORMAL' to show IME(Input Method Editor)")]
+        [Step(12, "Click back button")]
+        [Step(13, "If log show 'InputMethodEditor_InputContextReset callback' confirm Pass otherwise confirm False")]
+        [Postcondition(1, "NA")]
+        public async Task InputContextReset_MANUAL_TEST()
+        {
+            if (_isSupported)
+                await ManualTest.WaitForConfirm();
+            else
+                Assert.Pass("Can not test on TV profile");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Manual Test : CursorPositionUpdated callback should be called when IME is shown.")]
+        [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.CursorPositionUpdated E")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "EVL")]
+        [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
+        [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
+        [Step(1, "Click Run button")]
+        [Step(2, "Open setting app")]
+        [Step(3, "Click Language and Input")]
+        [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
+        [Step(5, "Open terminal & input command line sdb shell ")]
+        [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
+        [Step(7, "Open a new terminal & input command line sdb shell")]
+        [Step(8, "Input  su -")]
+        [Step(9, "Input  isf-demo-efl")]
+        [Step(10, "Click item 'ISF Manual Test'")]
+        [Step(11, "Click text entry below 'NORMAL' to show IME(Input Method Editor)")]
+        [Step(12, "Input some text")]
+        [Step(13, "If log show 'InputMethodEditor_CursorPositionUpdated callback' confirm Pass otherwise confirm False")]
+        [Postcondition(1, "NA")]
+        public async Task CursorPositionUpdated_MANUAL_TEST()
+        {
+            if (_isSupported)
+                await ManualTest.WaitForConfirm();
+            else
+                Assert.Pass("Can not test on TV profile");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Manual Test : LanguageSet callback should be called when IME is shown.")]
+        [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.LanguageSet E")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "EVL")]
+        [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
+        [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
+        [Step(1, "Click Run button")]
+        [Step(2, "Open setting app")]
+        [Step(3, "Click Language and Input")]
+        [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
+        [Step(5, "Open terminal & input command line sdb shell ")]
+        [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
+        [Step(7, "Open a new terminal & input command line sdb shell")]
+        [Step(8, "Input  su -")]
+        [Step(9, "Input  isf-demo-efl")]
+        [Step(10, "Click item 'ISF Manual Test'")]
+        [Step(11, "Click text entry below 'LanguageSet' to show IME(Input Method Editor)")]
+        [Step(12, "If log show 'InputMethodEditor_LanguageSet callback' confirm Pass otherwise confirm False")]
+        [Postcondition(1, "NA")]
+        public async Task LanguageSet_MANUAL_TEST()
+        {
+            if (_isSupported)
+                await ManualTest.WaitForConfirm();
+            else
+                Assert.Pass("Can not test on TV profile");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Manual Test : DataSet callback should be called when IME is shown.")]
+        [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.DataSet E")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "EVL")]
+        [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
+        [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
+        [Step(1, "Click Run button")]
+        [Step(2, "Open setting app")]
+        [Step(3, "Click Language and Input")]
+        [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
+        [Step(5, "Open terminal & input command line sdb shell ")]
+        [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
+        [Step(7, "Open a new terminal & input command line sdb shell")]
+        [Step(8, "Input  su -")]
+        [Step(9, "Input  isf-demo-efl")]
+        [Step(10, "Click item 'ISF Manual Test'")]
+        [Step(11, "Click text entry below 'DataSet' to show IME(Input Method Editor)")]
+        [Step(12, "If log show 'InputMethodEditor_DataSet callback' confirm Pass otherwise confirm False")]
+        [Postcondition(1, "NA")]
+        public async Task DataSet_MANUAL_TEST()
+        {
+            if (_isSupported)
+                await ManualTest.WaitForConfirm();
+            else
+                Assert.Pass("Can not test on TV profile");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Manual Test : LayoutSet callback should be called when IME is shown.")]
+        [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.LayoutSet E")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "EVL")]
+        [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
+        [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
+        [Step(1, "Click Run button")]
+        [Step(2, "Open setting app")]
+        [Step(3, "Click Language and Input")]
+        [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
+        [Step(5, "Open terminal & input command line sdb shell ")]
+        [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
+        [Step(7, "Open a new terminal & input command line sdb shell")]
+        [Step(8, "Input  su -")]
+        [Step(9, "Input  isf-demo-efl")]
+        [Step(10, "Click item 'ISF Manual Test'")]
+        [Step(11, "Click text entry below 'LayoutSet' to show IME(Input Method Editor)")]
+        [Step(12, "If log show 'InputMethodEditor_LayoutSet callback' confirm Pass otherwise confirm False")]
+        [Postcondition(1, "NA")]
+        public async Task LayoutSet_MANUAL_TEST()
+        {
+            if (_isSupported)
+                await ManualTest.WaitForConfirm();
+            else
+                Assert.Pass("Can not test on TV profile");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Manual Test : ReturnKeySet callback should be called when IME is shown.")]
+        [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.ReturnKeySet E")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "EVL")]
+        [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
+        [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
+        [Step(1, "Click Run button")]
+        [Step(2, "Open setting app")]
+        [Step(3, "Click Language and Input")]
+        [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
+        [Step(5, "Open terminal & input command line sdb shell ")]
+        [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
+        [Step(7, "Open a new terminal & input command line sdb shell")]
+        [Step(8, "Input  su -")]
+        [Step(9, "Input  isf-demo-efl")]
+        [Step(10, "Click item 'ISF Manual Test'")]
+        [Step(11, "Click text entry below 'ReturnKeySet' to show IME(Input Method Editor)")]
+        [Step(12, "If log show 'InputMethodEditor_ReturnKeySet callback' confirm Pass otherwise confirm False")]
+        [Postcondition(1, "NA")]
+        public async Task ReturnKeySet_MANUAL_TEST()
+        {
+            if (_isSupported)
+                await ManualTest.WaitForConfirm();
+            else
+                Assert.Pass("Can not test on TV profile");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Manual Test : ReturnKeyStateSet callback should be called when IME is shown.")]
+        [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.ReturnKeyStateSet E")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "EVL")]
+        [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
+        [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
+        [Step(1, "Click Run button")]
+        [Step(2, "Open setting app")]
+        [Step(3, "Click Language and Input")]
+        [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
+        [Step(5, "Open terminal & input command line sdb shell ")]
+        [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
+        [Step(7, "Open a new terminal & input command line sdb shell")]
+        [Step(8, "Input  su -")]
+        [Step(9, "Input  isf-demo-efl")]
+        [Step(10, "Click item 'ISF Manual Test'")]
+        [Step(11, "Click text entry below 'ReturnKeyStateSet' to show IME(Input Method Editor)")]
+        [Step(12, "If log show 'InputMethodEditor_ReturnKeyStateSet callback' confirm Pass otherwise confirm False")]
+        [Postcondition(1, "NA")]
+        public async Task ReturnKeyStateSet_MANUAL_TEST()
+        {
+            if (_isSupported)
+                await ManualTest.WaitForConfirm();
+            else
+                Assert.Pass("Can not test on TV profile");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Manual Test : DisplayLanguageChanged callback should be called when IME is shown.")]
+        [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.DisplayLanguageChanged E")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "EVL")]
+        [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
+        [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
+        [Step(1, "Click Run button")]
+        [Step(2, "Open setting app")]
+        [Step(3, "Click Language and Input")]
+        [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
+        [Step(5, "Open terminal & input command line sdb shell ")]
+        [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
+        [Step(7, "Open setting app")]
+        [Step(8, "Click Language and Input")]
+        [Step(9, "Click Display language")]
+        [Step(10, "Change display language")]
+        [Step(11, "If log show 'InputMethodEditor_DisplayLanguageChanged callback' confirm Pass otherwise confirm False")]
+        [Postcondition(1, "NA")]
+        public async Task DisplayLanguageChanged_MANUAL_TEST()
+        {
+            if (_isSupported)
+                await ManualTest.WaitForConfirm();
+            else
+                Assert.Pass("Can not test on TV profile");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Manual Test : RotationChanged callback should be called when IME is shown.")]
+        [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.RotationChanged E")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "EVL")]
+        [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
+        [Precondition(1, "It can not be tested on TV, wearable profile. If you will run this tc on tv, wearable profile, then this tc will get pass automatically.")]
+        [Step(1, "Click Run button")]
+        [Step(2, "Open setting app")]
+        [Step(3, "Click Language and Input")]
+        [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
+        [Step(5, "Open terminal & input command line sdb shell ")]
+        [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
+        [Step(7, "Open a new terminal & input command line sdb shell")]
+        [Step(8, "Input  su -")]
+        [Step(9, "Input  isf-demo-efl")]
+        [Step(10, "Click item 'ISF Manual Test'")]
+        [Step(11, "Click text entry below 'NORMAL' to show IME(Input Method Editor)")]
+        [Step(12, "Rotate the test device")]
+        [Step(13, "If log show 'InputMethodEditor_RotationChanged callback' confirm Pass otherwise confirm False")]
+        [Postcondition(1, "NA")]
+        public async Task RotationChanged_MANUAL_TEST()
+        {
+            if (_isSupported && !_isWearable)
+                await ManualTest.WaitForConfirm();
+            else
+                Assert.Pass("Can not test on TV, wearable profile");
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("Manual Test : AccessibilityStateChanged callback should be called when IME is shown.")]
+        [Property("SPEC", "Tizen.Uix.InputMethod.InputMethodEditor.AccessibilityStateChanged E")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "EVL")]
+        [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
+        [Precondition(1, "It can not be tested on TV profile. If you will run this tc on tv profile, then this tc will get pass automatically.")]
+        [Step(1, "Click Run button")]
+        [Step(2, "Open setting app")]
+        [Step(3, "Click Language and Input")]
+        [Step(4, "Switch default keyboard from Tizen keyboard to new keyboard")]
+        [Step(5, "Open terminal & input command line sdb shell ")]
+        [Step(6, "Input  dlogutil -v time | grep 'IMESample'")]
+        [Step(7, "Open setting app")]
+        [Step(8, "Click Accessibility")]
+        [Step(9, "Click Screen reader (TTS)")]
+        [Step(10, "Change the status of Screen reader")]
+        [Step(11, "If log show 'InputMethodEditor_AccessibilityStateChanged callback' confirm Pass otherwise confirm False")]
+        [Postcondition(1, "NA")]
+        public async Task AccessibilityStateChanged_MANUAL_TEST()
         {
             if (_isSupported)
                 await ManualTest.WaitForConfirm();
index ce29b802973432ba4b46a876bd932b643eeb4e49..b8db1d26700e4358779546a8e4879be3a731e776 100755 (executable)
@@ -27,344 +27,6 @@ namespace Tizen.Uix.InputMethod.Tests
             GC.Collect();
         }
 
-        [Test]
-        [Category("P1")]
-        [Description("Check the Addition of FocusedIn EventHandler")]
-        [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.FocusedIn E")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
-        public void FocusedIn_ADD()
-        {
-            /*
-             * TEST CODE
-             */
-            Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: FocusedIn_ADD");
-            InputMethodEditor.FocusedIn += InputMethodEditor_FocusedIn;
-            Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: FocusedIn_ADD");
-
-            /*
-             * POST CONDITION
-             */
-            InputMethodEditor.FocusedIn -= InputMethodEditor_FocusedIn;
-        }
-
-        private void InputMethodEditor_FocusedIn(object sender, FocusedInEventArgs e)
-        {
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check the Addition of FocusedOut EventHandler")]
-        [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.FocusedOut E")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
-        public void FocusedOut_ADD()
-        {
-            /*
-             * TEST CODE
-             */
-            Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: FocusedOut_ADD");
-            InputMethodEditor.FocusedOut += InputMethodEditor_FocusedOut;
-            Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: FocusedOut_ADD");
-
-            /*
-             * POST CONDITION
-             */
-            InputMethodEditor.FocusedOut -= InputMethodEditor_FocusedOut;
-        }
-
-        private void InputMethodEditor_FocusedOut(object sender, FocusedOutEventArgs e)
-        {
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check the Addition of SurroundingTextUpdated EventHandler")]
-        [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.SurroundingTextUpdated E")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
-        public void SurroundingTextUpdated_ADD()
-        {
-            /*
-             * TEST CODE
-             */
-            Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: SurroundingTextUpdated_ADD");
-            InputMethodEditor.SurroundingTextUpdated += InputMethodEditor_SurroundingTextUpdated;
-            Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: SurroundingTextUpdated_ADD");
-
-            /*
-             * POST CONDITION
-             */
-            InputMethodEditor.SurroundingTextUpdated -= InputMethodEditor_SurroundingTextUpdated;
-        }
-
-        private void InputMethodEditor_SurroundingTextUpdated(object sender, SurroundingTextUpdatedEventArgs e)
-        {
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check the Addition of InputContextReset EventHandler")]
-        [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.InputContextReset E")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
-        public void InputContextReset_ADD()
-        {
-            /*
-             * TEST CODE
-             */
-            Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: InputContextReset_ADD");
-            InputMethodEditor.InputContextReset += InputMethodEditor_InputContextReset;
-            Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: InputContextReset_ADD");
-
-            /*
-             * POST CONDITION
-             */
-            InputMethodEditor.InputContextReset -= InputMethodEditor_InputContextReset;
-        }
-
-        private void InputMethodEditor_InputContextReset(object sender, EventArgs e)
-        {
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check the Addition of CursorPositionUpdated EventHandler")]
-        [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.CursorPositionUpdated E")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
-        public void CursorPositionUpdated_ADD()
-        {
-            /*
-             * TEST CODE
-             */
-            Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: CursorPositionUpdated_ADD");
-            InputMethodEditor.CursorPositionUpdated += InputMethodEditor_CursorPositionUpdated;
-            Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: CursorPositionUpdated_ADD");
-
-            /*
-             * POST CONDITION
-             */
-            InputMethodEditor.CursorPositionUpdated -= InputMethodEditor_CursorPositionUpdated;
-        }
-
-        private void InputMethodEditor_CursorPositionUpdated(object sender, CursorPositionUpdatedEventArgs e)
-        {
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check the Addition of LanguageSet EventHandler")]
-        [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.LanguageSet E")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
-        public void LanguageSet_ADD()
-        {
-            /*
-             * TEST CODE
-             */
-            Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: LanguageSet_ADD");
-            InputMethodEditor.LanguageSet += InputMethodEditor_LanguageSet;
-            Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: LanguageSet_ADD");
-
-            /*
-             * POST CONDITION
-             */
-            InputMethodEditor.LanguageSet -= InputMethodEditor_LanguageSet;
-        }
-
-        private void InputMethodEditor_LanguageSet(object sender, LanguageSetEventArgs e)
-        {
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check the Addition of DataSet EventHandler")]
-        [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.DataSet E")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
-        public void DataSet_ADD()
-        {
-            /*
-             * TEST CODE
-             */
-            Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: DataSet_ADD");
-            InputMethodEditor.DataSet += InputMethodEditor_DataSet;
-            Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: DataSet_ADD");
-
-            /*
-             * POST CONDITION
-             */
-            InputMethodEditor.DataSet -= InputMethodEditor_DataSet;
-        }
-
-        private void InputMethodEditor_DataSet(object sender, SetDataEventArgs e)
-        {
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check the Addition of LayoutSet EventHandler")]
-        [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.LayoutSet E")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
-        public void LayoutSet_ADD()
-        {
-            /*
-             * TEST CODE
-             */
-            Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: LayoutSet_ADD");
-            InputMethodEditor.LayoutSet += InputMethodEditor_LayoutSet;
-            Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: LayoutSet_ADD");
-
-            /*
-             * POST CONDITION
-             */
-            InputMethodEditor.LayoutSet -= InputMethodEditor_LayoutSet;
-        }
-
-        private void InputMethodEditor_LayoutSet(object sender, LayoutSetEventArgs e)
-        {
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check the Addition of ReturnKeySet EventHandler")]
-        [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.ReturnKeySet E")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
-        public void ReturnKeySet_ADD()
-        {
-            /*
-             * TEST CODE
-             */
-            Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: ReturnKeySet_ADD");
-            InputMethodEditor.ReturnKeySet += InputMethodEditor_ReturnKeySet;
-            Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: ReturnKeySet_ADD");
-
-            /*
-             * POST CONDITION
-             */
-            InputMethodEditor.ReturnKeySet -= InputMethodEditor_ReturnKeySet;
-        }
-
-        private void InputMethodEditor_ReturnKeySet(object sender, ReturnKeySetEventArgs e)
-        {
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check the Addition of ReturnKeyStateSet EventHandler")]
-        [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.ReturnKeyStateSet E")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
-        public void ReturnKeyStateSet_ADD()
-        {
-            /*
-             * TEST CODE
-             */
-            Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: ReturnKeyStateSet_ADD");
-            InputMethodEditor.ReturnKeyStateSet += InputMethodEditor_ReturnKeyStateSet;
-            Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: ReturnKeyStateSet_ADD");
-
-            /*
-             * POST CONDITION
-             */
-            InputMethodEditor.ReturnKeyStateSet -= InputMethodEditor_ReturnKeyStateSet;
-        }
-
-        private void InputMethodEditor_ReturnKeyStateSet(object sender, ReturnKeyStateSetEventArgs e)
-        {
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check the Addition of DisplayLanguageChanged EventHandler")]
-        [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.DisplayLanguageChanged E")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
-        public void DisplayLanguageChanged_ADD()
-        {
-            /*
-             * TEST CODE
-             */
-            Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: DisplayLanguageChanged_ADD");
-            InputMethodEditor.DisplayLanguageChanged += InputMethodEditor_DisplayLanguageChanged;
-            Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: DisplayLanguageChanged_ADD");
-
-            /*
-             * POST CONDITION
-             */
-            InputMethodEditor.DisplayLanguageChanged -= InputMethodEditor_DisplayLanguageChanged;
-        }
-
-        private void InputMethodEditor_DisplayLanguageChanged(object sender, DisplayLanguageChangedEventArgs e)
-        {
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check the Addition of RotationChanged EventHandler")]
-        [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.RotationChanged E")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
-        public void RotationChanged_ADD()
-        {
-            /*
-             * TEST CODE
-             */
-            Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: RotationChanged_ADD");
-            InputMethodEditor.RotationChanged += InputMethodEditor_RotationChanged;
-            Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: RotationChanged_ADD");
-
-            /*
-             * POST CONDITION
-             */
-            InputMethodEditor.RotationChanged -= InputMethodEditor_RotationChanged;
-        }
-
-        private void InputMethodEditor_RotationChanged(object sender, RotationChangedEventArgs e)
-        {
-        }
-
-        [Test]
-        [Category("P1")]
-        [Description("Check the Addition of AccessibilityStateChanged EventHandler")]
-        [Property("SPEC", " Tizen.Uix.InputMethod.InputMethodEditor.AccessibilityStateChanged E")]
-        [Property("SPEC_URL", "-")]
-        [Property("CRITERIA", "EVL")]
-        [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
-        public void AccessibilityStateChanged_ADD()
-        {
-            /*
-             * TEST CODE
-             */
-            Helper.PrintLog(Type.DLogAndlogUtil, "Executing TC: AccessibilityStateChanged_ADD");
-            InputMethodEditor.AccessibilityStateChanged += InputMethodEditor_AccessibilityStateChanged;
-            Helper.PrintLog(Type.DLogAndlogUtil, "Completed TC: AccessibilityStateChanged_ADD");
-
-            /*
-             * POST CONDITION
-             */
-            InputMethodEditor.AccessibilityStateChanged -= InputMethodEditor_AccessibilityStateChanged;
-        }
-
-        private void InputMethodEditor_AccessibilityStateChanged(object sender, AccessibilityStateChangedEventArgs e)
-        {
-        }
-
         [Test]
         [Category("P1")]
         [Description("Check the working of SetLanguageRequestedCallback method for No Exception")]