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

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.

主站蜘蛛池模板: 筠连县| 普格县| 绥宁县| 高安市| 斗六市| 阜阳市| 田东县| 新丰县| 武穴市| 荆州市| 甘洛县| 崇州市| 民权县| 衡山县| 通许县| 古田县| 灵丘县| 太原市| 怀仁县| 新竹市| 克拉玛依市| 安远县| 余干县| 山东| 凤冈县| 瑞昌市| 凉山| 岗巴县| 辉县市| 西畴县| 梅河口市| 大关县| 锦州市| 鹤庆县| 阿鲁科尔沁旗| 西藏| 漳平市| 烟台市| 宁远县| 丽江市| 景泰县|