[NUI][Non-ACR] Add test steps for WatchApplication 82/205982/4
authorhuiyu.eun <huiyu.eun@samsung.com>
Mon, 13 May 2019 03:32:05 +0000 (12:32 +0900)
committerhuiyu eun <huiyu.eun@samsung.com>
Mon, 13 May 2019 03:34:54 +0000 (03:34 +0000)
Change-Id: Ic437cfe961ff44358e5828816d87af2ef60ad5a4
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
tct-suite-vs/Tizen.NUI.Wearable.Manual.Tests/testcase/TSNUIWatchApplication.cs

index bfd629c..18053e3 100755 (executable)
@@ -40,11 +40,6 @@ namespace Tizen.NUI.Wearable.Tests
             _isWearable = ManualTest.IsWearable();
             _isEmulator = ManualTest.IsEmulator();
 
-            AppControl myAppControl = new AppControl();
-            myAppControl.Operation = AppControlOperations.Default;
-            myAppControl.ApplicationId = "org.tizen.example.NUIWatchApplicationManualTest";
-            AppControl.SendLaunchRequest(myAppControl);
-
             _testPage = WearableManualTestNUI.GetInstance();
         }
 
@@ -93,11 +88,12 @@ namespace Tizen.NUI.Wearable.Tests
         [Precondition(4, "Enter command \"sdb dlog | grep TestCase\" to terminal")]
         [Precondition(5, "Right click on the mobile emulator and Click ControlPanel")]
         [Step(1, "Click run TC")]
