当前位置:网站首页>10 easy to use automated testing tools

10 easy to use automated testing tools

2020-11-06 01:15:00 InfoQ

{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" We all hope for our Web Application building easy to maintain tests . As part of this goal , We all want to focus on the test itself , And try to avoid getting stuck in the details of implementation . In the long run , Tests should be maintainable , Regular changes to the software don't break the test itself or slow the team down ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","marks":[{"type":"strong"}],"text":" Iteration speed \/ Realistic environment "}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" Some testing tools can provide a short feedback loop between making changes and viewing results , But it can't exactly mimic the behavior of the browser . Other tools may use the actual browser environment , But it will slow down the iteration speed , And it may become more vulnerable in continuous integration systems ."}]},{"type":"heading","attrs":{"align":null,"level":2},"content":[{"type":"text","text":"1. Selenium"}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"image","attrs":{"src":"https:\/\/static001.geekbang.org\/resource\/image\/48\/7a\/48c847046ccb235eaa6766b15a0e227a.png","alt":null,"title":"","style":[{"key":"width","value":"75%"},{"key":"bordertype","value":"none"}],"href":"","fromPaste":false,"pastePass":false}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" Well known browsers web Application testing framework , It can be used Java、C#、Ruby、JavaScript、R and Python And other programming languages to write test cases ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"link","attrs":{"href":"https:\/\/www.selenium.dev\/","title":null,"type":null},"content":[{"type":"text","text":"Selenium"}]},{"type":"text","text":" Provide clients for each language API."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":"Selenium WebDriver Use native operating system level features whenever possible , Not browser based JavaScript To drive the browser ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"type":"text","text":" This bypasses native functionality and JavaScript Problems caused by nuances between commands ( Including security restrictions ). It provides a lot of flexibility , Even supported iframe And multiple browser tags ."}]},{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}}]}

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