From 638a50cad32757a0927925db3bbb7dbc6e2b3686 Mon Sep 17 00:00:00 2001
From: "Tan.Shiyou" Test the device-height and device-width values
- Test the user-scalable attribute, if it sets no, user unable to scale the page
- Test the maximum-scale and minimum-scale attributes
+ 1. Get the values of device-height and device-width
+ device-height | device-width
+ 2. Test enable scale and disable scale
+ enable scale | disable scale
+ 3. Test the maximum-scale and minimum-scale attributes
+ The test verifies the viewport feature 1.Click the 1st button, test passes if there is no red in test page 2.Click the 2nd button, test passes if user unable to scale the test page 3.Click the 3rd button, test passes if there is only green in screen when you zoom in to maximum 1. Click the 1st button, test passes if the screen color is full of green 2. Click the 2nd button to verify the user-scalable when set 'yes' or 'no'
+     1. Check that user is unable to scale the test page when click the DisableScale button     2. Check that user is able to scale the test page when click the EnableScale button 3. Click the 3rd button to verify the maximum-scale and minimum-scale
+     1. Check that screen background, half is green and other half is yellow when zoom to minimum     2. Check that screen background is full of green when zoom to maximum and there is yellow background when slide to right
- Test passes if there is only green in screen when you zoom in to maximum - |
- - | -- | -- | -
Test passes if there is no red and user unable to zoom in or out -
EnableScale: you can scale the screen
DisableScale: you can not scale the screen
+ + + +