自动化测试

可持续化集成,工具jenkins ,主要通过插件的方式调用第三方应用,比如Svn,MSbuild等。

插件安装及jenkins介绍网上有很多。jenkins自动安装需要连接google,国内被强了,这里是官方手动下载地址:

https://updates.jenkins-ci.org/download/plugins/

下面的例子是用MSbuild和jenkins搭建持续集成环境的文章:

http://www.infoq.com/cn/articles/MSBuild-1

Selenium Grid 是thoughtworks开发的自动测试工具,适用于多系统,多浏览器,并发测试。

selenium IDE只能安装在firefox上,用来录制网页的操作过程。

The main content of the project is to test an Australian recruitment website。

We use the WebDriver to develop the test scripts.

The WebDriver.dll can be download from the http://seleniumhq.org/download/,

the WebDriver.dll provide a lot of methods and we can use them.

We are alse use the PageFactory design patterns.The following is the introduction of PageFactory.

http://code.google.com/p/selenium/wiki/PageFactory

The PageFactory is very userfull to test website.

And we use the BDD framwork is specflow。

BDD mean behavior driver development,you can read introduction from the internet.

In the development process,i have some problems.One of them is how to find the dynamic elements.At last,i use the XPath ,and it can find every

element from the website.And we can use tools to find element.The tools can find element use Xpath.

 

原文地址:https://www.cnblogs.com/y279336671/p/2830134.html