C

Qt Quick Ultralite Watch Demo

test.log("Starting Test for " + test.platformName());
test.sleep(2000); // Wait for startup animation to finish

// test.getScreen(test.platformName() + "_main_screen");

test.performTouchGesture([ // Swipe
          { x:370, y:150, ts:0 },
          { x:300, y:150, ts:200 },
          { x:200, y:150, ts:200 },
          { x:110, y:150, ts:200 },
          { x:10, y:150, ts:200 },
        ]);

test.sleep(1200);

test.performTouchGesture([ // Swipe
          { x:370, y:150, ts:0 },
          { x:300, y:150, ts:200 },
          { x:200, y:150, ts:200 },
          { x:110, y:150, ts:200 },
          { x:10, y:150, ts:200 },
        ]);

test.sleep(1200);

test.performTouchGesture([ // Swipe
          { x:370, y:150, ts:0 },
          { x:300, y:150, ts:200 },
          { x:200, y:150, ts:200 },
          { x:110, y:150, ts:200 },
          { x:10, y:150, ts:200 },
        ]);

test.sleep(1200);

// Click on "Compass"
test.performTouchGesture( [ {x:90, y:190, ts:0} , {x:90, y:190, ts:100 }]);
test.sleep(1000);

test.succeed();