官术网_书友最值得收藏!

Summary

This concludes our first chapter; we got a lot accomplished in it. First we discussed the advantages of using Selenium and other OSS tools over the expensive commercial tools. After that we installed Selenium IDE and recorded our first test script, followed by the step-by-step deconstruction of each command performed in the script.

We then proceeded to convert the recorded test into Ruby programming language, comparing each command from the IDE with its Ruby equivalent. Finally, we started working with the Test::Unit testing framework and then learned about test assertions. We finished the chapter by making the test fail on purpose and played with the Ruby debugger. In the next chapter, we will add a couple of new tests and start to dive deeper into the Test::Unit framework. We will also talk about test suite design patterns that emerge from growing your test suite.

主站蜘蛛池模板: 东方市| 施甸县| 万州区| 通州市| 金门县| 徐汇区| 龙井市| 额济纳旗| 瑞安市| 休宁县| 娱乐| 合水县| 平顶山市| 岳阳市| 灌云县| 丘北县| 马关县| 兰溪市| 谢通门县| 岐山县| 阿拉善右旗| 涞源县| 京山县| 嘉峪关市| 金华市| 昔阳县| 克拉玛依市| 汝阳县| 陇南市| 张家口市| 会同县| 拉萨市| 乡城县| 华池县| 民勤县| 孟连| 娄烦县| 定兴县| 宁蒗| 珲春市| 吴川市|