<html>
<head>
<title>WRT Test: app-widget-Dom-event</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title>AppWidget</title>
<script>
function onloaded() {
document.write("Pass");
document.getElementById("message").innerHTML += e.detail.message;
pdWindow.document.getElementById("fromBox").innerHTML += "<br>[custom event] Hello, PD";
}, false);
- </script>
+ </script>
</head>
<body bgcolor="#99CCFF" text="#FFFFFF" onload="onloaded()">
<div id="demo"><h1>AppWidget Sample</h1></div>
<div id="demo"><h1>This is a Box.</h1></div>
<div id="message"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-Dom-event">
- <tizen:app-widget id="wrt6aws020.appwidgetDomevent.default" primary="true">
- <tizen:box-label>AppWidget DOM event</tizen:box-label>
- <tizen:box-icon src="icon.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="200"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6aws020.appwidgetDomevent" package="wrt6aws020" required_version="2.1"/>
- <icon src="icon.png"/>
- <name>app-widget-Dom-event</name>
-
-</widget>
+ <tizen:app-widget id="wrt6aws020.appwidgetDomevent.default" primary="true">
+ <tizen:box-label>AppWidget DOM event</tizen:box-label>
+ <tizen:box-icon src="icon.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="200"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6aws020.appwidgetDomevent" package="wrt6aws020" required_version="2.1"/>
+ <icon src="icon.png"/>
+ <name>app-widget-Dom-event</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-Dom-event</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<p>This is Web Application for livebox</p>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-Dom-event</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1">
- <title>Test</title>
<script>
- function accessParentElement() {
- window.opener.document.body.style.backgroundColor = "#BBFFFF";
- }
- function accessWebMessaging() {
- window.opener.postMessage ("web messaging!<br>", "*");
- }
-
- // create custom event
- var event = new CustomEvent("pdevent", {
- detail: {
- message: "custom event!<br>",
- time: new Date(),
- },
- bubbles: true,
- cancelable: true
- });
- function accessCustomEvent() {
- window.opener.dispatchEvent(event);
- }
+ function accessParentElement() {
+ window.opener.document.body.style.backgroundColor = "#BBFFFF";
+ }
+ function accessWebMessaging() {
+ window.opener.postMessage("web messaging!<br>", "*");
+ }
+ // create custom event
+ var event = new CustomEvent("pdevent", {
+ detail: {
+ message: "custom event!<br>",
+ time: new Date(),
+ },
+ bubbles: true,
+ cancelable: true
+ });
+ function accessCustomEvent() {
+ window.opener.dispatchEvent(event);
+ }
</script>
</head>
<body bgcolor="#FF9966" text="#FFFFFF">
<input type="button" value="custom event" onclick="accessCustomEvent()">
<div id="fromBox"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-PD-alive</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title>AppWidget</title>
<script>
window.onmessage = function(e) {
document.getElementById("message").innerHTML += e.data;
pdWindow.document.getElementById("fromBox").innerHTML += "<br>[web messaging] Hello, PD";
}
-
window.addEventListener("pdevent",
function(e) {
document.getElementById("message").innerHTML += e.detail.message;
pdWindow.document.getElementById("fromBox").innerHTML += "<br>[custom event] Hello, PD";
}, false);
- </script>
+ </script>
</head>
<body bgcolor="#99CCFF" text="#FFFFFF">
<div id="demo"><h1>AppWidget Sample</h1></div>
<div id="demo"><h1>This is a Box.</h1></div>
<div id="message"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-PD-alive">
- <tizen:app-widget id="wrt6aws030.appwidgetPDalive.default" primary="true">
- <tizen:box-label>widget PD alive</tizen:box-label>
- <tizen:box-icon src="icon.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="200"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6aws030.appwidgetPDalive" package="wrt6aws030" required_version="2.1"/>
- <icon src="icon.png"/>
- <name>app-widget-PD-alive</name>
-
-</widget>
+ <tizen:app-widget id="wrt6aws030.appwidgetPDalive.default" primary="true">
+ <tizen:box-label>widget PD alive</tizen:box-label>
+ <tizen:box-icon src="icon.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="200"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6aws030.appwidgetPDalive" package="wrt6aws030" required_version="2.1"/>
+ <icon src="icon.png"/>
+ <name>app-widget-PD-alive</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-PD-alive</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<div>This is Web Application for livebox</div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-PD-alive</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1">
- <title>Test</title>
<script>
- function accessParentElement() {
- window.opener.document.body.style.backgroundColor = "#BBFFFF";
- }
- function accessWebMessaging() {
- window.opener.postMessage ("web messaging!<br>", "*");
- }
-
- // create custom event
- var event = new CustomEvent("pdevent", {
- detail: {
- message: "custom event!<br>",
- time: new Date(),
- },
- bubbles: true,
- cancelable: true
- });
- function accessCustomEvent() {
- window.opener.dispatchEvent(event);
- }
+ function accessParentElement() {
+ window.opener.document.body.style.backgroundColor = "#BBFFFF";
+ }
+ function accessWebMessaging() {
+ window.opener.postMessage ("web messaging!<br>", "*");
+ }
+ // create custom event
+ var event = new CustomEvent("pdevent", {
+ detail: {
+ message: "custom event!<br>",
+ time: new Date(),
+ },
+ bubbles: true,
+ cancelable: true
+ });
+ function accessCustomEvent() {
+ window.opener.dispatchEvent(event);
+ }
</script>
</head>
<body bgcolor="#FF9966" text="#FFFFFF">
<input type="button" value="custom event" onclick="accessCustomEvent()">
<div id="fromBox"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>Web Dynamic Box</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta charset="utf-8">
<script>
- window.addEventListener("pdmessage",
- function(e) {
- document.getElementById("fromPd").innerHTML += unescape(e) + "<br>";
- window.appwidget.sendMessageToPd("Hello, Drop View");
- }, false);
+ window.addEventListener("pdmessage",
+ function(e) {
+ document.getElementById("fromPd").innerHTML += unescape(e) + "<br>";
+ window.appwidget.sendMessageToPd("Hello, Drop View");
+ }, false);
</script>
</head>
<body bgcolor="#99CCFF" text="#FFFFFF">
<div id="demo">This is a Box.</div>
<div id="fromPd"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/app-widget-box-appwidgetready-event">
- <tizen:app-widget id="wrt6awb006.appwidgetboxappwidgetreadyevent.default" primary="true">
- <tizen:box-label>Dynamic Box</tizen:box-label>
- <tizen:box-icon src="custom.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="600"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6awb006.appwidgetboxappwidgetreadyevent" package="wrt6awb006" required_version="2.2"/>
- <icon src="custom.png"/>
- <name>app-widget-box-appwidgetready-event</name>
-</widget>
+ <tizen:app-widget id="wrt6awb006.appwidgetboxappwidgetreadyevent.default" primary="true">
+ <tizen:box-label>Dynamic Box</tizen:box-label>
+ <tizen:box-icon src="custom.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="600"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6awb006.appwidgetboxappwidgetreadyevent" package="wrt6awb006" required_version="2.2"/>
+ <icon src="custom.png"/>
+ <name>app-widget-box-appwidgetready-event</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-appwidgetready-event</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="http://www.w3.org/TR/CSP" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check that the Web DynamicBox Runtime MUST support special event 'appwidgetready' for checking if events and APIs of Web DynamicBox are ready for use." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href="http://www.w3.org/TR/CSP"/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="Check that the Web DynamicBox Runtime MUST support special event 'appwidgetready' for checking if events and APIs of Web DynamicBox are ready for use."/>
<meta charset="utf-8">
</head>
<body>
<h4>1. Install the DynamicBoxViewer and run it. <br>2. Select the DynamicBox.<br>3. User can use DynamicBox.<hr></h4>
</article>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>Drop View</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta charset="utf-8">
<script>
- window.addEventListener("boxmessage",
- function(e) {
- document.getElementById("fromBox").innerHTML += unescape(e) + '<br>';
- }, false);
-
- function send () {
- if(typeof window.appwidget != 'undefined') {
- window.appwidget.sendMessageToBox("Hello, Dynamic Box");
- } else {
- window.addEventListener("appwidgetready", function(e) {
- window.appwidget.sendMessageToBox("Hello, Dynamic Box");
- }, false);
+ window.addEventListener("boxmessage",
+ function(e) {
+ document.getElementById("fromBox").innerHTML += unescape(e) + '<br>';
+ }, false);
+ function send () {
+ if(typeof window.appwidget != 'undefined') {
+ window.appwidget.sendMessageToBox("Hello, Dynamic Box");
+ } else {
+ window.addEventListener("appwidgetready", function(e) {
+ window.appwidget.sendMessageToBox("Hello, Dynamic Box");
+ }, false);
+ }
}
- }
</script>
</head>
<body bgcolor="#FF9966" text="#FFFFFF">
This is a Drop View.<br>A Drop View can control the Box.<br>
- <input type="button" value="Send message to Box" onclick="send()" />
+ <input type="button" value="Send message to Box" onclick="send()"/>
<div id="fromBox"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-label-en</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body bgcolor="#99CCFF" text="#FFFFFF">
<div id="demo">Box</div>
<div id="fromPd"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-box-label-en">
- <tizen:app-widget id="wrt6awb002.appwidgetboxlabelen.default" primary="true">
- <tizen:box-label xml:lang="en">EN Dynamic Box</tizen:box-label>
- <tizen:box-icon src="custom.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="600"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6awb002.appwidgetboxlabelen" package="wrt6awb002" required_version="2.2"/>
- <icon src="custom.png"/>
- <name>app-widget-box-label-en</name>
-</widget>
+ <tizen:app-widget id="wrt6awb002.appwidgetboxlabelen.default" primary="true">
+ <tizen:box-label xml:lang="en">EN Dynamic Box</tizen:box-label>
+ <tizen:box-icon src="custom.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="600"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6awb002.appwidgetboxlabelen" package="wrt6awb002" required_version="2.2"/>
+ <icon src="custom.png"/>
+ <name>app-widget-box-label-en</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-label-en</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="http://www.w3.org/TR/CSP" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check that xml:lang in <tizen:box-label> is used to specify the language of the box label." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href="http://www.w3.org/TR/CSP"/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="Check that xml:lang in <tizen:box-label> is used to specify the language of the box label."/>
<meta charset="utf-8">
</head>
<body>
<h4>1. Install the DynamicBoxViewer and run it. <br>2. Select the DynamicBox.<br>3. User can use DynamicBox.<hr></h4>
</article>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-label-en</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body bgcolor="#FF9966" text="#FFFFFF">
This is a Drop View.<br>A Drop View can control the Box.<br>
<div id="fromBox"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-label-fr</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body bgcolor="#99CCFF" text="#FFFFFF">
<div id="demo">Box</div>
<div id="fromPd"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-box-label-fr">
- <tizen:app-widget id="wrt6awb010.appwidgetboxlabelfr.default" primary="true">
- <tizen:box-label xml:lang="fr">Caisses dynamique</tizen:box-label>
- <tizen:box-icon src="custom.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="600"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6awb010.appwidgetboxlabelfr" package="wrt6awb010" required_version="2.2"/>
- <icon src="custom.png"/>
- <name>app-widget-box-label-fr</name>
-</widget>
+ <tizen:app-widget id="wrt6awb010.appwidgetboxlabelfr.default" primary="true">
+ <tizen:box-label xml:lang="fr">Caisses dynamique</tizen:box-label>
+ <tizen:box-icon src="custom.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="600"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6awb010.appwidgetboxlabelfr" package="wrt6awb010" required_version="2.2"/>
+ <icon src="custom.png"/>
+ <name>app-widget-box-label-fr</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-label-fr</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="http://www.w3.org/TR/CSP" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check that <tizen:box-label> is used to indicate name of the Web DynamicBox." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href="http://www.w3.org/TR/CSP"/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="Check that <tizen:box-label> is used to indicate name of the Web DynamicBox."/>
<meta charset="utf-8">
</head>
<body>
<h4>1. Install the DynamicBoxViewer and run it. <br>2. Select the DynamicBox.<br>3. User can use DynamicBox.<hr></h4>
</article>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-label-fr</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body bgcolor="#FF9966" text="#FFFFFF">
This is a Drop View.<br>A Drop View can control the Box.<br>
<div id="fromBox"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-label</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<div>liveBox index.html</div>
</body>
-</html>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-box-label">
- <tizen:app-widget id="wrt6awp009.appwidgetboxlabel.default" primary="true">
- <tizen:box-label>Box Label</tizen:box-label>
- <tizen:box-icon src="icon.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="200"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6awp009.appwidgetboxlabel" package="wrt6awp009" required_version="2.1"/>
- <icon src="icon.png"/>
- <name>app-widget-box-label</name>
-
-</widget>
+ <tizen:app-widget id="wrt6awp009.appwidgetboxlabel.default" primary="true">
+ <tizen:box-label>Box Label</tizen:box-label>
+ <tizen:box-icon src="icon.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="200"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6awp009.appwidgetboxlabel" package="wrt6awp009" required_version="2.1"/>
+ <icon src="icon.png"/>
+ <name>app-widget-box-label</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-label</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
- <body>
- <div>This is Web Application for livebox</div>
- </body>
-</html>
+ <body>
+ <div>This is Web Application for livebox</div>
+ </body>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-label</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<div>PD index.html</div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-size-decoration</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body bgcolor="#99CCFF" text="#FFFFFF">
<div id="demo">Box</div>
<div id="fromPd"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-box-size-decoration">
- <tizen:app-widget id="wrt6awb003.appwidgetboxsizedecoration.default" primary="true">
- <tizen:box-label>Dynamic Box</tizen:box-label>
- <tizen:box-icon src="custom.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size use-decoration="false">1x1</tizen:box-size>
- <tizen:box-size use-decoration="false">2x1</tizen:box-size>
- <tizen:box-size use-decoration="true">2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="600"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6awb003.appwidgetboxsizedecoration" package="wrt6awb003" required_version="2.2"/>
- <icon src="custom.png"/>
- <name>app-widget-box-size-decoration</name>
-</widget>
+ <tizen:app-widget id="wrt6awb003.appwidgetboxsizedecoration.default" primary="true">
+ <tizen:box-label>Dynamic Box</tizen:box-label>
+ <tizen:box-icon src="custom.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size use-decoration="false">1x1</tizen:box-size>
+ <tizen:box-size use-decoration="false">2x1</tizen:box-size>
+ <tizen:box-size use-decoration="true">2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="600"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6awb003.appwidgetboxsizedecoration" package="wrt6awb003" required_version="2.2"/>
+ <icon src="custom.png"/>
+ <name>app-widget-box-size-decoration</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-size-decoration</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="http://www.w3.org/TR/CSP" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check that <tizen:box-size use-decoration> is used to indicate size of the Web DynamicBox." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href="http://www.w3.org/TR/CSP"/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="Check that <tizen:box-size use-decoration> is used to indicate size of the Web DynamicBox."/>
<meta charset="utf-8">
</head>
<body>
<h4>1. Install the DynamicBoxViewer and run it. <br>2. Select the DynamicBox.<br>3. User can use DynamicBox.<hr></h4>
</article>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-size-decoration</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body bgcolor="#FF9966" text="#FFFFFF">
This is a Drop View.<br>A Drop View can control the Box.<br>
<div id="fromBox"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-size-preview</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body bgcolor="#99CCFF" text="#FFFFFF">
<div id="demo">Box</div>
<div id="fromPd"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-box-size-preview">
- <tizen:app-widget id="wrt6awb005.appwidgetboxsizepreview.default" primary="true">
- <tizen:box-label>Dynamic Box</tizen:box-label>
- <tizen:box-icon src="custom.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size preview="custom.png">1x1</tizen:box-size>
- <tizen:box-size preview="custom.png">2x1</tizen:box-size>
- <tizen:box-size preview="custom.png">2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="600"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6awb005.appwidgetboxsizepreview" package="wrt6awb005" required_version="2.2"/>
- <icon src="custom.png"/>
- <name>app-widget-box-size-preview</name>
-</widget>
+ <tizen:app-widget id="wrt6awb005.appwidgetboxsizepreview.default" primary="true">
+ <tizen:box-label>Dynamic Box</tizen:box-label>
+ <tizen:box-icon src="custom.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size preview="custom.png">1x1</tizen:box-size>
+ <tizen:box-size preview="custom.png">2x1</tizen:box-size>
+ <tizen:box-size preview="custom.png">2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="600"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6awb005.appwidgetboxsizepreview" package="wrt6awb005" required_version="2.2"/>
+ <icon src="custom.png"/>
+ <name>app-widget-box-size-preview</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-size-preview</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="http://www.w3.org/TR/CSP" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check that <tizen:box-size preview> is used to indicate size of the Web DynamicBox." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href="http://www.w3.org/TR/CSP"/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="Check that <tizen:box-size preview> is used to indicate size of the Web DynamicBox."/>
<meta charset="utf-8">
</head>
<body>
<h4>1. Install the DynamicBoxViewer and run it. <br>2. Select the DynamicBox.<br>3. User can use DynamicBox.<hr></h4>
</article>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-box-size-preview</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body bgcolor="#FF9966" text="#FFFFFF">
This is a Drop View.<br>A Drop View can control the Box.<br>
<div id="fromBox"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-load-event</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check if WRT supports W3C DOM load event" />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="Check if WRT supports W3C DOM load event"/>
<meta charset="utf-8">
<script language="javascript" type="text/javascript">
function onloaded() {
- document.getElementById("result").innerHTML="<p style='color:green'>Pass</p>";
+ document.getElementById("result").innerHTML = "<p style='color:green'>Pass</p>";
}
</script>
</head>
<div>Result:</div>
<div id = "result"><p style="color:red">Fail</p></div>
</body>
-</html>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-load-event">
- <tizen:app-widget id="wrt6aws016.appwidgetloadevent.default" primary="true">
- <tizen:box-label>AppWidget Load event</tizen:box-label>
- <tizen:box-icon src="icon.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="200"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6aws016.appwidgetloadevent" package="wrt6aws016" required_version="2.1"/>
- <icon src="icon.png"/>
- <name>app-widget-load-event</name>
-
-</widget>
+ <tizen:app-widget id="wrt6aws016.appwidgetloadevent.default" primary="true">
+ <tizen:box-label>AppWidget Load event</tizen:box-label>
+ <tizen:box-icon src="icon.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="200"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6aws016.appwidgetloadevent" package="wrt6aws016" required_version="2.1"/>
+ <icon src="icon.png"/>
+ <name>app-widget-load-event</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-load-event</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<p>This is Web Application for livebox</p>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-load-event</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<div>PD index.html</div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: multi-touch-event-true</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check if flag that indicates content of Web AppWidget recieves touch events." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="Check if flag that indicates content of Web AppWidget recieves touch events."/>
<meta charset="utf-8">
- <script type="text/javascript">
- function register(){
- document.getElementById('touchable').addEventListener('touchstart', function(ev) {
- if (ev.targetTouches.length >= 1){
- document.getElementById("touchable").style.background="green";
- }
- }, false);
- }
- </script>
+ <script type="text/javascript">
+ function register() {
+ document.getElementById('touchable').addEventListener('touchstart', function(ev) {
+ if (ev.targetTouches.length >= 1) {
+ document.getElementById("touchable").style.background="green";
+ }
+ }, false);
+ }
+ </script>
</head>
<body onload="register()">
<div id="touchable" style="width:100px;height:100px;background-color:red;"></div>
-</body>
-</html>
+ </body>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-mouse-event-false">
- <tizen:app-widget id="wrt6awi014.appwidgetmouseeventfalse.default" primary="true">
- <tizen:box-label>Mouse event false</tizen:box-label>
- <tizen:box-icon src="icon.png"/>
- <tizen:box-content src="box/index.html" mouse-event="false">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="200"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6awi014.appwidgetmouseeventfalse" package="wrt6awi014" required_version="2.1"/>
- <icon src="icon.png"/>
- <name>app-widget-mouse-event-false</name>
-
-</widget>
+ <tizen:app-widget id="wrt6awi014.appwidgetmouseeventfalse.default" primary="true">
+ <tizen:box-label>Mouse event false</tizen:box-label>
+ <tizen:box-icon src="icon.png"/>
+ <tizen:box-content src="box/index.html" mouse-event="false">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="200"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6awi014.appwidgetmouseeventfalse" package="wrt6awi014" required_version="2.1"/>
+ <icon src="icon.png"/>
+ <name>app-widget-mouse-event-false</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: multi-touch-event-false</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<p>This is Web Application for livebox</p>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-mouse-event-false</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<div>PD index.html</div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: multi-touch-event-true</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check if flag that indicates content of Web AppWidget recieves touch events." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="Check if flag that indicates content of Web AppWidget recieves touch events."/>
<meta charset="utf-8">
- <script type="text/javascript">
- function register(){
- document.getElementById('touchable').addEventListener('touchstart', function(ev) {
- if (ev.targetTouches.length >= 1){
- document.getElementById("touchable").style.background="green";
- }
- }, false);
- }
- </script>
+ <script type="text/javascript">
+ function register() {
+ document.getElementById('touchable').addEventListener('touchstart', function(ev) {
+ if (ev.targetTouches.length >= 1) {
+ document.getElementById("touchable").style.background="green";
+ }
+ }, false);
+ }
+ </script>
</head>
<body onload="register()">
<div id="touchable" style="width:100px;height:100px;background-color:red;"></div>
-</body>
-</html>
+ </body>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-mouse-event-true">
- <tizen:app-widget id="wrt6awi013.appwidgetmouseeventtrue.default" primary="true">
- <tizen:box-label>AppWidget Content mouse event</tizen:box-label>
- <tizen:box-icon src="icon.png"/>
- <tizen:box-content src="box/index.html" mouse-event="true">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="200"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6awi013.appwidgetmouseeventtrue" package="wrt6awi013" required_version="2.1"/>
- <icon src="icon.png"/>
- <name>app-widget-mouse-event-true</name>
-
-</widget>
+ <tizen:app-widget id="wrt6awi013.appwidgetmouseeventtrue.default" primary="true">
+ <tizen:box-label>AppWidget Content mouse event</tizen:box-label>
+ <tizen:box-icon src="icon.png"/>
+ <tizen:box-content src="box/index.html" mouse-event="true">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="200"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6awi013.appwidgetmouseeventtrue" package="wrt6awi013" required_version="2.1"/>
+ <icon src="icon.png"/>
+ <name>app-widget-mouse-event-true</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-mouse-event-true</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<div>This is Web Application for livebox</div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-mouse-event-true</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<div>PD index.html</div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-primary-true-false</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<div>liveBox index.html</div>
</body>
-</html>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-primary-true-false">
- <tizen:app-widget id="wrt6awi004.appwidgetprimarytruefalse.default" primary="true">
- <tizen:box-label>AppWidget Primary set1 true false</tizen:box-label>
- <tizen:box-icon src="icon.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="200"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:app-widget id="wrt6awi004.appwidgetprimarytruefalse.default1" primary="false">
- <tizen:box-label>AppWidget Primary set2 true false</tizen:box-label>
- <tizen:box-icon src="icon.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="200"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6awi004.appwidgetprimarytruefalse" package="wrt6awi004" required_version="2.1"/>
- <icon src="icon.png"/>
- <name>app-widget-primary-true-false</name>
-
-</widget>
+ <tizen:app-widget id="wrt6awi004.appwidgetprimarytruefalse.default" primary="true">
+ <tizen:box-label>AppWidget Primary set1 true false</tizen:box-label>
+ <tizen:box-icon src="icon.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="200"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:app-widget id="wrt6awi004.appwidgetprimarytruefalse.default1" primary="false">
+ <tizen:box-label>AppWidget Primary set2 true false</tizen:box-label>
+ <tizen:box-icon src="icon.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="200"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6awi004.appwidgetprimarytruefalse" package="wrt6awi004" required_version="2.1"/>
+ <icon src="icon.png"/>
+ <name>app-widget-primary-true-false</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-primary-true-false</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<div>This is Web Application for livebox</div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-primary-true-false</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<div>PD index.html</div>
</body>
-</html>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/app-widget-sample" version="1.0.0" viewmodes="maximized">
- <tizen:application id="wrt6app001.appwidgetsample" package="wrt6app001" required_version="2.1"/>
- <content src="index.html"/>
- <icon src="custom.png"/>
- <tizen:app-widget id="wrt6app001.appwidgetsample.default" primary="true">
- <tizen:box-label>Sample</tizen:box-label>
- <tizen:box-icon src="custom.png"/>
- <tizen:box-content src="livebox/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="200"/>
- </tizen:box-content>
- </tizen:app-widget>
- <name>app-widget-sample</name>
-</widget>
+ <tizen:application id="wrt6app001.appwidgetsample" package="wrt6app001" required_version="2.1"/>
+ <content src="index.html"/>
+ <icon src="custom.png"/>
+ <tizen:app-widget id="wrt6app001.appwidgetsample.default" primary="true">
+ <tizen:box-label>Sample</tizen:box-label>
+ <tizen:box-icon src="custom.png"/>
+ <tizen:box-content src="livebox/index.html">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="200"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <name>app-widget-sample</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-sample</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<div>This is the start page file of AppWidget.</div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-sample</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>AppWidget</title>
- <script>
- </script>
- </head>
- <body bgcolor="#99CCFF" text="#FFFFFF">
- <div id="message"></div>
- <div>liveBox index.html</div>
- </body>
-</html>
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
+ </head>
+ <body bgcolor="#99CCFF" text="#FFFFFF">
+ <div id="message"></div>
+ <div>liveBox index.html</div>
+ </body>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-sample</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1" />
- <title>Test</title>
- <script>
- </script>
- </head>
- <body bgcolor="#FF9966" text="#FFFFFF">
- <br><br>
- <div id="fromBox"></div>
- <div>PD index.html</div>
- </body>
-</html>
+ <meta name="viewport" content="initial-scale=1"/>
+ </head>
+ <body bgcolor="#FF9966" text="#FFFFFF">
+ <br><br>
+ <div id="fromBox"></div>
+ <div>PD index.html</div>
+ </body>
+</html>
\ No newline at end of file
<html>
<head>
<title>Web Dynamic Box</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta charset="utf-8">
<script>
- window.addEventListener("pdmessage",
- function(e) {
- document.getElementById("fromPd").innerHTML += unescape(e) + "<br>";
- window.appwidget.sendMessageToPd("Hello, Drop View");
- }, false);
+ window.addEventListener("pdmessage",
+ function(e) {
+ document.getElementById("fromPd").innerHTML += unescape(e) + "<br>";
+ window.appwidget.sendMessageToPd("Hello, Drop View");
+ }, false);
</script>
</head>
<body bgcolor="#99CCFF" text="#FFFFFF">
<div id="demo">This is a Box.</div>
<div id="fromPd"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-sendmessage-box-pd">
- <tizen:app-widget id="wrt6aws008.appwidgetsendmessageboxpd.default" primary="true">
- <tizen:box-label>WEB DYNAMICBOX</tizen:box-label>
- <tizen:box-icon src="custom.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="600"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6aws008.appwidgetsendmessageboxpd" package="wrt6aws008" required_version="2.1"/>
- <icon src="custom.png"/>
- <name>app-widget-sendmessage-box-pd</name>
-</widget>
+ <tizen:app-widget id="wrt6aws008.appwidgetsendmessageboxpd.default" primary="true">
+ <tizen:box-label>WEB DYNAMICBOX</tizen:box-label>
+ <tizen:box-icon src="custom.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="600"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6aws008.appwidgetsendmessageboxpd" package="wrt6aws008" required_version="2.1"/>
+ <icon src="custom.png"/>
+ <name>app-widget-sendmessage-box-pd</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-sendmessage-box-pd</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="http://www.w3.org/TR/CSP" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check that Web DynamicBox Runtime MUST provide special Web APIs for sending message between Box and Drop View." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href="http://www.w3.org/TR/CSP"/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="Check that Web DynamicBox Runtime MUST provide special Web APIs for sending message between Box and Drop View."/>
<meta charset="utf-8">
</head>
<body>
<h4>1. Install the DynamicBoxViewer and run it. <br>2. Select the DynamicBox.<br>3. User can use DynamicBox.<hr></h4>
</article>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>Drop View</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta charset="utf-8">
<script>
- window.addEventListener("boxmessage",
- function(e) {
- document.getElementById("fromBox").innerHTML += unescape(e) + '<br>';
- }, false);
-
- function send () {
- window.appwidget.sendMessageToBox("Hello, Dynamic Box");
- }
+ window.addEventListener("boxmessage",
+ function(e) {
+ document.getElementById("fromBox").innerHTML += unescape(e) + '<br>';
+ }, false);
+ function send () {
+ window.appwidget.sendMessageToBox("Hello, Dynamic Box");
+ }
</script>
</head>
<body bgcolor="#FF9966" text="#FFFFFF">
This is a Drop View.<br>A Drop View can control the Box.<br>
- <input type="button" value="Send message to Box" onclick="send()" />
+ <input type="button" value="Send message to Box" onclick="send()"/>
<div id="fromBox"></div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-signature-invalid</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>AppWidget</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
<script>
- window.onmessage = function(e) {
- document.getElementById("message").innerHTML += e.data;
- pdWindow.document.getElementById("fromBox").innerHTML += "<br>[web messaging] Hello, PD";
- }
-
- window.addEventListener("pdevent",
- function(e) {
- document.getElementById("message").innerHTML += e.detail.message;
- pdWindow.document.getElementById("fromBox").innerHTML += "<br>[custom event] Hello, PD";
- }, false);
- </script>
+ window.onmessage = function(e) {
+ document.getElementById("message").innerHTML += e.data;
+ pdWindow.document.getElementById("fromBox").innerHTML += "<br>[web messaging] Hello, PD";
+ }
+ window.addEventListener("pdevent",
+ function(e) {
+ document.getElementById("message").innerHTML += e.detail.message;
+ pdWindow.document.getElementById("fromBox").innerHTML += "<br>[custom event] Hello, PD";
+ }, false);
+ </script>
</head>
<body bgcolor="#99CCFF" text="#FFFFFF">
<div id="demo">
- <h1>AppWidget Sample</h1>
+ <h1>AppWidget Sample</h1>
</div>
<div id="demo">
- <h1>This is a Box.</h1>
+ <h1>This is a Box.</h1>
</div>
<div id="message"></div>
</body>
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-signature-invalid">
- <tizen:app-widget id="wrt6aws021.appwidgetsignatureinvalid.default" primary="true">
- <tizen:box-label>Web Application Signature invalid</tizen:box-label>
- <tizen:box-icon src="icon.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="200"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6aws021.appwidgetsignatureinvalid" package="wrt6aws021" required_version="2.1"/>
- <icon src="icon.png"/>
- <name>app-widget-signature-invalid</name>
-
-</widget>
+ <tizen:app-widget id="wrt6aws021.appwidgetsignatureinvalid.default" primary="true">
+ <tizen:box-label>Web Application Signature invalid</tizen:box-label>
+ <tizen:box-icon src="icon.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="200"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6aws021.appwidgetsignatureinvalid" package="wrt6aws021" required_version="2.1"/>
+ <icon src="icon.png"/>
+ <name>app-widget-signature-invalid</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-signature-invalid</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<html>
<head>
<title>WRT Test: app-widget-signature-invalid</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1" />
- <title>Test</title>
+ <meta name="viewport" content="initial-scale=1"/>
<script>
- function accessParentElement() {
- window.opener.document.body.style.backgroundColor = "#BBFFFF";
- }
- function accessWebMessaging() {
- window.opener.postMessage ("web messaging!<br>", "*");
- }
-
- // create custom event
- var event = new CustomEvent("pdevent", {
- detail: {
- message: "custom event!<br>",
- time: new Date(),
- },
- bubbles: true,
- cancelable: true
- });
- function accessCustomEvent() {
- window.opener.dispatchEvent(event);
- }
- </script>
+ function accessParentElement() {
+ window.opener.document.body.style.backgroundColor = "#BBFFFF";
+ }
+ function accessWebMessaging() {
+ window.opener.postMessage("web messaging!<br>", "*");
+ }
+ // create custom event
+ var event = new CustomEvent("pdevent", {
+ detail: {
+ message: "custom event!<br>",
+ time: new Date(),
+ },
+ bubbles: true,
+ cancelable: true
+ });
+ function accessCustomEvent() {
+ window.opener.dispatchEvent(event);
+ }
+ </script>
</head>
<body bgcolor="#FF9966" text="#FFFFFF">
- <h2>This is a pd.<br />A Pd can control the Box.</h2>
- <h2> <input type="button" value="access element" onclick="accessParentElement()" /> <input type="button" value="webmessage" onclick="accessWebMessaging()" /> <input type="button" value="custom event" onclick="accessCustomEvent()" />
- <div id="fromBox"></div> </h2>
+ <h2>This is a pd.<br/>A Pd can control the Box.</h2>
+ <h2>
+ <input type="button" value="access element" onclick="accessParentElement()"/>
+ <input type="button" value="webmessage" onclick="accessWebMessaging()"/>
+ <input type="button" value="custom event" onclick="accessCustomEvent()"/>
+ <div id="fromBox"></div>
+ </h2>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-unload-event</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check if WRT supports W3C DOM unload event" />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="Check if WRT supports W3C DOM unload event"/>
<meta charset="utf-8">
<script language="javascript" type="text/javascript">
var counter = 5;
setInterval(checkTime, 1000);
}
window.onload = onloaded();
-
function checkTime() {
counter--;
if(counter < 0) {
}
document.getElementById('timer').innerText = counter;
}
-
window.onbeforeunload = function() {
return "pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass pass";
}
-
function closeWindow(){
window.location.reload();
}
</script>
</head>
<body>
- <div> <span id="timer"></span> second(s).</div>
+ <div><span id="timer"></span> second(s).</div>
</body>
-</html>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-unload-event">
- <tizen:app-widget id="wrt6aws017.appwidgetunloadevent.default" primary="true">
- <tizen:box-label>AppWidget Unload event</tizen:box-label>
- <tizen:box-icon src="icon.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="200"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6aws017.appwidgetunloadevent" package="wrt6aws017" required_version="2.1"/>
- <icon src="icon.png"/>
- <name>app-widget-unload-event</name>
-
-</widget>
+ <tizen:app-widget id="wrt6aws017.appwidgetunloadevent.default" primary="true">
+ <tizen:box-label>AppWidget Unload event</tizen:box-label>
+ <tizen:box-icon src="icon.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="200"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6aws017.appwidgetunloadevent" package="wrt6aws017" required_version="2.1"/>
+ <icon src="icon.png"/>
+ <name>app-widget-unload-event</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-unload-event</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<div>This is Web Application for livebox</div>
</body>
-</html>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-unload-event</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<div>PD index.html</div>
</body>
-</html>
+</html>
\ No newline at end of file
<meta name="assert" content="." />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title>AppWidget</title>
- <script>
-
- var counter = 0;
- function onloaded(){
- setInterval(checkTime, 1000);
- }
- window.onload = onloaded();
- function checkTime() {
- counter++;
- if(counter < 0) {
- window.close();
- }
- document.getElementById('timer').innerText = counter;
- }
-
- </script>
</head>
<body bgcolor="#99CCFF" text="#FFFFFF" >
- <div id="timer"></div>
- <div id="demo"><h1>This is a Box.</h1></div>
- <div id="message"></div>
+ <div id="times"></div>
+ <script>
+ function onloaded() {
+ var storage = window.localStorage;
+ if (!storage.getItem("pageLoadCount"))
+ storage.pageLoadCount = 0;
+ storage.pageLoadCount = parseInt(storage.getItem("pageLoadCount")) + 1;
+ document.getElementById("times").innerHTML = storage.pageLoadCount;
+ }
+ window.onload = onloaded();
+ </script>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-update-period">
- <tizen:app-widget id="wrt6aws007.appwidgetupdateperiod.default" primary="true" update-period="1800.0">
- <tizen:box-label>AppWidget Update period</tizen:box-label>
- <tizen:box-icon src="icon.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="200"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6aws007.appwidgetupdateperiod" package="wrt6aws007" required_version="2.1"/>
- <icon src="icon.png"/>
- <name>app-widget-update-period</name>
-
+ <tizen:app-widget id="wrt6aws007.appwidgetupdateperiod.default" primary="true" update-period="1800.0">
+ <tizen:box-label>AppWidget Update period</tizen:box-label>
+ <tizen:box-icon src="icon.png"/>
+ <tizen:box-content src="box/index.html" mouse-event="true">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="200"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6aws007.appwidgetupdateperiod" package="wrt6aws007" required_version="2.1"/>
+ <icon src="icon.png"/>
+ <name>app-widget-update-period</name>
</widget>
<meta name="assert" content="." />
<meta charset="utf-8">
</head>
- <body>
- <div>This is Web Application for livebox</div>
- </body>
+ <body>
+ <div>This is Web Application for livebox</div>
+ </body>
</html>
<meta name="assert" content="." />
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1">
- <title>Test</title>
- <script>
- function accessParentElement() {
- window.opener.document.body.style.backgroundColor = "#BBFFFF";
- }
- function accessWebMessaging() {
- window.opener.postMessage ("web messaging!<br>", "*");
- }
-
- // create custom event
- var event = new CustomEvent("pdevent", {
- detail: {
- message: "custom event!<br>",
- time: new Date(),
- },
- bubbles: true,
- cancelable: true
- });
- function accessCustomEvent() {
- window.opener.dispatchEvent(event);
- }
- </script>
+ <script>
+ function accessParentElement() {
+ window.opener.document.body.style.backgroundColor = "#BBFFFF";
+ }
+ function accessWebMessaging() {
+ window.opener.postMessage ("web messaging!<br>", "*");
+ }
+ // create custom event
+ var event = new CustomEvent("pdevent", {
+ detail: {
+ message: "custom event!<br>",
+ time: new Date(),
+ },
+ bubbles: true,
+ cancelable: true
+ });
+ function accessCustomEvent() {
+ window.opener.dispatchEvent(event);
+ }
+ </script>
</head>
<body bgcolor="#FF9966" text="#FFFFFF">
<h2>This is a pd.<br>A Pd can control the Box.<h2>
<html>
<head>
<title>WRT Test: app-widget-visibility-event</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check if WRT supports W3C DOM page visibility event visibilitychange" />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="Check if WRT supports W3C DOM page visibility event visibilitychange"/>
<meta charset="utf-8">
<script language="javascript" type="text/javascript">
- function onloaded(){
- document.addEventListener("visibilitychange", visibilityChanged);
- document.addEventListener("webkitvisibilitychange", visibilityChanged);
- document.addEventListener("msvisibilitychange", visibilityChanged);
- }
- function visibilityChanged() {
- document.getElementById("result").innerHTML="<p style='color:green'>Pass</p>";
- }
+ function onloaded() {
+ document.addEventListener("visibilitychange", visibilityChanged);
+ document.addEventListener("webkitvisibilitychange", visibilityChanged);
+ document.addEventListener("msvisibilitychange", visibilityChanged);
+ }
+ function visibilityChanged() {
+ document.getElementById("result").innerHTML="<p style='color:green'>Pass</p>";
+ }
</script>
- <style type="text/css">
- <!--
- body{
- line-height:20%
- }
- -->
- </style>
</head>
<body onload = onloaded()>
<p>Flick down</p>
<div>Result:</div>
<div id="result"><p style="color:red">Fail</p></div>
</body>
-</html>
-
-
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/app-widget-visibility-event">
- <tizen:app-widget id="wrt6aws018.appwidgetvisibilityevent.default" primary="true">
- <tizen:box-label>Visibility widget</tizen:box-label>
- <tizen:box-icon src="icon.png"/>
- <tizen:box-content src="box/index.html">
- <tizen:box-size>1x1</tizen:box-size>
- <tizen:box-size>2x1</tizen:box-size>
- <tizen:box-size>2x2</tizen:box-size>
- <tizen:pd src="pd/index.html" width="600" height="200"/>
- </tizen:box-content>
- </tizen:app-widget>
- <tizen:application id="wrt6aws018.appwidgetvisibilityevent" package="wrt6aws018" required_version="2.1"/>
- <icon src="icon.png"/>
- <name>app-widget-visibility-event</name>
-
-</widget>
+ <tizen:app-widget id="wrt6aws018.appwidgetvisibilityevent.default" primary="true">
+ <tizen:box-label>Visibility widget</tizen:box-label>
+ <tizen:box-icon src="icon.png"/>
+ <tizen:box-content src="box/index.html">
+ <tizen:box-size>1x1</tizen:box-size>
+ <tizen:box-size>2x1</tizen:box-size>
+ <tizen:box-size>2x2</tizen:box-size>
+ <tizen:pd src="pd/index.html" width="600" height="200"/>
+ </tizen:box-content>
+ </tizen:app-widget>
+ <tizen:application id="wrt6aws018.appwidgetvisibilityevent" package="wrt6aws018" required_version="2.1"/>
+ <icon src="icon.png"/>
+ <name>app-widget-visibility-event</name>
+</widget>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-visibility-event</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
- <body>
- <p>This is Web Application for livebox</p>
- </body>
-</html>
+ <body>
+ <p>This is Web Application for livebox</p>
+ </body>
+</html>
\ No newline at end of file
<html>
<head>
<title>WRT Test: app-widget-visibility-event</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="."/>
<meta charset="utf-8">
</head>
<body>
<div>PD index.html</div>
</body>
-</html>
+</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="testcase.xsl"?>
<test_definition>
-<suite name="tct-appwgt-wrt-tests">
- <set name="WebAppWidget">
- <testcase purpose="Check that WRT must support Web AppWidget installation." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="auto" priority="P1" id="app-widget-install">
- <description>
- <pre_condition></pre_condition>
- <post_condition></post_condition>
- <steps>
- <step order="1">
- <step_desc>Check that WRT supports the Web AppWidget installation.</step_desc>
- <expected> WRT supports the Web AppWidget installation.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/tct-appwgt-wrt-tests/scripts/wrt_appwgt_install.sh</test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0900" specification="Web AppWidget Package Management (Install, Uninstall, Update)" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>WRT MUST install Web AppWidget on the time that its Web Application is installed.</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the WRT must support Web AppWidget uninstallation." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="auto" priority="P1" id="app-widget-uninstall">
- <description>
- <pre_condition></pre_condition>
- <post_condition></post_condition>
- <steps>
- <step order="1">
- <step_desc>Check if the WRT supports Web AppWidget uninstallation.</step_desc>
- <expected>The WRT supports Web AppWidget uninstallation.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/tct-appwgt-wrt-tests/scripts/wrt_appwgt_uninstall.sh</test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0910" specification="Web AppWidget Package Management (Install, Uninstall, Update)" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>The WRT MUST support Web AppWidget uninstallation.</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that When Web Application is uninstalled, instances of its Web AppWidget on AppWidget Viewer is removed." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-uninstall-from-viewer">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is not installed.</pre_condition>
- <post_condition></post_condition>
- <steps>
- <step order="1">
- <step_desc>Install app-widget-sample.wgt with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt"</step_desc>
- <expected>PASS: if the widget is installed successfully, its icon is appeared on screen.</expected>
- </step>
- <step order="2">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if sample appWidget's icon is displayed in the appWidget viewer.</expected>
- </step>
- <step order="3">
- <step_desc>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</step_desc>
- <expected>PASS: if the widget is uninstalled successfully.</expected>
- </step>
- <step order="4">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if sample appWidget's icon disappeared in the list of appWidget viewer.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0920" specification="Web AppWidget Package Management (Install, Uninstall, Update)" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is able to install Web AppWidget with valid id." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-id">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if app-widget-sample appWidget's id is displayed in appwidget list(Behind the widget name).</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0940" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is able to check AppWidget's primary label" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-primary-true-false">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-primary-true-false.wgt is installed,install this widget with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-primary-true-false.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-primary-true-false.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-primary-true-false.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if app-widget-primary-true-false appWidget's title("AppWidget Primary set1 true false") is displayed in livebox list.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0940" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is able to update the AppWidget's content according to the update-period." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-update-period">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-update-period.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-update-period.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-update-period.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-update-period.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if app-widget-update-period appWidget's icon display in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "AppWidget Update period" icon</step_desc>
- <expected>PASS: the appwidget is opened.</expected>
- </step>
- <step order="3">
- <step_desc>Touch "Size list" button, select 354x354 in the seclect box. Then flicks down "liveBox index.html" of Web AppWidget.</step_desc>
- <expected>PASS: if the counter updated once a period(1801.0 seconds) in the box.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0940" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is able to indicate the name of the Web AppWidget." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-box-label">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-box-label.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-box-label.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-box-label.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-box-label.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if app-widget-box-label appWidget's icon is displayed in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Check the app-widget-box-label appwidget label</step_desc>
- <expected>PASS: if the label("Box Label") is displayed in appwidget list.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0950" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is able to indicate the icon of the Web AppWidget." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-icon">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if app-widget-sample appWidget's icon is a green "PASS" pictrue in livebox list.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0960" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is able to indicate the start page of the Web AppWidget." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-content">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if app-widget-sample appWidget's icon is displayed in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "Sample" icon</step_desc>
- <expected>PASS: the appwidget is opened.</expected>
- </step>
- <step order="3">
- <step_desc>Touch "Size list" button, select 354x354 in the seclect box</step_desc>
- <expected>PASS: if the "liveBox index.html" is displayed in the box.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0970" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the content of Web AppWidget can response touch event." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P2" id="app-widget-mouse-event-true">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-mouse-event-true.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-mouse-event-true.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-mouse-event-true.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-mouse-event-true.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if appWidget's icon displays in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "AppWidget Content mouse event" icon</step_desc>
- <expected>PASS: if the box is loaded successfully.</expected>
- </step>
- <step order="3">
- <step_desc>Use finger to touch the red filled square</step_desc>
- <expected>PASS: if the square turned to green.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0970" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that the content of Web AppWidget cannot response touch event." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-mouse-event-false">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-mouse-event-false.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-mouse-event-false.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-mouse-event-false.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-mouse-event-false.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if appWidget's icon displays in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "AppWidget Content mouse event" icon</step_desc>
- <expected>PASS: if the box is loaded successfully.</expected>
- </step>
- <step order="3">
- <step_desc>Use finger to touch the red filled square</step_desc>
- <expected>PASS: if the color of the square is unchanged.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0970" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is able to indicate box size which is 1x1." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-box-size-1x1">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if sample appWidget's icon displays in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "Sample" icon</step_desc>
- <expected>PASS: if the box is loaded successfully.</expected>
- </step>
- <step order="3">
- <step_desc>Touch "Size list" button, select 354x175 in the seclect box</step_desc>
- <expected>PASS: the box size raises.</expected>
- </step>
- <step order="4">
- <step_desc>Touch "Size list" button, select 175x175 in the seclect box</step_desc>
- <expected>PASS: the box size is displayed with selected size.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0980" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is able to indicate box size which is 2x1." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P2" id="app-widget-box-size-2x1">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if sample appWidget's icon displays in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "Sample" icon</step_desc>
- <expected>PASS: if the box is loaded successfully.</expected>
- </step>
- <step order="3">
- <step_desc>Touch "Size list" button, select 354x175 in the seclect box</step_desc>
- <expected>PASS: the box size raises.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0980" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is able to indicate box size which is 2x2." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P2" id="app-widget-box-size-2x2">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if sample appWidget's icon displays in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "Sample" icon</step_desc>
- <expected>PASS: if the box is loaded successfully.</expected>
- </step>
- <step order="3">
- <step_desc>Touch "Size list" button, select 354x354 in the seclect box</step_desc>
- <expected>PASS: the box size raises.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0980" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT supports W3C DOM load event." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-load-event">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-load-event.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-load-event.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-load-event.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-load-event.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if app-widget-load-event appWidget's icon displays in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "AppWidget Load event" icon</step_desc>
- <expected>PASS: if the box is loaded successfully, and the green "Pass" is displayed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="1000" specification="Web AppWidget Runtime" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT supports W3C DOM unload event." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-unload-event">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-unload-event.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-unload-event.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-unload-event.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-unload-event.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if appWidget's icon displays in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "AppWidget Unload event" icon</step_desc>
- <expected>PASS: A counter changed from 4 to 0 second(s),then several the words of "pass" displayed on the screen.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="1000" specification="Web AppWidget Runtime" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT supports W3C DOM visibility event." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-visibility-event">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-visibility-event.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-visibility-event.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-visibility-event.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-visibility-event.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if app-widget-visibility-event appWidget's icon displays in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "Visibility widget" icon</step_desc>
- <expected>PASS: if the box is loaded successfully.</expected>
- </step>
- <step order="3">
- <step_desc>Flicks down content of Web AppWidget.</step_desc>
- <expected>PASS: The green pass is displayed in box. PD is opened and displayed "PD index.html".</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="1000" specification="Web AppWidget Runtime" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT supports the Web AppWidget to open its PD." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-open-PD">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if appWidget's icon displays in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "Sample" icon</step_desc>
- <expected>PASS: if the box is loaded successfully.</expected>
- </step>
- <step order="3">
- <step_desc>Flicks down "liveBox index.html" of Web AppWidget.</step_desc>
- <expected>PASS: Its PD is opened and "PD index.html" is displayed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="1040" specification="Web AppWidget Runtime" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is able to support W3C DOM event." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-Dom-event">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-Dom-event.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-Dom-event.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-Dom-event.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-Dom-event.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if appWidget's icon displays in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "AppWidget DOM event" icon</step_desc>
- <expected>PASS: if the box is loaded successfully and "Pass" is displayed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="1050" specification="Web AppWidget Runtime" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is able to alive its PD until the PD is closed." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-PD-alive">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-PD-alive.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-PD-alive.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-PD-alive.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-PD-alive.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if appWidget's icon displays in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "widget PD alive" icon</step_desc>
- <expected>PASS: if the box is loaded successfully.</expected>
- </step>
- <step order="3">
- <step_desc>Flicks down content of Web AppWidget.</step_desc>
- <expected>PASS: Its PD id opened.</expected>
- </step>
- <step order="4">
- <step_desc>Touch the "webmessage" button</step_desc>
- <expected>PASS: "web message!" displayed in the box and "[web messaging]Hello, PD" is added as bellow in PD.</expected>
- </step>
- <step order="5">
- <step_desc>Touch the "custom event" button</step_desc>
- <expected>PASS: "custom event!" displayed in the box and "[custom event]Hello, PD" is added as bellow in PD.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="1060" specification="Web AppWidget Runtime" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT does not allow Web AppWidget which is signed with an invalid signature to be installed." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="auto" priority="P1" id="app-widget-signature-invalid">
- <description>
- <pre_condition></pre_condition>
- <post_condition></post_condition>
- <steps>
- <step order="1">
- <step_desc>Check if WRT does not allow Web AppWidget which is signed with an invalid signature to be installed.</step_desc>
- <expected>WRT does not allow Web AppWidget which is signed with an invalid signature to be installed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">/opt/tct-appwgt-wrt-tests/scripts/wrt_appwgt_installfail.sh app-widget-signature-invalid.wgt</test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="1100" specification="Web AppWidget Security and Privacy" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is able to indicate src of the PD" type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-pd-src">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if app-widget-sample appWidget's icon displays in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "Sample" icon</step_desc>
- <expected>PASS: if the box is loaded successfully.</expected>
- </step>
- <step order="3">
- <step_desc>Flicks down "liveBox index.html" of Web AppWidget.</step_desc>
- <expected>PASS: "PD index.html" is displayed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0990" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that WRT is able to indicate the size of the PD" type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-pd-size">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>PASS: if app-widget-sample appWidget's icon displays in the appWidget viewer.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "Sample" icon</step_desc>
- <expected>PASS: if the box is loaded successfully.</expected>
- </step>
- <step order="3">
- <step_desc>Flicks down content of Web AppWidget.</step_desc>
- <expected>PASS: Its PD is opened and the size is fixed to the width of device.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0"></test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0990" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that DynamicBox Runtime MUST support special event 'appwidgetready' for checking if events and APIs of Web DynamicBox are ready for use." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-box-appwidgetready-event">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk; app-widget-box-appwidgetready-event.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-box-appwidgetready-event.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-box-appwidgetready-event.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-box-appwidgetready-event.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>Dynamic box viewer is launched successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "app-widget-box-appwidgetready-event.wgt" icon.</step_desc>
- <expected>Dynamic box is displayed normally.</expected>
- </step>
- <step order="3">
- <step_desc>Flicks down content of Web AppWidget.</step_desc>
- <expected>Its PD is opened and the size is fixed to the width of device.</expected>
- </step>
- <step order="4">
- <step_desc>Touch "send" button</step_desc>
- <expected>"Hello, Dynamic Box" is displayed on Box, and "Hello, Drop View" is displayed on PD</expected>
- </step>
- </steps>
- <test_script_entry timeout="90">/opt/tct-appwgt-wrt-tests/app-widget-box-appwidgetready-event.wgt</test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="1000" specification="Web DynamicBox Event and API" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement></spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that 'xml:lang=en' in 'tizen:box-label' is used to specify the language of the box label." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-box-label-en">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk; app-widget-box-label-en.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-box-label-en.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-box-label-en.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-box-label-en.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>Dynamic box viewer is launched successfully.</expected>
- </step>
- <step order="2">
- <step_desc>See the AppWidget list.</step_desc>
- <expected>"EN Dynamic Box" is displayed successfully.</expected>
- </step>
- </steps>
- <test_script_entry timeout="90">/opt/tct-appwgt-wrt-tests/app-widget-box-label-en.wgt</test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0950" specification="Web DynamicBox Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement></spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that 'xml:lang=fr' in 'tizen:box-label' is used to specify the language of the box label." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-box-label-fr">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk; app-widget-box-label-fr.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-box-label-fr.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-box-label-fr.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-box-label-fr.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Set display language to "Français"</step_desc>
- <expected>"Français" is set successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>Dynamic box viewer is launched successfully.</expected>
- </step>
- <step order="3">
- <step_desc>See the app-widget-box-label-fr.wgt in AppWidget list.</step_desc>
- <expected>"Caisses dynamique" is displayed successfully.</expected>
- </step>
- </steps>
- <test_script_entry timeout="90">/opt/tct-appwgt-wrt-tests/app-widget-box-label-fr.wgt</test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0950" specification="Web DynamicBox Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement></spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that 'use-decoration' in 'tizen:box-size' is used to indicate that frame decoration by DynamicBox Viewer (like Homescreen) should be applied to box of this size." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-box-size-decoration">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk; app-widget-box-size-decoration.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-box-size-decoration.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-box-size-decoration.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-box-size-decoration.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>Dynamic box viewer is launched successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "app-widget-box-size-decoration.wgt" icon</step_desc>
- <expected>Dynamic box is displayed normally.</expected>
- </step>
- <step order="3">
- <step_desc>Touch the "size list" button and select box size.</step_desc>
- <expected>Box with "354x354" size has frame decoration.</expected>
- </step>
- </steps>
- <test_script_entry timeout="90">/opt/tct-appwgt-wrt-tests/app-widget-box-size-decoration.wgt</test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0950" specification="Web DynamicBox Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement></spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that 'preview' in 'tizen:box-size' is used to display image file of its box-content on DynamicBox Viewer." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-box-size-preview">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk; app-widget-box-size-preview.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-box-size-preview.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-box-size-preview.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-box-size-preview.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>Dynamic box viewer is launched successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "app-widget-box-size-preview.wgt" icon</step_desc>
- <expected>Dynamic box is displayed normally.</expected>
- </step>
- <step order="3">
- <step_desc>Touch "Size list" button</step_desc>
- <expected>"PASS" icons can be displayed on size list.</expected>
- </step>
- </steps>
- <test_script_entry timeout="90">/opt/tct-appwgt-wrt-tests/app-widget-box-size-preview.wgt</test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0980" specification="Web DynamicBox Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement></spec_statement>
- </spec>
- </specs>
- </testcase>
- <testcase purpose="Check that Web DynamicBox Runtime MUST provide special Web APIs for sending message between Box and Drop View." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-sendmessage-box-pd">
- <description>
- <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk; app-widget-sendmessage-box-pd.wgt is installed with the command :"wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sendmessage-box-pd.wgt".</pre_condition>
- <post_condition>Get the 'application id' of app-widget-sendmessage-box-pd.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sendmessage-box-pd.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
- <steps>
- <step order="1">
- <step_desc>Launch AppWidget viewer</step_desc>
- <expected>Dynamic box viewer is launched successfully.</expected>
- </step>
- <step order="2">
- <step_desc>Touch the "app-widget-sendmessage-box-pd.wgt" icon</step_desc>
- <expected>Dynamic box is displayed normally.</expected>
- </step>
- <step order="3">
- <step_desc>Flicks down content of Web AppWidget.</step_desc>
- <expected>Its PD is opened and the size is fixed to the width of device.</expected>
- </step>
- <step order="4">
- <step_desc>Touch "send" button</step_desc>
- <expected>"Hello, Dynamic Box" is displayed on Box, and "Hello, Drop View" is displayed on PD</expected>
- </step>
- </steps>
- <test_script_entry timeout="90">/opt/tct-appwgt-wrt-tests/app-widget-sendmessage-box-pd.wgt</test_script_entry>
- <notes></notes>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="1010" specification="Web DynamicBox Event and API" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
- <spec_url></spec_url>
- <spec_statement></spec_statement>
- </spec>
- </specs>
- </testcase>
- </set>
-</suite>
+ <suite name="tct-appwgt-wrt-tests">
+ <set name="WebAppWidget">
+ <testcase purpose="Check that WRT must support Web AppWidget installation." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="auto" priority="P1" id="app-widget-install">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition></post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check that WRT supports the Web AppWidget installation.</step_desc>
+ <expected>WRT supports the Web AppWidget installation.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0">/opt/tct-appwgt-wrt-tests/scripts/wrt_appwgt_install.sh</test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0900" specification="Web AppWidget Package Management (Install, Uninstall, Update)" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>WRT MUST install Web AppWidget on the time that its Web Application is installed.</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the WRT must support Web AppWidget uninstallation." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="auto" priority="P1" id="app-widget-uninstall">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition></post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check if the WRT supports Web AppWidget uninstallation.</step_desc>
+ <expected>The WRT supports Web AppWidget uninstallation.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0">/opt/tct-appwgt-wrt-tests/scripts/wrt_appwgt_uninstall.sh</test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0910" specification="Web AppWidget Package Management (Install, Uninstall, Update)" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>The WRT MUST support Web AppWidget uninstallation.</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that when Web Application is uninstalled, instances of its Web AppWidget on AppWidget Viewer is removed." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-uninstall-from-viewer">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is not installed.</pre_condition>
+ <post_condition></post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Install app-widget-sample.wgt with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt</step_desc>
+ <expected>PASS: if the widget is installed successfully, its icon is appeared on screen.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if sample appWidget's icon is displayed in the appWidget viewer.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</step_desc>
+ <expected>PASS: if the widget is uninstalled successfully.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if sample appWidget's icon disappeared in the list of appWidget viewer.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0920" specification="Web AppWidget Package Management (Install, Uninstall, Update)" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is able to install Web AppWidget with valid id." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-id">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if app-widget-sample appWidget's id is displayed in appwidget list(Behind the widget name).</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0940" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is able to check AppWidget's primary label" type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-primary-true-false">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-primary-true-false.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-primary-true-false.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-primary-true-false.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-primary-true-false.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if app-widget-primary-true-false appWidget's title("AppWidget Primary set1 true false") is displayed in livebox list.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0940" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is able to update the AppWidget's content according to the update-period." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-update-period">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-update-period.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-update-period.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-update-period.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-update-period.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if app-widget-update-period appWidget's icon displays in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "AppWidget Update period" icon.</step_desc>
+ <expected>PASS: the appwidget is opened and a number is displayed on the screen.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Waiting for 1800 seconds.</step_desc>
+ <expected>PASS: the number is increased by 1.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0940" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is able to indicate the name of the Web AppWidget." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-box-label">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-box-label.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-box-label.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-box-label.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-box-label.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if app-widget-box-label appWidget's icon is displayed in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Check the app-widget-box-label appwidget label</step_desc>
+ <expected>PASS: if the label("Box Label") is displayed in appwidget list.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0950" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is able to indicate the icon of the Web AppWidget." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-icon">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if app-widget-sample appWidget's icon is a green "PASS" pictrue in livebox list.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0960" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is able to indicate the start page of the Web AppWidget." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-content">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if app-widget-sample appWidget's icon is displayed in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "Sample" icon</step_desc>
+ <expected>PASS: the appwidget is opened.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Touch "Size list" button, select 354x354 in the seclect box</step_desc>
+ <expected>PASS: if the "liveBox index.html" is displayed in the box.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0970" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the content of Web AppWidget can response touch event." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P2" id="app-widget-mouse-event-true">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-mouse-event-true.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-mouse-event-true.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-mouse-event-true.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-mouse-event-true.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if appWidget's icon displays in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "AppWidget Content mouse event" icon</step_desc>
+ <expected>PASS: if the box is loaded successfully.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Use finger to touch the red filled square</step_desc>
+ <expected>PASS: if the square turned to green.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0970" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that the content of Web AppWidget cannot response touch event." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-mouse-event-false">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-mouse-event-false.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-mouse-event-false.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-mouse-event-false.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-mouse-event-false.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if appWidget's icon displays in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "Mouse event false" icon</step_desc>
+ <expected>PASS: if the box is loaded successfully.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Use finger to touch the red filled square</step_desc>
+ <expected>PASS: if the color of the square is unchanged.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0970" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is able to indicate box size which is 1x1." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-box-size-1x1">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if sample appWidget's icon displays in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "Sample" icon</step_desc>
+ <expected>PASS: if the box is loaded successfully.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Touch "Size list" button, select 354x175 in the seclect box</step_desc>
+ <expected>PASS: the box size raises.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Touch "Size list" button, select 175x175 in the seclect box</step_desc>
+ <expected>PASS: the box size is displayed with selected size.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0980" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is able to indicate box size which is 2x1." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P2" id="app-widget-box-size-2x1">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if sample appWidget's icon displays in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "Sample" icon</step_desc>
+ <expected>PASS: if the box is loaded successfully.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Touch "Size list" button, select 354x175 in the seclect box</step_desc>
+ <expected>PASS: the box size raises.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0980" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is able to indicate box size which is 2x2." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P2" id="app-widget-box-size-2x2">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if sample appWidget's icon displays in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "Sample" icon</step_desc>
+ <expected>PASS: if the box is loaded successfully.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Touch "Size list" button, select 354x354 in the seclect box</step_desc>
+ <expected>PASS: the box size raises.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0980" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT supports W3C DOM load event." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-load-event">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-load-event.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-load-event.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-load-event.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-load-event.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if app-widget-load-event appWidget's icon displays in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "AppWidget Load event" icon</step_desc>
+ <expected>PASS: if the box is loaded successfully, and the green "Pass" is displayed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="1000" specification="Web AppWidget Runtime" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT supports W3C DOM unload event." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-unload-event">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-unload-event.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-unload-event.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-unload-event.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-unload-event.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if appWidget's icon displays in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "AppWidget Unload event" icon</step_desc>
+ <expected>PASS: A counter changed from 4 to 0 second(s),then several words of "pass" displayed on the screen.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="1000" specification="Web AppWidget Runtime" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT supports W3C DOM visibility event." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-visibility-event">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-visibility-event.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-visibility-event.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-visibility-event.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-visibility-event.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if app-widget-visibility-event appWidget's icon displays in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "Visibility widget" icon</step_desc>
+ <expected>PASS: if the box is loaded successfully.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Flicks down content of Web AppWidget.</step_desc>
+ <expected>PASS: The green pass is displayed in box. PD is opened and displayed "PD index.html".</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="1000" specification="Web AppWidget Runtime" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT supports the Web AppWidget to open its PD." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-open-PD">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if appWidget's icon displays in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "Sample" icon</step_desc>
+ <expected>PASS: if the box is loaded successfully.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Flicks down "liveBox index.html" of Web AppWidget.</step_desc>
+ <expected>PASS: Its PD is opened and "PD index.html" is displayed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="1040" specification="Web AppWidget Runtime" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is able to support W3C DOM event." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-Dom-event">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-Dom-event.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-Dom-event.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-Dom-event.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-Dom-event.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if appWidget's icon displays in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "AppWidget DOM event" icon</step_desc>
+ <expected>PASS: if the box is loaded successfully and "Pass" is displayed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="1050" specification="Web AppWidget Runtime" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is able to alive its PD until the PD is closed." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-PD-alive">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-PD-alive.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-PD-alive.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-PD-alive.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-PD-alive.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if appWidget's icon displays in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "widget PD alive" icon</step_desc>
+ <expected>PASS: if the box is loaded successfully.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Flicks down content of Web AppWidget.</step_desc>
+ <expected>PASS: Its PD is opened.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Touch the "webmessage" button</step_desc>
+ <expected>PASS: "web message!" displayed in the box and "[web messaging]Hello, PD" is added as bellow in PD.</expected>
+ </step>
+ <step order="5">
+ <step_desc>Touch the "custom event" button</step_desc>
+ <expected>PASS: "custom event!" displayed in the box and "[custom event]Hello, PD" is added as bellow in PD.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="1060" specification="Web AppWidget Runtime" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT does not allow Web AppWidget which is signed with an invalid signature to be installed." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="auto" priority="P1" id="app-widget-signature-invalid">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition></post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check if WRT does not allow Web AppWidget which is signed with an invalid signature to be installed.</step_desc>
+ <expected>WRT does not allow Web AppWidget which is signed with an invalid signature to be installed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0">/opt/tct-appwgt-wrt-tests/scripts/wrt_appwgt_installfail.sh app-widget-signature-invalid.wgt</test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="1100" specification="Web AppWidget Security and Privacy" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is able to indicate src of the PD" type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-pd-src">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if app-widget-sample appWidget's icon displays in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "Sample" icon</step_desc>
+ <expected>PASS: if the box is loaded successfully.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Flicks down "liveBox index.html" of Web AppWidget.</step_desc>
+ <expected>PASS: "PD index.html" is displayed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0990" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that WRT is able to indicate the size of the PD" type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-pd-size">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-sample.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sample.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-sample.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sample.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>PASS: if app-widget-sample appWidget's icon displays in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "Sample" icon</step_desc>
+ <expected>PASS: if the box is loaded successfully.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Flicks down content of Web AppWidget.</step_desc>
+ <expected>PASS: Its PD is opened and the size is fixed to the width of device.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0990" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>When Web Application is unstalled, instances of its Web AppWidget on AppWidget Viewer SHOULD be all removed</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that DynamicBox Runtime MUST support special event 'appwidgetready' for checking if events and APIs of Web DynamicBox are ready for use." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-box-appwidgetready-event">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk; app-widget-box-appwidgetready-event.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-box-appwidgetready-event.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-box-appwidgetready-event.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-box-appwidgetready-event.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>Dynamic box viewer is launched successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "app-widget-box-appwidgetready-event.wgt" icon.</step_desc>
+ <expected>Dynamic box is displayed normally.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Flicks down content of Web AppWidget.</step_desc>
+ <expected>Its PD is opened and the size is fixed to the width of device.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Touch "Send message to Box" button</step_desc>
+ <expected>"Hello, Dynamic Box" is displayed on Box, and "Hello, Drop View" is displayed on PD</expected>
+ </step>
+ </steps>
+ <test_script_entry timeout="90">/opt/tct-appwgt-wrt-tests/app-widget-box-appwidgetready-event.wgt</test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="1000" specification="Web DynamicBox Event and API" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement></spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that 'xml:lang=en' in 'tizen:box-label' is used to specify the language of the box label." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-box-label-en">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk; app-widget-box-label-en.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-box-label-en.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-box-label-en.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-box-label-en.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Set display language to "English(US)", launch AppWidget viewer</step_desc>
+ <expected>Dynamic box viewer is launched successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>See the AppWidget list.</step_desc>
+ <expected>"EN Dynamic Box" is displayed successfully.</expected>
+ </step>
+ </steps>
+ <test_script_entry timeout="90">/opt/tct-appwgt-wrt-tests/app-widget-box-label-en.wgt</test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0950" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement></spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that 'xml:lang=fr' in 'tizen:box-label' is used to specify the language of the box label." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-box-label-fr">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk; app-widget-box-label-fr.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-box-label-fr.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-box-label-fr.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-box-label-fr.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Set display language to "Français"</step_desc>
+ <expected>"Français" is set successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>Dynamic box viewer is launched successfully.</expected>
+ </step>
+ <step order="3">
+ <step_desc>See the app-widget-box-label-fr.wgt in AppWidget list.</step_desc>
+ <expected>"Caisses dynamique" is displayed successfully.</expected>
+ </step>
+ </steps>
+ <test_script_entry timeout="90">/opt/tct-appwgt-wrt-tests/app-widget-box-label-fr.wgt</test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0950" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement></spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that 'use-decoration' in 'tizen:box-size' is used to indicate that frame decoration by DynamicBox Viewer (like Homescreen) should be applied to box of this size." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-box-size-decoration">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk; app-widget-box-size-decoration.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-box-size-decoration.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-box-size-decoration.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-box-size-decoration.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>Dynamic box viewer is launched successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "app-widget-box-size-decoration.wgt" icon</step_desc>
+ <expected>Dynamic box is displayed normally.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Touch the "size list" button and select box size.</step_desc>
+ <expected>Box with "354x354" size has frame decoration.</expected>
+ </step>
+ </steps>
+ <test_script_entry timeout="90">/opt/tct-appwgt-wrt-tests/app-widget-box-size-decoration.wgt</test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0950" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement></spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that 'preview' in 'tizen:box-size' is used to display image file of its box-content on DynamicBox Viewer." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-box-size-preview">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk; app-widget-box-size-preview.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-box-size-preview.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-box-size-preview.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-box-size-preview.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>Dynamic box viewer is launched successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "app-widget-box-size-preview.wgt" icon</step_desc>
+ <expected>Dynamic box is displayed normally.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Touch "Size list" button</step_desc>
+ <expected>"PASS" icons can be displayed on size list.</expected>
+ </step>
+ </steps>
+ <test_script_entry timeout="90">/opt/tct-appwgt-wrt-tests/app-widget-box-size-preview.wgt</test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0980" specification="Web AppWidget Configuration Extensions" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement></spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check that Web DynamicBox Runtime MUST provide special Web APIs for sending message between Box and Drop View." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-sendmessage-box-pd">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk; app-widget-sendmessage-box-pd.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-sendmessage-box-pd.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-sendmessage-box-pd.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-sendmessage-box-pd.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer</step_desc>
+ <expected>Dynamic box viewer is launched successfully.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "app-widget-sendmessage-box-pd.wgt" icon</step_desc>
+ <expected>Dynamic box is displayed normally.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Flicks down content of Web AppWidget.</step_desc>
+ <expected>Its PD is opened and the size is fixed to the width of device.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Touch "Send message to Box" button</step_desc>
+ <expected>"Hello, Dynamic Box" is displayed on Box, and "Hello, Drop View" is displayed on PD</expected>
+ </step>
+ </steps>
+ <test_script_entry timeout="90">/opt/tct-appwgt-wrt-tests/app-widget-sendmessage-box-pd.wgt</test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="1010" specification="Web DynamicBox Event and API" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement></spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ <testcase purpose="Check whether the Web DynamicBox Runtime defer reloading DynamicBox until the DynamicBox goes to foreground if DynamicBox is on background when update-period second was expired." type="Functional positive" status="approved" component="Web/Runtime/WebAppWidget" execution_type="manual" priority="P1" id="app-widget-update-reload">
+ <description>
+ <pre_condition>Install the AppWidgetViewer with the command : osp-installer -i /opt/tct-appwgt-wrt-tests/resources/VDtfIPifEI-2.0.0-arm.tpk;app-widget-update-period.wgt is installed with the command :wrt-installer -i /opt/tct-appwgt-wrt-tests/app-widget-update-period.wgt</pre_condition>
+ <post_condition>Get the 'application id' of app-widget-update-period.wgt with the command :"wrt-launcher -l" and uninstall the app-widget-update-period.wgt with the command :"wrt-installer -un 'application id'"</post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Launch AppWidget viewer.</step_desc>
+ <expected>PASS: if app-widget-update-period appWidget's icon display in the appWidget viewer.</expected>
+ </step>
+ <step order="2">
+ <step_desc>Touch the "AppWidget Update period" icon.</step_desc>
+ <expected>PASS: the appwidget is opened and a number is displayed on the screen.</expected>
+ </step>
+ <step order="3">
+ <step_desc>Click "Home" button.</step_desc>
+ <expected>PASS: AppWidget viewer is running background.</expected>
+ </step>
+ <step order="4">
+ <step_desc>Half an hour later,launch AppWidget viewer again.</step_desc>
+ <expected>PASS: the number is increased by 1.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0"></test_script_entry>
+ <notes></notes>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="1030" specification="Web AppWidget Runtime" section="Web AppWidget" category="Tizen WRT Core Specifications"></spec_assertion>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
+ </set>
+ </suite>
</test_definition>