<ruby id="h6500"><table id="h6500"></table></ruby>
    1. <ruby id="h6500"><video id="h6500"></video></ruby>
          1. <progress id="h6500"><u id="h6500"><form id="h6500"></form></u></progress>

            基于 SELENIUM 的自動(dòng)化測試架構(18)

            發(fā)表于:2017-04-11來(lái)源:gitbook作者:凌俁Linty?點(diǎn)擊數: 標簽:selenium
            executes before every test method. @AfterMethod : Method annotated with @AfterMethod executes after every test method. 如果在測試之前有些工作我們只想做一次,用不著(zhù)每個(gè)函數之前
             executes before every test method.
          2. @AfterMethod: Method annotated with @AfterMethod executes after every test method.
          3. 如果在測試之前有些工作我們只想做一次,用不著(zhù)每個(gè)函數之前都做一次,那就用下面兩個(gè)來(lái)標注:

            • @BeforeTest: 在第一個(gè) test method 開(kāi)始執行前,執行。
            • @AfterTest: 在最后一個(gè) test method 執行后再執行。

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

            ...
            老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月
              <ruby id="h6500"><table id="h6500"></table></ruby>
              1. <ruby id="h6500"><video id="h6500"></video></ruby>
                    1. <progress id="h6500"><u id="h6500"><form id="h6500"></form></u></progress>