[NUI][Non-ACR] Fix Test Steps 05/217605/4
authorhuiyu.eun <huiyu.eun@samsung.com>
Wed, 13 Nov 2019 04:04:01 +0000 (13:04 +0900)
committerhuiyu eun <huiyu.eun@samsung.com>
Wed, 13 Nov 2019 07:00:24 +0000 (07:00 +0000)
Change-Id: I9c131f402f0a4883787423777d04f57e126d0700
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSNUIApplication.cs
tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSTouch.cs
tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSView.cs
tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSWindow.cs

index a17be28..b2a9f11 100755 (executable)
@@ -372,7 +372,8 @@ namespace Tizen.NUI.Tests
         [Precondition(3, "Enter command \"sdb dlog | grep TestCase\" to terminal")]
         [Step(1, "Click run TC")]
         [Step(2, "Click Pause button")]
-        [Step(3, "Check if log show \"[TestCase][OnResume][NUIApplication] Pass\".")]
+        [Step(3, "Click Resume button")]
+        [Step(4, "Check if log show \"[TestCase][OnResume][NUIApplication] Pass\".")]
         [Postcondition(1, "Close the terminal")]
         public async Task OnResume_MANUAL_TEST()
         {
index 0a959e1..200580b 100755 (executable)
@@ -189,11 +189,11 @@ namespace Tizen.NUI.Tests
         [Step(1, "If test on TV, connect the mouse to the TV")]
         [Step(2, "Click run button to run TC")]
         [Step(3, "Touch the window. If on the TV, click left mouse button.")]
-        [Step(4, "TC will pass after touch or click.")]
+        [Step(4, "TC will pass after touch or click window.")]
         [Postcondition(1, "NA")]
         public async Task GetDeviceId_RETURN_VALUE()
         {
-            CreateView("Touch or click");
+            CreateView("Touch or click window");
             _window.TouchEvent += OnTouchEventGetDeviceId;
             // Waits for user confirmation.
             await ManualTest.WaitForConfirm();
@@ -218,11 +218,11 @@ namespace Tizen.NUI.Tests
         [Step(1, "If test on TV, connect the mouse to the TV")]
         [Step(2, "Click run button to run TC")]
         [Step(3, "Touch the window. If on the TV, click left mouse button.")]
-        [Step(4, "TC will pass after touch or click.")]
+        [Step(4, "TC will pass after touch or click window.")]
         [Postcondition(1, "NA")]
         public async Task GetEllipseRadius_RETURN_VALUE()
         {
-            CreateView("Touch or click");
+            CreateView("Touch or click window");
             _window.TouchEvent += OnTouchEventGetEllipseRadius;
             // Waits for user confirmation.
             await ManualTest.WaitForConfirm();
@@ -246,12 +246,12 @@ namespace Tizen.NUI.Tests
         [Property("AUTHOR", "Wenfeng Ge, wenfeng.ge@samsung.com")]
         [Step(1, "If test on TV, connect the mouse to the TV")]
         [Step(2, "Click run button to run TC")]
-        [Step(3, "Touch the window. If on the TV, click left mouse button.")]
-        [Step(4, "TC will pass after touch or click.")]
+        [Step(3, "Touch the 'Touch me!!' text label. If on the TV, click left mouse button.")]
+        [Step(4, "TC will pass after touch or click text label.")]
         [Postcondition(1, "NA")]
         public async Task GetHitView_RETURN_VALUE()
         {
-            CreateView("Touch or click");
+            CreateView("Touch or click text label");
             _label = new TextLabel()
             {
                 Size2D = new Size2D(500, 156),
@@ -259,7 +259,7 @@ namespace Tizen.NUI.Tests
                 BackgroundColor = Color.Green,
                 PointSize = 28,
                 Focusable = true,
-                Text = "default"
+                Text = "Touch me!!"
             };
             _window.Add(_label);
             _label.TouchEvent += OnTouchEventGetHitView;
@@ -286,11 +286,11 @@ namespace Tizen.NUI.Tests
         [Step(1, "If test on TV, connect the mouse to the TV")]
         [Step(2, "Click run button to run TC")]
         [Step(3, "Touch the window. If on the TV, click left mouse button.")]
-        [Step(4, "TC will pass after touch or click.")]
+        [Step(4, "TC will pass after touch or click window.")]
         [Postcondition(1, "NA")]
         public async Task GetLocalPosition_RETURN_VALUE()
         {
-            CreateView("Touch or click");
+            CreateView("Touch or click window");
             _window.TouchEvent += OnTouchEventGetLocalPosition;
             // Waits for user confirmation.
             await ManualTest.WaitForConfirm();
@@ -315,11 +315,11 @@ namespace Tizen.NUI.Tests
         [Step(1, "If test on TV, connect the mouse to the TV")]
         [Step(2, "Click run button to run TC")]
         [Step(3, "Touch the window. If on the TV, click left mouse button.")]
-        [Step(4, "TC will pass after touch or click.")]
+        [Step(4, "TC will pass after touch or click window.")]
         [Postcondition(1, "NA")]
         public async Task GetPointCount_RETURN_VALUE()
         {
-            CreateView("Touch or click");
+            CreateView("Touch or click window");
             _window.TouchEvent += OnTouchEventGetPointCount;
             // Waits for user confirmation.
             await ManualTest.WaitForConfirm();
@@ -344,11 +344,11 @@ namespace Tizen.NUI.Tests
         [Step(1, "If test on TV, connect the mouse to the TV")]
         [Step(2, "Click run button to run TC")]
         [Step(3, "Touch the window. If on the TV, click left mouse button.")]
-        [Step(4, "TC will pass after touch or click.")]
+        [Step(4, "TC will pass after touch or click window.")]
         [Postcondition(1, "NA")]
         public async Task GetPressure_RETURN_VALUE()
         {
-            CreateView("Touch or click");
+            CreateView("Touch or click window");
             _window.TouchEvent += OnTouchEventGetPressure;
             // Waits for user confirmation.
             await ManualTest.WaitForConfirm();
@@ -373,11 +373,11 @@ namespace Tizen.NUI.Tests
         [Step(1, "If test on TV, connect the mouse to the TV")]
         [Step(2, "Click run button to run TC")]
         [Step(3, "Touch the window. If on the TV, click left mouse button.")]
-        [Step(4, "TC will pass after touch or click.")]
+        [Step(4, "TC will pass after touch or click window.")]
         [Postcondition(1, "NA")]
         public async Task GetRadius_RETURN_VALUE()
         {
-            CreateView("Touch or click");
+            CreateView("Touch or click window");
             _window.TouchEvent += OnTouchEventGetRadius;
             // Waits for user confirmation.
             await ManualTest.WaitForConfirm();
@@ -402,11 +402,11 @@ namespace Tizen.NUI.Tests
         [Step(1, "If test on TV, connect the mouse to the TV")]
         [Step(2, "Click run button to run TC")]
         [Step(3, "Touch the window. If on the TV, click left mouse button.")]
-        [Step(4, "TC will pass after touch or click.")]
+        [Step(4, "TC will pass after touch or click window.")]
         [Postcondition(1, "NA")]
         public async Task GetScreenPosition_RETURN_VALUE()
         {
-            CreateView("Touch or click");
+            CreateView("Touch or click window");
             _window.TouchEvent += OnTouchEventGetScreenPosition;
             // Waits for user confirmation.
             await ManualTest.WaitForConfirm();
@@ -431,11 +431,11 @@ namespace Tizen.NUI.Tests
         [Step(1, "If test on TV, connect the mouse to the TV")]
         [Step(2, "Click run button to run TC")]
         [Step(3, "Touch the window. If on the TV, click left mouse button.")]
-        [Step(4, "TC will pass after touch or click.")]
+        [Step(4, "TC will pass after touch or click window.")]
         [Postcondition(1, "NA")]
         public async Task GetState_RETURN_VALUE()
         {
-            CreateView("Touch or click");
+            CreateView("Touch or click window");
             _window.TouchEvent += OnTouchEventGetState;
             // Waits for user confirmation.
             await ManualTest.WaitForConfirm();
@@ -460,11 +460,11 @@ namespace Tizen.NUI.Tests
         [Step(1, "If test on TV, connect the mouse to the TV")]
         [Step(2, "Click run button to run TC")]
         [Step(3, "Touch the window. If on the TV, click left mouse button.")]
-        [Step(4, "TC will pass after touch or click.")]
+        [Step(4, "TC will pass after touch or click window.")]
         [Postcondition(1, "NA")]
         public async Task GetTime_RETURN_VALUE()
         {
-            CreateView("Touch or click");
+            CreateView("Touch or click window");
             _window.TouchEvent += OnTouchEventGetTime;
             // Waits for user confirmation.
             await ManualTest.WaitForConfirm();
index 6a298e4..bb1c48f 100755 (executable)
@@ -150,7 +150,7 @@ namespace Tizen.NUI.Tests
 
         [Test]
         [Category("P1")]
-        [Description("Test: Handle event input a key. Try to input a key to trigger the event.")]
+        [Description("Test: Handle event TouchEvent.")]
         [Property("SPEC", "Tizen.NUI.BaseComponents.View.TouchEvent E")]
         [Property("SPEC_URL", "-")]
         [Property("CRITERIA", "EVL")]
@@ -158,7 +158,7 @@ namespace Tizen.NUI.Tests
         [Precondition(1, "If test on TV, prepare mouse and connect to TV.")]
         [Step(1, "If test on TV, connect the mouse to the TV")]
         [Step(2, "Click run button to run TC")]
-        [Step(3, "Touch the window. If on the TV, click left mouse button.")]
+        [Step(3, "Touch the button. If on the TV, click left mouse button.")]
         [Step(4, "TC will pass after touch or click.")]
         [Postcondition(1, "NA")]
         public async Task TouchEvent_CB()
index c1b41e6..3931c3d 100755 (executable)
@@ -163,7 +163,7 @@ namespace Tizen.NUI.Tests
         [Step(1, "If test on TV, connect the mouse to the TV")]
         [Step(2, "Click run button to run TC")]
         [Step(3, "Touch the window. If on the TV, click left mouse button.")]
-        [Step(4, "TC will pass after touch or click.")]
+        [Step(4, "TC will pass after touch or click window.")]
         [Postcondition(1, "NA")]
         public async Task TouchEvent_CB()
         {
@@ -175,7 +175,7 @@ namespace Tizen.NUI.Tests
             }
             else
             {
-                CreateView("Touch or click me");
+                CreateView("Touch or click window");
                 _window.TouchEvent += OnWindowEvent;
                 // Waits for user confirmation.
                 await ManualTest.WaitForConfirm();