Selenium Testing Tools CookBook 翻译 ---Selenium 测试秘籍

       这是我的第二本关于selenium翻译的书籍,第一本为<Selenium Beginners’s Guide>,名为Selenium初学者指南,主要介绍了使用Selenium IDE,

和一些关于Selenium RC相关的知识。虽然再后期的自动化开发过程当中IDE并不常用。但是帮助我们定位元素,录一些简单的脚本后转成相

应的语言的功能还是非常方便的。

       关于此书,原版英文书为<Selenium Testing CookBook> ,直译起来名为Selenium的测试食谱,听起来也不是那么的好听,如取名为

Selenium测试饕餮也觉得没有达到这样的高度,太有吹嘘的感觉。本书主要介绍了关于WebDriver一些主要API的使用,对于了解一

些基础的朋友,有着非常大的帮助,由于我本身是使用Java语言编写的脚本,里面所有的测试用例也都是使用Java的,所以对于其它类

的语言就没有那么认真的检查,说白了我也不懂,很多就是拷贝原来的东西。如果有读者发些有问题,敬请联系我进行改正。

本书删除了一些其他的章节。如BDD的使用(Behavior Driven Development),和手机平台的测试,有兴趣的去自已研究下。

       在这里给大家一些使用自动化框架的人一些学习的方向建议,当大家会使用了一些基础的测试自动化脚本完成了一定的场景后,这

仅仅是开始,完成一个好的自动化框架还需要框架的分层,是否可以用PageFactory模式,实现功能与页面元素的分离。

持续集成的编译(如Hudson,Maven),如通过脚本自动执行(可以通过Ant执行T

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
amazon 4星+ 好评 Over 90 recipes to help you build and run automated tests for your web applications with Selenium WebDriver About This Book Learn to leverage the power of Selenium WebDriver with simple examples that illustrate real-world problems and their workarounds Explains the testing of mobile applications with Appium for mobile platforms such as iOS and Android A pragmatic manual with engaging recipes and attractive screenshots to test your web applications efficiently Who This Book Is For This book is intended for software quality assurance/testing professionals, software project managers, or software developers with prior experience in using Selenium and Java to test web-based applications. This books also provides examples for C#, Python and Ruby users. What You Will Learn Understand how the locators work and use various locator methods to build reliable tests Build reliable and maintainable tests with the Selenium WebDriver API Use the PageFactory pattern to build a robust and easy to maintain test framework Build data-driven tests and extend Selenium API to implement custom steps and checks Integrate and use ATDD/BDD tools such as Cucumber, SpecFlow, Capybara, and Behave with the Selenium WebDriver API Set up iPhone/iPad and Android simulators and devices to test your mobile web application with Appium Set up Selenium Grid for faster and parallel running of tests, increasing test coverage and reducing test execution time for cross-browser testing Build extended Selenium WebDriver tests for additional coverage In Detail This book is an incremental guide that will help you learn and use the advanced features of the Selenium toolset including the WebDriver API in various situations to build a reliable test automation. You start off by setting up the test development environment and gain tips on the advanced locater strategy and the effective use of the Selenium WebDriver API. After that, the use of design patterns such as data - driven tests and PageFactory are demonstrated. You will then be familiarised with extending Selenium WebDriver API by implementing custom tasks and setting up your own distributed environment to run tests in parallel for cross-browser testing. Finally, we give you some tips on integrating Selenium WebDriver with other popular tools and testing mobile applications. By the end of this book, you will have learned enough to solve complex testing issues on your own. Style and approach This recipe-based guide covers real-life scenarios of testing your web apps with Selenium. Each recipe begins with a short introduction and key concepts along with illustrated examples of use cases, and ends with detailed but informative descriptions of the inner workings of the example.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值