[Xamarin.Form][Non-ACR] Fixed the issue of TC 74/188074/2
authorRinaYou <rina6350.you@samsung.com>
Fri, 31 Aug 2018 04:32:36 +0000 (13:32 +0900)
committerRinaYou <rina6350.you@samsung.com>
Fri, 31 Aug 2018 05:47:43 +0000 (14:47 +0900)
Change-Id: I712034917859c0c042dcd6908f447fb5d5a4d4af

tct-suite-vs/Tizen.XamarinForms.Manual.Tests/testcase/TSMultiPageTemplate.cs
tct-suite-vs/Tizen.XamarinForms.Manual.Tests/testcase/TSStepper.cs

index c78fad06e33745e2b3673a530ee8b54ed5a7648e..1b9d7a8effcbdc9ad7c290af6a226036aa15050d 100755 (executable)
@@ -180,7 +180,7 @@ namespace Xamarin.Forms.Core.UnitTests
         [Property("AUTHOR", "Abu Sina Md. Raju Chowdhury, asm.raju@samsung.com")]
         [Precondition(1, "NA")]
         [Step(1, "Click run TC")]
-        [Step(2, "Click 'Change Page' button")]
+        [Step(2, "Click the second's tab with Page2 text")]
         [Step(3, "Press Back Button")]
         [Step(4, "Testcase result will show PASS automatically otherwise FAIL")]
         [Postcondition(1, "Back to TestPage")]
@@ -202,7 +202,10 @@ namespace Xamarin.Forms.Core.UnitTests
                 VerticalOptions = LayoutOptions.EndAndExpand,
                 Children =
                 {
-                    btnAdd
+                    new Label
+                    {
+                        Text = "This is a Label on Page1"
+                    }
                 }
             };
 
index 4a0a865de49bb44e49f556cebc6b905fbe42f39d..1508338c89000fdafef02651f41b0f56a4d87f56 100755 (executable)
@@ -673,8 +673,8 @@ namespace Xamarin.Forms.Core.UnitTests
         [Property("AUTHOR", "Razin Farhan Hussain, razin.fh@samsung.com")]
         [Precondition(1, "This test will be passed on TV and TV Emulator automatically. (Due to limitation on TV)")]
         [Step(1, "Click run TC")]
-        [Step(2, "Seek Stepper for Width and Height after observe")]
-        [Step(3, "Pass If Height and Width of stepper changed otherwise false")]
+        [Step(2, "Chagne the value of slider for observing the width of Stepper")]
+        [Step(3, "Pass If Width of stepper changed otherwise false")]
         [Postcondition(1, "NA")]
         public async Task Stepper_Width_CHANGE_SIZE()
         {
@@ -691,7 +691,8 @@ namespace Xamarin.Forms.Core.UnitTests
                 HorizontalOptions = LayoutOptions.FillAndExpand,
                 BackgroundColor = Color.Pink,
                 Maximum = 500,
-                Minimum = 120
+                Minimum = (Device.Idiom == TargetIdiom.Phone) ? 320 : 120,
+                Value = (Device.Idiom == TargetIdiom.Phone) ? 320 : 120,
             };
 
             sliderHorizontal.ValueChanged += (o, e) =>