-        [Step(2, "Find and click Memory button in Emulator Control Panel")]
-        [Step(3, "Select Soft Warning button")]
-        [Step(4, "Check if log show \"[TestCase][OnLowMemory][NUIWatchApplication] Pass\".")]
-        [Step(5, "Select Hard Warning button")]
-        [Step(6, "Check if log show \"[TestCase][OnLowMemory][NUIWatchApplication] Pass\".")]
+        [Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(3, "Find and click Memory button in Emulator Control Panel")]
+        [Step(4, "Select Soft Warning button")]
+        [Step(5, "Check if log show \"[TestCase][OnLowMemory][NUIWatchApplication] Pass\".")]
+        [Step(6, "Select Hard Warning button")]
+        [Step(7, "Check if log show \"[TestCase][OnLowMemory][NUIWatchApplication] Pass\".")]
         [Postcondition(1, "Close the terminal")]
         public async Task OnLowMemory_MANUAL_TEST()
         {
@@ -123,9 +119,10 @@ namespace Tizen.NUI.Wearable.Tests
         [Precondition(4, "Enter command \"sdb dlog | grep TestCase\" to terminal")]
         [Precondition(5, "Right click on the mobile emulator and Click ControlPanel")]
         [Step(1, "Click run TC")]
-        [Step(2, "Find and click Battery button in Emulator Control Panel")]
-        [Step(3, "Click level bar to make it under 5%")]
-        [Step(4, "Check if log show \"[TestCase][OnLowBattery][NUIWatchApplication] Pass\".")]
+        [Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(3, "Find and click Battery button in Emulator Control Panel")]
+        [Step(4, "Click level bar to make it under 5%")]
+        [Step(5, "Check if log show \"[TestCase][OnLowBattery][NUIWatchApplication] Pass\".")]
         [Postcondition(1, "Close the terminal")]
         public async Task OnLowBattery_MANUAL_TEST()
         {
@@ -148,7 +145,8 @@ namespace Tizen.NUI.Wearable.Tests
         [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
         [Precondition(3, "Enter command \"sdb dlog | grep TestCase\" to terminal")]
         [Step(1, "Click run TC")]
-        [Step(2, "Check if log show \"[TestCase][OnCreate][NUIWatchApplication] Pass\".")]
+        [Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(3, "Check if log show \"[TestCase][OnCreate][NUIWatchApplication] Pass\".")]
         [Postcondition(1, "Close the terminal")]
         public async Task OnCreate_MANUAL_TEST()
         {
@@ -167,7 +165,8 @@ namespace Tizen.NUI.Wearable.Tests
         [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
         [Precondition(3, "Enter command \"sdb dlog | grep TestCase\" to terminal")]
         [Step(1, "Click run TC")]
-        [Step(2, "Check if log show \"[TestCase][OnPreCreate][NUIWatchApplication] Pass\".")]
+        [Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(3, "Check if log show \"[TestCase][OnPreCreate][NUIWatchApplication] Pass\".")]
         [Postcondition(1, "Close the terminal")]
         public async Task OnPreCreate_MANUAL_TEST()
         {
@@ -186,7 +185,8 @@ namespace Tizen.NUI.Wearable.Tests
         [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
         [Precondition(3, "Enter command \"sdb dlog | grep TestCase\" to terminal")]
         [Step(1, "Click run TC")]
-        [Step(2, "Check if log show \"[TestCase][OnAppControlReceived][NUIWatchApplication] Pass\".")]
+        [Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(3, "Check if log show \"[TestCase][OnAppControlReceived][NUIWatchApplication] Pass\".")]
         [Postcondition(1, "Close the terminal")]
         public async Task OnAppControlReceived_MANUAL_TEST()
         {
@@ -205,9 +205,10 @@ namespace Tizen.NUI.Wearable.Tests
         [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
         [Precondition(3, "Enter command \"sdb dlog | grep TestCase\" to terminal")]
         [Step(1, "Click run TC")]
-        [Step(2, "[Common] if you cannot change a language in a setting app, this test can not be tested. Please click \"Pass\" button.")]
-        [Step(3, "Press Home hardkey -> Setting app -> change language -> return to app test -> wait in 20s")]
-        [Step(4, "Check if log show \"[TestCase][OnLocaleChanged][NUIWatchApplication] Pass\".")]
+        [Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(3, "[Common] if you cannot change a language in a setting app, this test can not be tested. Please click \"Pass\" button.")]
+        [Step(4, "Press Home hardkey -> Setting app -> change language -> return to app test -> wait in 20s")]
+        [Step(5, "Check if log show \"[TestCase][OnLocaleChanged][NUIWatchApplication] Pass\".")]
         [Postcondition(1, "Close the terminal")]
         public async Task OnLocaleChanged_MANUAL_TEST()
         {
@@ -226,10 +227,11 @@ namespace Tizen.NUI.Wearable.Tests
         [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
         [Precondition(3, "Enter command \"sdb dlog | grep TestCase\" to terminal")]
         [Step(1, "Click run TC")]
-        [Step(2, "[mobile] Press Home hardkey -> Setting app -> change language -> return to app test -> wait in 20s")]
-        [Step(3, "[TV profile] Press Home key -> Settings -> System -> Location -> change location -> return to app test -> wait in 20s")]
-        [Step(4, "[TV profile] if there is no \"Location\" menu, this test can not be tested. Please click \"Pass\" button if \"Location\" menu doesn't exist.")]
-        [Step(5, "Check if log show \"[TestCase][OnRegionFormatChanged][NUIWatchApplication] Pass\".")]
+        [Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(3, "[mobile] Press Home hardkey -> Setting app -> change language -> return to app test -> wait in 20s")]
+        [Step(4, "[TV profile] Press Home key -> Settings -> System -> Location -> change location -> return to app test -> wait in 20s")]
+        [Step(5, "[TV profile] if there is no \"Location\" menu, this test can not be tested. Please click \"Pass\" button if \"Location\" menu doesn't exist.")]
+        [Step(6, "Check if log show \"[TestCase][OnRegionFormatChanged][NUIWatchApplication] Pass\".")]
         [Postcondition(1, "Close the terminal")]
         public async Task OnRegionFormatChanged_MANUAL_TEST()
         {
@@ -248,8 +250,9 @@ namespace Tizen.NUI.Wearable.Tests
         [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
         [Precondition(3, "Enter command \"sdb dlog | grep TestCase\" to terminal")]
         [Step(1, "Click run TC")]
-        [Step(2, "Click Exit button")]
-        [Step(3, "Check if log show \"[TestCase][Exit][NUIWatchApplication] Pass\".")]
+        [Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(3, "Click Exit button")]
+        [Step(4, "Check if log show \"[TestCase][Exit][NUIWatchApplication] Pass\".")]
         [Postcondition(1, "Close the terminal")]
         public async Task Exit_MANUAL_TEST()
         {
@@ -268,8 +271,9 @@ namespace Tizen.NUI.Wearable.Tests
         [Precondition(2, "Enter command \"sdb dlog -c\" to clear log")]
         [Precondition(3, "Enter command \"sdb dlog | grep TestCase\" to terminal")]
         [Step(1, "Click run TC")]
-        [Step(2, "Click Exit button")]
-        [Step(3, "Check if log show \"[TestCase][OnTerminate][NUIWatchApplication] Pass\".")]
+        [Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(3, "Click Exit button")]
+        [Step(4, "Check if log show \"[TestCase][OnTerminate][NUIWatchApplication] Pass\".")]
         [Postcondition(1, "Close the terminal")]
         public async Task OnTerminate_MANUAL_TEST()
         {
@@ -378,11 +382,12 @@ namespace Tizen.NUI.Wearable.Tests
         [Precondition(3, "Enter command \"sdb dlog -c\" to clear log")]
         [Precondition(4, "Enter command \"sdb dlog WATCH\" to terminal")]
         [Step(1, "Click run TC")]
-        [Step(2, "Settings > Watch faces and style > watch always on > turn on the watch always on mode")]
-        [Step(3, "Settings > display > Screen time out > 15 seconds")]
-        [Step(4, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
-        [Step(5, "wait to enter to always on display mode")]
-        [Step(6, "Check if log show \"[TestCase][TCT] AmbientChangedEvent\".")]
+        [Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(3, "Settings > Watch faces and style > watch always on > turn on the watch always on mode")]
+        [Step(4, "Settings > display > Screen time out > 15 seconds")]
+        [Step(5, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(6, "wait to enter to always on display mode")]
+        [Step(7, "Check if log show \"[TestCase][TCT] AmbientChangedEvent\".")]
         [Postcondition(1, "Close the terminal")]
         public async Task AmbientChanged_EVENT_TEST()
         {
@@ -402,11 +407,12 @@ namespace Tizen.NUI.Wearable.Tests
         [Precondition(3, "Enter command \"sdb dlog -c\" to clear log")]
         [Precondition(4, "Enter command \"sdb dlog WATCH\" to terminal")]
         [Step(1, "Click run TC")]
-        [Step(2, "Settings > Watch faces and style > watch always on > turn on the watch always on mode")]
-        [Step(3, "Settings > display > Screen time out > 15 seconds")]
-        [Step(4, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
-        [Step(5, "wait to enter to always on display mode")]
-        [Step(6, "Check if log show \"[TestCase][OnAmbientChanged][NUIWatchApplication] Pass\".")]
+        [Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(3, "Settings > Watch faces and style > watch always on > turn on the watch always on mode")]
+        [Step(4, "Settings > display > Screen time out > 15 seconds")]
+        [Step(5, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(6, "wait to enter to always on display mode")]
+        [Step(7, "Check if log show \"[TestCase][OnAmbientChanged][NUIWatchApplication] Pass\".")]
         [Postcondition(1, "Close the terminal")]
         public async Task OnAmbientChanged_Manual_Test()
         {
@@ -426,11 +432,12 @@ namespace Tizen.NUI.Wearable.Tests
         [Precondition(3, "Enter command \"sdb dlog -c\" to clear log")]
         [Precondition(4, "Enter command \"sdb dlog WATCH\" to terminal")]
         [Step(1, "Click run TC")]
-        [Step(2, "Settings > Watch faces and style > watch always on > turn on the watch always on mode")]
-        [Step(3, "Settings > display > Screen time out > 15 seconds")]
-        [Step(4, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
-        [Step(5, "wait to enter to always on display mode")]
-        [Step(6, "Check if log show \"[TestCase][OnAmbientTick][NUIWatchApplication]\".")]
+        [Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(3, "Settings > Watch faces and style > watch always on > turn on the watch always on mode")]
+        [Step(4, "Settings > display > Screen time out > 15 seconds")]
+        [Step(5, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(6, "wait to enter to always on display mode")]
+        [Step(7, "Check if log show \"[TestCase][OnAmbientTick][NUIWatchApplication]\".")]
         [Postcondition(1, "Close the terminal")]
         public async Task OnAmbientTick_Manual_Test()
         {
@@ -450,11 +457,12 @@ namespace Tizen.NUI.Wearable.Tests
         [Precondition(3, "Enter command \"sdb dlog -c\" to clear log")]
         [Precondition(4, "Enter command \"sdb dlog WATCH\" to terminal")]
         [Step(1, "Click run TC")]
-        [Step(2, "Settings > Watch faces and style > watch always on > turn on the watch always on mode")]
-        [Step(3, "Settings > display > Screen time out > 15 seconds")]
-        [Step(4, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
-        [Step(5, "wait to enter to always on display mode")]
-        [Step(6, "Check if log show \"[TestCase][TCT] AmbientTickEvent\".")]
+        [Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(3, "Settings > Watch faces and style > watch always on > turn on the watch always on mode")]
+        [Step(4, "Settings > display > Screen time out > 15 seconds")]
+        [Step(5, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
+        [Step(6, "wait to enter to always on display mode")]
+        [Step(7, "Check if log show \"[TestCase][TCT] AmbientTickEvent\".")]
         [Postcondition(1, "Close the terminal")]
         public async Task AmbientTick_EVENT_TEST()
         {