• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • 基于 SELENIUM 的自動化測試架構(18)

    發表于:2017-04-11來源:gitbook作者:凌俁Linty?點擊數: 標簽:selenium
    executes before every test method. @AfterMethod : Method annotated with @AfterMethod executes after every test method. 如果在測試之前有些工作我們只想做一次,用不著每個函數之前
     executes before every test method.
  • @AfterMethod: Method annotated with @AfterMethod executes after every test method.
  • 如果在測試之前有些工作我們只想做一次,用不著每個函數之前都做一次,那就用下面兩個來標注:

    • @BeforeTest: 在第一個 test method 開始執行前,執行。
    • @AfterTest: 在最后一個 test method 執行后再執行。

    接下來我們用具體的代碼示例,解釋單元測試框架的使用

    ...
    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>