File tree 4 files changed +15
-10
lines changed
WebContent/WEB-INF/jsp/testcase
4 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,13 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
99
99
<td >
100
100
<select name =" testCase.userId" id =" userId" style =" width : 200px " >
101
101
<option value =" " >- Select a value-</option >
102
- <s:iterator value =" #userList" id =" user" >
103
- <option value =" ${ user. userId } " >${ user. userName } </option >
102
+ <s:iterator value =" #userList" id =" user" >
103
+ <s:if test =" #user.userName == #session.user.userName" >
104
+ <option value =" ${ user. userId } " selected =" selected" >${ user. userName } </option >
105
+ </s:if >
106
+ <s:else >
107
+ <option value =" ${ user. userId } " >${ user. userName } </option >
108
+ </s:else >
104
109
</s:iterator >
105
110
</select >
106
111
<span style =" color :red ;" >*</span >
Original file line number Diff line number Diff line change 221
221
<tr >
222
222
<td >用例编号:</td >
223
223
<td ><input type =" text" name =" testCase.testCasealiasId"
224
- id =" testcasealiasId" value =" ${ testcase. testCasealiasId } " style =" width : 80% ;" /><span style = " color : red ; " >*</ span >< /td >
224
+ id =" testcasealiasId" value =" ${ testcase. testCasealiasId } " style =" width : 80% ;" /></td >
225
225
</tr >
226
226
<tr >
227
227
<td >需求编号:</td >
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
24
24
<th style =" width : 10% ;" >子模块</th >
25
25
<th style =" width : 10% ;" >用例类型</th >
26
26
<th style =" width : 10% ;" >自动化</th >
27
- <th style =" width : 10% ;" >用例编号 </th >
27
+ <th style =" width : 10% ;" >功能点 </th >
28
28
<th style =" width : 10% ;" >操作</th >
29
29
</tr >
30
30
</thead ></display:caption >
@@ -42,7 +42,7 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
42
42
<display:column property =" compName" />
43
43
<display:column property =" testTypeName" />
44
44
<display:column property =" autoName" />
45
- <display:column property =" testCasealiasId " />
45
+ <display:column property =" subCompName " />
46
46
<display:column >
47
47
<a href =" javascript:selectTestCaseClick(${ row. testCaseId } ,${ currPage } );" style =" color :#0059fd ;" >编辑</a >
48
48
</display:column >
Original file line number Diff line number Diff line change 20
20
21
21
<table class =" form_table" >
22
22
<tr >
23
- <th colspan =" 2" class =" form_head" >用例详情</th >
23
+ <th colspan =" 2" class =" form_head" style = " table-layout : fixed ; word-wrap : break-word ; overflow : hidden ; " >用例详情</th >
24
24
</tr >
25
25
<tr >
26
26
<td >部门:</td >
132
132
<td class =" alignl" >
133
133
<s:if test =" #testcase.teamId == 2" ><a href =" ${ testcase. configFiles } " target =" _blank" >${ testcase. configFiles } </a ></s:if >
134
134
<s:else >
135
- ${ testcase. configFiles }
135
+ < pre > ${ testcase. configFiles } </ pre >
136
136
</s:else ></td >
137
137
</tr >
138
138
<tr >
139
139
<td >执行步骤:</td >
140
- <td >${ testcase. executionSteps } </td >
140
+ <td >< pre > ${ testcase. executionSteps } </ pre > </td >
141
141
</tr >
142
142
<tr >
143
143
<td >期望结果:</td >
144
- <td >${ testcase. expectedResult } </td >
144
+ <td >< pre > ${ testcase. expectedResult } </ pre > </td >
145
145
</tr >
146
146
<tr >
147
147
<td >用例描述:</td >
148
- <td >${ testcase. description } </td >
148
+ <td >< pre > ${ testcase. description } </ pre > </td >
149
149
</tr >
150
150
<tr >
151
151
<td >创建日期:</td >
You can’t perform that action at this time.
0 commit comments