source: branches/version-2_13-dev/test/selenium/backend/products/product/TestCase_Admin_ProductsProduct_regist @ 23066

Revision 23066, 3.0 KB checked in by pineray, 9 years ago (diff)

#2342 JavaScript?のグローバルな宣言を減らす
eccubeオブジェクト内の階層を減らす.

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4<head profile="http://selenium-ide.openqa.org/profiles/test-case">
5<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6<title>商品登録</title>
7</head>
8<body>
9<table cellpadding="1" cellspacing="1" border="1">
10<thead>
11<tr><td rowspan="1" colspan="3">商品登録</td></tr>
12</thead><tbody>
13<tr>
14    <td>clickAndWait</td>
15    <td>//li[@id='navi-products-product']/a/span</td>
16    <td></td>
17</tr>
18<tr>
19    <td>type</td>
20    <td>name</td>
21    <td>テスト登録パン</td>
22</tr>
23<tr>
24    <td>addSelection</td>
25    <td>category_id_unselect</td>
26    <td>label=&gt;食品&gt;お菓子</td>
27</tr>
28<tr>
29    <td>click</td>
30    <td>link=&lt;- 登録</td>
31    <td></td>
32</tr>
33<tr>
34    <td>click</td>
35    <td>status</td>
36    <td></td>
37</tr>
38<tr>
39    <td>click</td>
40    <td>product_status[]</td>
41    <td></td>
42</tr>
43<tr>
44    <td>click</td>
45    <td>//input[@name='product_status[]' and @value='4']</td>
46    <td></td>
47</tr>
48<tr>
49    <td>type</td>
50    <td>product_code</td>
51    <td>test_pan</td>
52</tr>
53<tr>
54    <td>type</td>
55    <td>price01</td>
56    <td>500</td>
57</tr>
58<tr>
59    <td>type</td>
60    <td>price02</td>
61    <td>400</td>
62</tr>
63<tr>
64    <td>click</td>
65    <td>stock_unlimited</td>
66    <td></td>
67</tr>
68<tr>
69    <td>type</td>
70    <td>main_list_comment</td>
71    <td>美味しいパンです。</td>
72</tr>
73<tr>
74    <td>type</td>
75    <td>main_comment</td>
76    <td>美味しいパンです。</td>
77</tr>
78<tr>
79    <td>type</td>
80    <td>//input[@name='main_list_image']</td>
81    <td>C:\Users\lockon\Pictures\ECアイテム\eccubeSample01.jpg</td>
82</tr>
83<tr>
84    <td>clickAndWait</td>
85    <td>//a[@name='btn' and @onclick=&quot;selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', 'main_list_image'); return false;&quot;]</td>
86    <td></td>
87</tr>
88<tr>
89    <td>type</td>
90    <td>//input[@name='main_image']</td>
91    <td>C:\Users\lockon\Pictures\ECアイテム\eccubeSample02.jpg</td>
92</tr>
93<tr>
94    <td>clickAndWait</td>
95    <td>//a[@name='btn' and @onclick=&quot;selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', 'main_image'); return false;&quot;]</td>
96    <td></td>
97</tr>
98<tr>
99    <td>type</td>
100    <td>//input[@name='main_large_image']</td>
101    <td>C:\Users\lockon\Pictures\ECアイテム\eccubeSample03.jpg</td>
102</tr>
103<tr>
104    <td>clickAndWait</td>
105    <td>//a[@name='btn' and @onclick=&quot;selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', 'main_large_image'); return false;&quot;]</td>
106    <td></td>
107</tr>
108<tr>
109    <td>clickAndWait</td>
110    <td>//div[@id='products']/div[5]/li/a/span</td>
111    <td></td>
112</tr>
113<tr>
114    <td>clickAndWait</td>
115    <td>//div[@id='products']/div/ul/li[2]/a/span</td>
116    <td></td>
117</tr>
118<tr>
119    <td>selectWindow</td>
120    <td>null</td>
121    <td></td>
122</tr>
123<tr>
124    <td>clickAndWait</td>
125    <td>//a[@name='btn' and @onclick=&quot;selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', 'main_list_image'); return false;&quot;]</td>
126    <td></td>
127</tr>
128</tbody></table>
129</body>
130</html>
Note: See TracBrowser for help on using the repository browser.