[ComponentBased.Manual][Non-ACR] Fix TC descriptions 67/313467/2
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 26 Jun 2024 08:02:07 +0000 (17:02 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 26 Jun 2024 08:04:51 +0000 (17:04 +0900)
Widget Tests prints "<method name> Widget".

Change-Id: I20d91ba2ce36fa164c36c89142bf9de734b9d31e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
tct-suite-vs/Tizen.ComponentBased.Manual.Tests/testcase/TSWidgetComponent.cs

index 98d04d3..a57fb2d 100755 (executable)
-/*\r
- *  Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved\r
- *\r
- *  Licensed under the Apache License, Version 2.0 (the "License");\r
- *  you may not use this file except in compliance with the License.\r
- *  You may obtain a copy of the License at\r
- *\r
- *      http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- *  Unless required by applicable law or agreed to in writing, software\r
- *  distributed under the License is distributed on an "AS IS" BASIS,\r
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- *  See the License for the specific language governing permissions and\r
- *  limitations under the License\r
- */\r
-\r
-using System;\r
-using System.Threading.Tasks;\r
-using NUnit.Framework;\r
-using NUnit.Framework.TUnit;\r
-using Tizen.Applications;\r
-using Xamarin.Forms;\r
-\r
-namespace Tizen.ComponentBasedApplication.Tests\r
-{\r
-    [TestFixture]\r
-    [Description("Tizen.Applications.ComponentBasedApplication widget component test")]\r
-    public class WidgetComponentTests\r
-    {\r
-        private TestPage _testPage = TestPage.GetInstance();\r
-        private Button _comp_button;\r
-        private string _testAppId = "org.tizen.example.WidgetViewerApp.Tizen";\r
-        private bool _isMobile = false;\r
-        private bool _isWearable = false;\r
-        private bool _isEmulator = false;\r
-\r
-        [SetUp]\r
-        public void Init()\r
-        {\r
-            LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");\r
-            _isMobile = ManualTest.IsMobile();\r
-            _isWearable = ManualTest.IsWearable();\r
-            _isEmulator = ManualTest.IsEmulator();\r
-            _comp_button = new Button();\r
-        }\r
-\r
-        [TearDown]\r
-        public void Destroy()\r
-        {\r
-            LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");\r
-            _comp_button = null;\r
-        }\r
-\r
-        private void CreateCompButton(string btnText)\r
-        {\r
-            LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateButton");\r
-            var layout = new StackLayout()\r
-            {\r
-                IsVisible = true,\r
-                HorizontalOptions = LayoutOptions.FillAndExpand,\r
-                VerticalOptions = LayoutOptions.FillAndExpand,\r
-            };\r
-\r
-            _comp_button = new Button()\r
-            {\r
-                Text = btnText,\r
-                VerticalOptions = LayoutOptions.Center,\r
-                HorizontalOptions = LayoutOptions.FillAndExpand,\r
-            };\r
-\r
-            layout.Children.Add(_comp_button);\r
-            _testPage.ExecuteTC(layout);\r
-        }\r
-\r
-        private void OnClick(object sender, EventArgs e)\r
-        {\r
-            AppControl control = new AppControl();\r
-            control.ApplicationId = _testAppId;\r
-            control.Operation = AppControlOperations.Default;\r
-            AppControl.SendLaunchRequest(control);\r
-        }\r
-\r
-        [Test]\r
-        [Category("P1")]\r
-        [Description("MANUAL TEST : CreateWindowInfo() should be called before OnCreate function is called")]\r
-        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.WidgetComponent.CreateWindowInfo M")]\r
-        [Property("SPEC_URL", "-")]\r
-        [Property("CRITERIA", "MR")]\r
-        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]\r
-        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]\r
-        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]\r
-        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]\r
-        [Step(1, "Click run TC")]\r
-        [Step(2, "Press 'Click me' button")]\r
-        [Step(3, "Check if log show \"ComponentBasedTest: CreateWindowInfo success\" before \"ComponentBasedTest: OnCreate\".")]\r
-        [Postcondition(1, "Close the terminal")]\r
-        public async Task CreateWindowInfo_MANUAL_TEST()\r
-        {\r
-            CreateCompButton("Click me!!");\r
-            _comp_button.Clicked += OnClick;\r
-\r
-            /* TEST CODE */\r
-            await ManualTest.WaitForConfirm();\r
-            _comp_button.Clicked -= OnClick;\r
-        }\r
-\r
-        [Test]\r
-        [Category("P1")]\r
-        [Description("MANUAL TEST : OnCreate() should be called after CreateWindowInfo function is called")]\r
-        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.WidgetComponent.OnCreate M")]\r
-        [Property("SPEC_URL", "-")]\r
-        [Property("CRITERIA", "MR")]\r
-        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]\r
-        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]\r
-        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]\r
-        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]\r
-        [Step(1, "Click run TC")]\r
-        [Step(2, "Press 'Click me' button")]\r
-        [Step(3, "Check if log show \"ComponentBasedTest: OnCreate\" after \"ComponentBasedTest: CreateWindowInfo success\".")]\r
-        [Postcondition(1, "Close the terminal")]\r
-        public async Task OnCreate_MANUAL_TEST()\r
-        {\r
-            CreateCompButton("Click me!!");\r
-            _comp_button.Clicked += OnClick;\r
-\r
-            /* TEST CODE */\r
-            await ManualTest.WaitForConfirm();\r
-            _comp_button.Clicked -= OnClick;\r
-        }\r
-\r
-        [Test]\r
-        [Category("P1")]\r
-        [Description("MANUAL TEST : OnDestroy() should be called after Finish function is called")]\r
-        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.WidgetComponent.OnDestroy M")]\r
-        [Property("SPEC_URL", "-")]\r
-        [Property("CRITERIA", "MR")]\r
-        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]\r
-        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]\r
-        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]\r
-        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]\r
-        [Step(1, "Click run TC")]\r
-        [Step(2, "Press 'Click me' button")]\r
-        [Step(3, "Terminate \"WidgetViewerApp.Tizen\" using a command \"app_launcher -t org.tizen.example.WidgetViewerApp.Tizen\"")]\r
-        [Step(4, "Check if log show \"ComponentBasedTest: OnDestroy\".")]\r
-        [Postcondition(1, "Close the terminal")]\r
-        public async Task OnDestroy_MANUAL_TEST()\r
-        {\r
-            CreateCompButton("Click me!!");\r
-            _comp_button.Clicked += OnClick;\r
-\r
-            /* TEST CODE */\r
-            await ManualTest.WaitForConfirm();\r
-            _comp_button.Clicked -= OnClick;\r
-        }\r
-\r
-        [Test]\r
-        [Category("P1")]\r
-        [Description("MANUAL TEST : OnPause() should be called when the application is not visible")]\r
-        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.WidgetComponent.OnPause M")]\r
-        [Property("SPEC_URL", "-")]\r
-        [Property("CRITERIA", "MR")]\r
-        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]\r
-        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]\r
-        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]\r
-        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]\r
-        [Step(1, "Click run TC")]\r
-        [Step(2, "Press 'Click me' button")]\r
-        [Step(3, "Press back button after \"ComponentBasedTest: OnResume\".")]\r
-        [Step(4, "Check if log show \"ComponentBasedTest: OnPause\".")]\r
-        [Postcondition(1, "Close the terminal")]\r
-        public async Task OnPause_MANUAL_TEST()\r
-        {\r
-            CreateCompButton("Click me!!");\r
-            _comp_button.Clicked += OnClick;\r
-\r
-            /* TEST CODE */\r
-            await ManualTest.WaitForConfirm();\r
-            _comp_button.Clicked -= OnClick;\r
-        }\r
-\r
-        [Test]\r
-        [Category("P1")]\r
-        [Description("MANUAL TEST : OnResume() should be called after launch")]\r
-        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.WidgetComponent.OnResume M")]\r
-        [Property("SPEC_URL", "-")]\r
-        [Property("CRITERIA", "MR")]\r
-        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]\r
-        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]\r
-        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]\r
-        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]\r
-        [Step(1, "Click run TC")]\r
-        [Step(2, "Press 'Click me' button")]\r
-        [Step(3, "Check if log show \"ComponentBasedTest: OnResume\".")]\r
-        [Postcondition(1, "Close the terminal")]\r
-        public async Task OnResume_MANUAL_TEST()\r
-        {\r
-            CreateCompButton("Click me!!");\r
-            _comp_button.Clicked += OnClick;\r
-\r
-            /* TEST CODE */\r
-            await ManualTest.WaitForConfirm();\r
-            _comp_button.Clicked -= OnClick;\r
-        }\r
-\r
-        [Test]\r
-        [Category("P1")]\r
-        [Description("MANUAL TEST : OnStart() should be called after launch")]\r
-        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.WidgetComponent.OnStart M")]\r
-        [Property("SPEC_URL", "-")]\r
-        [Property("CRITERIA", "MR")]\r
-        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]\r
-        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]\r
-        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]\r
-        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]\r
-        [Step(1, "Click run TC")]\r
-        [Step(2, "Press 'Click me' button")]\r
-        [Step(3, "Check if log show \"ComponentBasedTest: OnStart\".")]\r
-        [Postcondition(1, "Close the terminal")]\r
-        public async Task OnStart_MANUAL_TEST()\r
-        {\r
-            CreateCompButton("Click me!!");\r
-            _comp_button.Clicked += OnClick;\r
-\r
-            /* TEST CODE */\r
-            await ManualTest.WaitForConfirm();\r
-            _comp_button.Clicked -= OnClick;\r
-        }\r
-\r
-        [Test]\r
-        [Category("P1")]\r
-        [Description("MANUAL TEST : OnStop() should be called when the application is terminated")]\r
-        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.WidgetComponent.OnStop M")]\r
-        [Property("SPEC_URL", "-")]\r
-        [Property("CRITERIA", "MR")]\r
-        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]\r
-        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]\r
-        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]\r
-        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]\r
-        [Step(1, "Click run TC")]\r
-        [Step(2, "Press 'Click me' button")]\r
-        [Step(3, "Terminate \"WidgetViewerApp.Tizen\" using a command \"app_launcher -t org.tizen.example.WidgetViewerApp.Tizen\"")]\r
-        [Step(4, "Check if log show \"ComponentBasedTest: OnStop\" after \"ComponentBasedTest: OnPause\".")]\r
-        [Postcondition(1, "Close the terminal")]\r
-        public async Task OnStop_MANUAL_TEST()\r
-        {\r
-            CreateCompButton("Click me!!");\r
-            _comp_button.Clicked += OnClick;\r
-\r
-            /* TEST CODE */\r
-            await ManualTest.WaitForConfirm();\r
-            _comp_button.Clicked -= OnClick;\r
-        }\r
-\r
-        [Test]\r
-        [Category("P1")]\r
-        [Description("MANUAL TEST : InitializeWindow() should be called after CreateWindowInfo function is called")]\r
-        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.IWindowProxy.InitializeWindow M")]\r
-        [Property("SPEC_URL", "-")]\r
-        [Property("CRITERIA", "MR")]\r
-        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]\r
-        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]\r
-        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]\r
-        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]\r
-        [Step(1, "Click run TC")]\r
-        [Step(2, "Press 'Click me' button")]\r
-        [Step(3, "Check if log show \"ComponentBasedTest: InitializeWindow\".")]\r
-        [Postcondition(1, "Close the terminal")]\r
-        public async Task InitializeWindow_MANUAL_TEST()\r
-        {\r
-            CreateCompButton("Click me!!");\r
-            _comp_button.Clicked += OnClick;\r
-\r
-            /* TEST CODE */\r
-            await ManualTest.WaitForConfirm();\r
-            _comp_button.Clicked -= OnClick;\r
-        }\r
-    }\r
-}\r
-\r
-\r
-\r
+/*
+ *  Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License
+ */
+
+using System;
+using System.Threading.Tasks;
+using NUnit.Framework;
+using NUnit.Framework.TUnit;
+using Tizen.Applications;
+using Xamarin.Forms;
+
+namespace Tizen.ComponentBasedApplication.Tests
+{
+    [TestFixture]
+    [Description("Tizen.Applications.ComponentBasedApplication widget component test")]
+    public class WidgetComponentTests
+    {
+        private TestPage _testPage = TestPage.GetInstance();
+        private Button _comp_button;
+        private string _testAppId = "org.tizen.example.WidgetViewerApp.Tizen";
+        private bool _isMobile = false;
+        private bool _isWearable = false;
+        private bool _isEmulator = false;
+
+        [SetUp]
+        public void Init()
+        {
+            LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
+            _isMobile = ManualTest.IsMobile();
+            _isWearable = ManualTest.IsWearable();
+            _isEmulator = ManualTest.IsEmulator();
+            _comp_button = new Button();
+        }
+
+        [TearDown]
+        public void Destroy()
+        {
+            LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
+            _comp_button = null;
+        }
+
+        private void CreateCompButton(string btnText)
+        {
+            LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateButton");
+            var layout = new StackLayout()
+            {
+                IsVisible = true,
+                HorizontalOptions = LayoutOptions.FillAndExpand,
+                VerticalOptions = LayoutOptions.FillAndExpand,
+            };
+
+            _comp_button = new Button()
+            {
+                Text = btnText,
+                VerticalOptions = LayoutOptions.Center,
+                HorizontalOptions = LayoutOptions.FillAndExpand,
+            };
+
+            layout.Children.Add(_comp_button);
+            _testPage.ExecuteTC(layout);
+        }
+
+        private void OnClick(object sender, EventArgs e)
+        {
+            AppControl control = new AppControl();
+            control.ApplicationId = _testAppId;
+            control.Operation = AppControlOperations.Default;
+            AppControl.SendLaunchRequest(control);
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("MANUAL TEST : CreateWindowInfo() should be called before OnCreate function is called")]
+        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.WidgetComponent.CreateWindowInfo M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]
+        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]
+        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
+        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]
+        [Step(1, "Click run TC")]
+        [Step(2, "Press 'Click me' button")]
+        [Step(3, "Check if log show \"ComponentBasedTest: CreateWindowInfo success\" before \"ComponentBasedTest: OnCreate\".")]
+        [Postcondition(1, "Close the terminal")]
+        public async Task CreateWindowInfo_MANUAL_TEST()
+        {
+            CreateCompButton("Click me!!");
+            _comp_button.Clicked += OnClick;
+
+            /* TEST CODE */
+            await ManualTest.WaitForConfirm();
+            _comp_button.Clicked -= OnClick;
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("MANUAL TEST : OnCreate() should be called after CreateWindowInfo function is called")]
+        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.WidgetComponent.OnCreate M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]
+        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]
+        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
+        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]
+        [Step(1, "Click run TC")]
+        [Step(2, "Press 'Click me' button")]
+        [Step(3, "Check if log show \"ComponentBasedTest: OnCreate\" after \"ComponentBasedTest: CreateWindowInfo success\".")]
+        [Postcondition(1, "Close the terminal")]
+        public async Task OnCreate_MANUAL_TEST()
+        {
+            CreateCompButton("Click me!!");
+            _comp_button.Clicked += OnClick;
+
+            /* TEST CODE */
+            await ManualTest.WaitForConfirm();
+            _comp_button.Clicked -= OnClick;
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("MANUAL TEST : OnDestroy() should be called after Finish function is called")]
+        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.WidgetComponent.OnDestroy M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]
+        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]
+        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
+        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]
+        [Step(1, "Click run TC")]
+        [Step(2, "Press 'Click me' button")]
+        [Step(3, "Terminate \"WidgetViewerApp.Tizen\" using a command \"app_launcher -t org.tizen.example.WidgetViewerApp.Tizen\"")]
+        [Step(4, "Check if log show \"ComponentBasedTest: OnDestroy Widget\".")]
+        [Postcondition(1, "Close the terminal")]
+        public async Task OnDestroy_MANUAL_TEST()
+        {
+            CreateCompButton("Click me!!");
+            _comp_button.Clicked += OnClick;
+
+            /* TEST CODE */
+            await ManualTest.WaitForConfirm();
+            _comp_button.Clicked -= OnClick;
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("MANUAL TEST : OnPause() should be called when the application is not visible")]
+        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.WidgetComponent.OnPause M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]
+        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]
+        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
+        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]
+        [Step(1, "Click run TC")]
+        [Step(2, "Press 'Click me' button")]
+        [Step(3, "Press back button after \"ComponentBasedTest: OnResume Widget\".")]
+        [Step(4, "Check if log show \"ComponentBasedTest: OnPause Widget\".")]
+        [Postcondition(1, "Close the terminal")]
+        public async Task OnPause_MANUAL_TEST()
+        {
+            CreateCompButton("Click me!!");
+            _comp_button.Clicked += OnClick;
+
+            /* TEST CODE */
+            await ManualTest.WaitForConfirm();
+            _comp_button.Clicked -= OnClick;
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("MANUAL TEST : OnResume() should be called after launch")]
+        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.WidgetComponent.OnResume M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]
+        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]
+        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
+        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]
+        [Step(1, "Click run TC")]
+        [Step(2, "Press 'Click me' button")]
+        [Step(3, "Check if log show \"ComponentBasedTest: OnResume Widget\".")]
+        [Postcondition(1, "Close the terminal")]
+        public async Task OnResume_MANUAL_TEST()
+        {
+            CreateCompButton("Click me!!");
+            _comp_button.Clicked += OnClick;
+
+            /* TEST CODE */
+            await ManualTest.WaitForConfirm();
+            _comp_button.Clicked -= OnClick;
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("MANUAL TEST : OnStart() should be called after launch")]
+        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.WidgetComponent.OnStart M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]
+        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]
+        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
+        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]
+        [Step(1, "Click run TC")]
+        [Step(2, "Press 'Click me' button")]
+        [Step(3, "Check if log show \"ComponentBasedTest: OnStart\".")]
+        [Postcondition(1, "Close the terminal")]
+        public async Task OnStart_MANUAL_TEST()
+        {
+            CreateCompButton("Click me!!");
+            _comp_button.Clicked += OnClick;
+
+            /* TEST CODE */
+            await ManualTest.WaitForConfirm();
+            _comp_button.Clicked -= OnClick;
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("MANUAL TEST : OnStop() should be called when the application is terminated")]
+        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.WidgetComponent.OnStop M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]
+        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]
+        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
+        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]
+        [Step(1, "Click run TC")]
+        [Step(2, "Press 'Click me' button")]
+        [Step(3, "Terminate \"WidgetViewerApp.Tizen\" using a command \"app_launcher -t org.tizen.example.WidgetViewerApp.Tizen\"")]
+        [Step(4, "Check if log show \"ComponentBasedTest: OnStop Widget\" after \"ComponentBasedTest: OnPause Widget\".")]
+        [Postcondition(1, "Close the terminal")]
+        public async Task OnStop_MANUAL_TEST()
+        {
+            CreateCompButton("Click me!!");
+            _comp_button.Clicked += OnClick;
+
+            /* TEST CODE */
+            await ManualTest.WaitForConfirm();
+            _comp_button.Clicked -= OnClick;
+        }
+
+        [Test]
+        [Category("P1")]
+        [Description("MANUAL TEST : InitializeWindow() should be called after CreateWindowInfo function is called")]
+        [Property("SPEC", "Tizen.Applications.ComponentBased.Common.IWindowProxy.InitializeWindow M")]
+        [Property("SPEC_URL", "-")]
+        [Property("CRITERIA", "MR")]
+        [Property("AUTHOR", "ChangGyu Choi, changyu.choi@samsung.com")]
+        [Precondition(1, "Kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) if app is alive.")]
+        [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
+        [Precondition(3, "Enter command \"sdb dlog ComponentBasedTest\" to terminal")]
+        [Step(1, "Click run TC")]
+        [Step(2, "Press 'Click me' button")]
+        [Step(3, "Check if log show \"ComponentBasedTest: InitializeWindow\".")]
+        [Postcondition(1, "Close the terminal")]
+        public async Task InitializeWindow_MANUAL_TEST()
+        {
+            CreateCompButton("Click me!!");
+            _comp_button.Clicked += OnClick;
+
+            /* TEST CODE */
+            await ManualTest.WaitForConfirm();
+            _comp_button.Clicked -= OnClick;
+        }
+    }
+}
+
+
+