_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();
}
[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()
{
[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()
{
[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()
{
[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()
{
[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()
{
[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()
{
[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()
{
[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()
{
[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()
{
[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()
{
[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()
{
[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()
{
[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()
{