This repository was archived by the owner on Nov 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
src/main/java/org/suren/autotest/web/framework/page Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727import org .suren .autotest .web .framework .core .Keyboard ;
2828import org .suren .autotest .web .framework .core .Mouse ;
2929import org .suren .autotest .web .framework .core .ui .Button ;
30+ import org .suren .autotest .web .framework .core .ui .Text ;
3031import org .suren .autotest .web .framework .data .DynamicData ;
3132import org .suren .autotest .web .framework .selenium .SeleniumEngine ;
3233import org .suren .autotest .web .framework .util .StringUtils ;
@@ -58,6 +59,9 @@ public class Page
5859 /** 通用的按钮 */
5960 @ Autowired
6061 private Button commonBut ;
62+ /** 通用的文本框 */
63+ @ Autowired
64+ private Text commonText ;
6165
6266 @ Autowired
6367 private List <DynamicData > dynamicDataList ;
@@ -250,16 +254,26 @@ public Keyboard getKeyboard()
250254 return keyboard ;
251255 }
252256
253- public Button getCommonBut ()
257+ public final Button getCommonBut ()
254258 {
255259 return commonBut ;
256260 }
257261
258- public void setCommonBut (Button commonBut )
262+ public final void setCommonBut (Button commonBut )
259263 {
260264 this .commonBut = commonBut ;
261265 }
262266
267+ public final Text getCommonText ()
268+ {
269+ return commonText ;
270+ }
271+
272+ public final void setCommonText (Text commonText )
273+ {
274+ this .commonText = commonText ;
275+ }
276+
263277 public String getParamPrefix ()
264278 {
265279 return paramPrefix ;
You can’t perform that action at this time.
0 commit comments