3bb6de1b7cf0d5f94e2c2c131ac2ff068a099fd9
[test/tct/web/api.git] /
1 <!DOCTYPE html>
2
3 <!--
4
5 Copyright (c) 2013 Samsung Electronics Co., Ltd.
6
7 Licensed under the Apache License, Version 2.0 (the License);
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11     http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18
19
20
21 Authors:
22         Mariusz Polasinski <m.polasinski@samsung.com>
23
24
25 -->
26
27 <html lang="en">
28
29 <head>
30 <title>ApplicationManager_launchAppControl_with_appControl_operation.html</title>
31 <meta charset="utf-8">
32 <script type="text/javascript" src="../resources/testharness.js"></script>
33 <script type="text/javascript" src="../resources/testharnessreport.js"></script>
34 <script type="text/javascript" src="support/app_common.js"></script>
35 </head>
36
37 <body>
38 <div id="log"></div>
39 <script type="text/javascript">
40
41 //==== TEST: ApplicationManager_launchAppControl_with_appControl_operation
42 //==== LABEL check using launchAppControl method (with operation of ApplicationControl) in ApplicationManager interface
43 //==== SPEC Tizen Web API:Application:Application:ApplicationManager:launchAppControl M
44 //==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/application.html
45 //==== STEP check if the application is launched - test passed.
46 //==== EXPECT application was launched with absolute success
47 //==== EXECUTION_TYPE auto
48 //==== PRIORITY P1
49 //==== ONLOAD_DELAY 30
50 //==== TEST_CRITERIA MMINA MAST
51
52 setup({timeout: 30000});
53
54 var t = async_test("ApplicationManager_launchAppControl_with_appControl_operation", { timeout : 30000 }),
55     appcontrol;
56
57 setup_launch(t, TCT_APPCONTROL_APPID, function () {
58     appcontrol = new tizen.ApplicationControl(
59         TCT_APPCONTROL_LAUNCH_APPCONTROL_OPERATION
60     );
61
62     tizen.application.launchAppControl(appcontrol);
63
64     assert_launch(t, TCT_APPCONTROL_APPID, function () {
65         t.done();
66     });
67 });
68
69
70 </script>
71 </body>
72 </html>