selenium斷言方法 軟件測試學(xué)習(xí)需要用什么軟件?
軟件測試學(xué)習(xí)需要用什么軟件?Selenium,QTP:webautomation testingappium,etc:app automation testingDDMS,AMT:app specia
軟件測試學(xué)習(xí)需要用什么軟件?
Selenium,QTP:webautomation testing
appium,etc:app automation testing
DDMS,AMT:app special tools
fiddler,Charles:packet capture tool,webperformance analysis
postman:interface testing
JUnit,unittest,etc:unit testing framework
sqlog,etc:database operation tool
putty,等:Linux連接工具
AutoIT:功能測試
TestLink:測試用例管理
除此之外,還有項(xiàng)目管理軟件、office、思維導(dǎo)圖、流程圖等多種辦公軟件。測試所需的工具太多了
selenium中用try和catch時,try中是登錄,當(dāng)?shù)卿浭r,執(zhí)行catch,如何寫catch()里的內(nèi)容?
1。如果登錄驗(yàn)證失敗并執(zhí)行了檢查,則不需要將其寫入catch中。您可以在登錄后添加斷言來判斷登錄是否成功。諸如TestNG中的asserttrue之類的斷言方法可以驗(yàn)證自動化。2如果捕獲到異常,則需要在catch Eptione中定義exc,然后捕獲異常并將其打印出來。捕獲(例外){系統(tǒng)輸出打?。╡) }