[NUI][Non-ACR] Fix Wearable TCT crash issue - NUI.Components 94/214194/1
authorhuiyu.eun <huiyu.eun@samsung.com>
Thu, 19 Sep 2019 02:28:21 +0000 (11:28 +0900)
committerhuiyu.eun <huiyu.eun@samsung.com>
Thu, 19 Sep 2019 02:28:21 +0000 (11:28 +0900)
Change-Id: Ibdd8109d7f94246ae63eb3085e88973dfdf143e5
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
tct-suite-vs/Tizen.NUI.Components.Manual.Tests/testcase/TSSwitch.cs

index 0104810..82b728c 100755 (executable)
@@ -75,9 +75,16 @@ namespace Tizen.NUI.Components.Tests
             {
                 Normal = _resourcePath + "/images/controller_switch_handler.png",
                 Selected = _resourcePath + "/images/controller_switch_handler.png",
-            };
-
-            _testPage.ExecuteTC(_switch);
+            };\r
+\r
+            if (ManualTest.IsWearable())
+            {\r
+                _wearTestPage.ExecuteTC(_switch);\r
+            }\r
+            else\r
+            {\r
+                _testPage.ExecuteTC(_switch);\r
+            }
         }
 
         private void OnSelectedEvent(object sender, Switch.SelectEventArgs e)