上一次,向大家介绍了Openqa.org社区提供的、适合web应用的、开源的自动化测试框架 (开源测试工具/社区(Selenium /OpenQA.org)——今非昔比 )。最近,看到STAF+STAX发布了最新版本,包括许多服务组件,可以看出STAF+STAX的框架越来越完整,值得向大家推荐。
September 24, 2008: STAF 3.3.1, STAX 3.3.4, Cron 3.3.3, Email 3.3.2, Event 3.1.2, EventManager 3.3.3, and HTTP 3.0.1 are now available.
而且STAF+STAX自动化测试框架的通用性更强大,适合各类应用系统,不仅适合B/S结构,而且还适合C/S结构的应用。STAF+STAX是一种分布式远程调用体系,支持跨平台和多语言的自动化测试框架。作为完整系统框架,可以看作是3部分组成,即SAFS、STAF和STAX。
(1) SAFS(Software Automation Framework Support,http://safsdev.sourceforge.net/Default.htm )是基于数据驱动和关键字驱动的思想设计的开源自动化测试框架, 支持跨平台、多语言的应用。
(2) STAF(Software Test Automation Framework,http://staf.sourceforge.net/index.php )围绕组件重用的理念,通过服务调用(如远程处理、资源管理、监控等)来完成自动化架构的构造。STAF作为自动化测试框架,提供一种可插拨的机制,支持多平台与多语言的分布式结构。
(3) STAX(STAf eXecution engine,http://staf.sourceforge.net/getstax.php )是基于STAF的执行引擎,它采用XML格式描述。在XML文件中可定义测试工作流,可以实现并行执行、嵌套测试用例、控制运行时间等,STAX支持Java和 Python 模块
除此之外,还提供了许多增强服务,以满足自动化测试的需要,这些服务主要有:
³ 时间驱动服务(Cron Service):按特定时间间隔运行STAF命令。
³ 事件驱动服务(Event Service):由发生的事件来驱动进程通信,从而执行相关的STAF命令。
³ 名字空间服务(Namespace Service):为了变量永久仓库的存储和搜寻而设定名字空间层次。
³ 计数器服务(NamedCounter Service):针对特定的名字来动态地管理其计数器。
³ 计时服务(Timer Service):一台机器周期性地收到另一台机器发来的消息。
³ 邮件服务:将邮件消息发送给一批接收者。
³ 扩展的文件系统请求处理工具(FSExt Service)
根据SAFS、STAF和STAX所具有的服务和功能,我们有信心它可以帮助我们建立一个良好的、企业级的自动化测试环境。下面,我就用一个图来展示它所带给我们的自动化测试环境。虽然没有在图中显示负载、性能测试工具,但实际上它可以支持各种测试工具,包括自己开发的测试工具。

具体应用,可以参考:
如需更多资料,可以访问下列资源:
• SAFS+STAF+STAX
• http://staf.sourceforge.net/index.php
• http://safsdev.sourceforge.net/Default.htm
The Cron service allows you to register STAF commands that will be executed at a specified time interval.
Note: Cron Service V3.3.3 requires STAF V3.1.0 or later.
| File | File Size |
| CronV333.tar | 1.7M |
| CronV333.zip | 1.6M |
| Cron Service User's Guide (V333) | |
| Cron Service History |
The Email service will send an email message to a list of recipients.
Note: Email Service V3.3.2 requires STAF V3.0.0 or later.
| File | File Size |
| EmailV332.tar | 120K |
| EmailV332.zip | 68K |
| Email Service V3 User's Guide (V332) | |
| Email Service V3 History |
The Event service provides an interface to allow process communication based on events occuring.
Note: Event Service V3.1.2 requires STAF V3.1.0 or later.
| File | File Size |
| EventV312.tar | 110K |
| EventV312.zip | 46K |
| Event Service User's Guide (V312) | |
| Event Service History |
EventManager Service Version 3.3.3
The EventManager service allows you to register with the Event Service in order to execute STAF Commands.
Note: EventManager Service V3.3.3 requires STAF V3.1.0 or later.
| File | File Size |
| EventManagerV333.tar | 1.7M |
| EventManagerV333.zip | 1.6M |
| EventManager Service User's Guide (V333) | |
| EventManager Service History |
The FSExt service provides some tools to perform extended file system requests.
Note: FSExt Service V3.0.1 requires STAF V3.0.0 or later.
| File | File Size |
| FSExtV301.tar | 56K |
| FSExtV301.zip | 20K |
| FSExt Service User's Guide (V301) | |
| FSExt Service History |
The HTTP service provides the ability to quickly and easily make HTTP requests.
Note: HTTP Service V3.0.1 requires STAF V3.1.0 or later.
| File | File Size |
| HTTPV301.tar | 1.7M |
| HTTPV301.zip | 1.6M |
| HTTP Service User's Guide (V301) | |
| HTTP Service History |
NamedCounter Service Version 3.0.1
The NamedCounter service provides the ability to dynamically manage counters based on a name.
Note: NamedCounter Service V3.0.1 requires STAF V3.0.0 or later.
| File | File Size |
| NamedCounterV301.tar | 32K |
| NamedCounterV301.zip | 12K |
| NamedCounter Service User's Guide (V301) | |
| NamedCounter Service History |
Namespace Service Version 1.0.0
The Namespace service provides a namespace hierarchy for storing and retrieving a persistent repository of variables.
Note: Namespace Service V1.0.0 requires STAF V3.0.0 or later.
| File | File Size |
| NamespaceV101.tar | 1.1M |
| NamespaceV101.zip | 1.1M |
| Namespace Service User's Guide (V101) | |
| Namespace Service History |
The STAF eXecution Engine (SXE) service allows the user to sequentially execute any number of STAF commands.
Note: SXE Service V3.0.2 requires STAF V3.0.0 or later.
| File | File Size |
| SXEV302tar | 40K |
| SXEV302.zip | 20K |
| SXE Service User's Guide (V302) | |
| SXE Service History |
The Timer service allows a process on one machine to periodically receive a notification message from the same or another machine.
Note: Timer Service V3.0.2 requires STAF V3.0.0 or later.
| File | File Size |
| TimerV302.tar | 76K |
| TimerV302.zip | 32K |
| Timer Service User's Guide (V302) | |
| Timer Service History |
Reference:
本文介绍了STAF+STAX自动化测试框架的最新版本及其提供的多种服务组件,该框架支持跨平台和多语言的分布式自动化测试,并且适用于B/S和C/S结构的应用系统。文中还详细列举了各个服务组件的版本、功能及下载信息。
1257

被折叠的 条评论
为什么被折叠?



