sudo apt-get install python-pip
sudo pip install requests
sudo dpkg -i testkit-lite-<version>.deb
- 2. Push "httpserver" into test device.
+ 2. Push "testkit-stub" into test device.
sdb root on
- sdb push httpserver /usr/bin
- sdb shell chmod +x /usr/bin/httpserver
+ sdb push testkit-stub /usr/bin
+ sdb shell chmod +x /usr/bin/testkit-stub
3. Run the cases as "root" user.
----------------------------------------------
Todo
-----------------------------------------------
-
-
+----------------------------------------------
\ No newline at end of file
<name>application-privilege</name>
<tizen:application id="wrt5scr031.ApplicationPrivilege" package="wrt5scr031" required_version="2.1"/>
<tizen:privilege name="http://tizen.org/privilege/testautomation"/>
- <tizen:privilege name="http://tizen.org/privilege/calendar.read" />
- <tizen:privilege name="http://tizen.org/privilege/calendar.write" />
+ <tizen:privilege name="http://tizen.org/privilege/calendar.read"/>
+ <tizen:privilege name="http://tizen.org/privilege/calendar.write"/>
</widget>
<html>
<head>
<title>WRT Test: application-privilege</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check that the web runtime be able to identify the required API access privilege." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="Check that the web runtime be able to identify the required API access privilege."/>
<meta charset="utf-8">
<script src="resources/testharness.js"></script>
<script src="resources/testharnessreport.js"></script>
test(function() {
var calendar = tizen.calendar.getDefaultCalendar("EVENT");
var html5seminar = new tizen.CalendarEvent({startDate: new tizen.TZDate(2012, 3, 4),
- duration: new tizen.TimeDuration(3, "DAYS"),
- summary: "HTML5 Seminar"});
+ duration: new tizen.TimeDuration(3, "DAYS"),
+ summary: "HTML5 Seminar"});
calendar.add(html5seminar);
var tizenseminar = html5seminar.clone();
}, "Check that the web runtime be able to identify the required API access privilege");
<?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/setting-install-location-auto" version="1.0.0" viewmodes="maximized">
- <access origin="*"/>
- <tizen:application id="wrt2sil051.SettingInstallLocationAuto" package="wrt2sil051" required_version="2.1"/>
- <content src="index.html"/>
- <icon src="custom.png"/>
- <name>setting-install-location-auto</name>
- <tizen:setting install-location="auto"/>
+ <access origin="*"/>
+ <tizen:application id="wrt2sil051.SettingInstallLocationAuto" package="wrt2sil051" required_version="2.1"/>
+ <content src="index.html"/>
+ <icon src="custom.png"/>
+ <name>setting-install-location-auto</name>
+ <tizen:setting install-location="auto"/>
</widget>
<html>
<head>
<title>WRT Test: setting-install-location-auto</title>
- <link rel="author" title="Intel" href="http://www.intel.com" />
- <link rel="help" href="" />
- <meta name="flags" content="" />
- <meta name="assert" content="Check that when set install-location to 'auto', the install location is system defined install location." />
+ <link rel="author" title="Intel" href="http://www.intel.com"/>
+ <link rel="help" href=""/>
+ <meta name="flags" content=""/>
+ <meta name="assert" content="Check that when set install-location to 'auto', the install location is system defined install location."/>
<meta charset="utf-8">
<script src="resources/testharness.js"></script>
<script src="resources/testharnessreport.js"></script>
}, "Check that when set install-location to 'auto', the install location is system defined install location.");
</script>
</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-ext01-wrt-tests" launcher="WRTLauncher -iu">
+ <suite name="tct-ext01-wrt-tests" launcher="WRTLauncher -iu">
<set name="application-privilege">
- <testcase purpose="Check that the web runtime is able to identify the required API access privilege." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P1" id="application-privilege">
- <description>
- <pre_condition></pre_condition>
- <post_condition></post_condition>
- <steps>
- <step order="1">
- <step_desc>Check if the web runtime is able to identify the required API access privilege</step_desc>
- <expected>The privilege can be accessed.</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="attribute" element_name="N/A" interface="0211" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
+ <testcase purpose="Check that the web runtime is able to identify the required API access privilege." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P1" id="application-privilege">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition></post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check if the web runtime is able to identify the required API access privilege</step_desc>
+ <expected>The privilege can be accessed.</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion element_type="attribute" element_name="N/A" interface="0211" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
</set>
<set name="setting-install-location-auto">
- <testcase purpose="Check that the installation location is at ҳystemҠwhen install-location is set as 'auto'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P3" id="setting-install-location-auto">
- <description>
- <pre_condition></pre_condition>
- <post_condition></post_condition>
- <steps>
- <step order="1">
- <step_desc>Check if installation location of widget is system</step_desc>
- <expected>Widget application is installed at the system</expected>
- </step>
- </steps>
- <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion usage="true" interface="0240" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
- <spec_url></spec_url>
- <spec_statement>TBD</spec_statement>
- </spec>
- </specs>
- </testcase>
+ <testcase purpose="Check that the installation location is at ҳystemҠwhen install-location is set as 'auto'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P3" id="setting-install-location-auto">
+ <description>
+ <pre_condition></pre_condition>
+ <post_condition></post_condition>
+ <steps>
+ <step order="1">
+ <step_desc>Check if installation location of widget is system</step_desc>
+ <expected>Widget application is installed at the system</expected>
+ </step>
+ </steps>
+ <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+ </description>
+ <specs>
+ <spec>
+ <spec_assertion usage="true" interface="0240" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
+ <spec_url></spec_url>
+ <spec_statement>TBD</spec_statement>
+ </spec>
+ </specs>
+ </testcase>
</set>
</suite>
-</test_definition>
+</test_definition>
\ No newline at end of file