分类: Python/Ruby
2009-08-17 08:27:02
磁针石:xurongzhong#gmail.com
Robot Framework User Guide
Version 2.1
Copyright ? Nokia Siemens Networks 2008-2009
Licensed under the Apache License, Version 2.0
Table of Contents
1 Getting started
1.1 Introduction
1.2 Copyright and license
1.3 Installation and uninstallation
1.4 Demonstrations
2 Creating test data
2.1 Test data syntax
2.2 Creating test cases
2.3 Creating test suites
2.4 Using test libraries
2.5 Variables
2.6 Creating user keywords
2.7 Resource and variable files
2.8 Advanced features
3 Executing test cases
3.1 Basic usage
3.2 Configuring execution
3.3 Created outputs
4 Extending Robot Framework
4.1 Creating test libraries
4.2 Remote library interface
4.3 Using listener interface
4.4 Using internal APIs
5 Appendices
5.1 All available settings in test data
5.2 All command line options
5.3 Test data templates
5.4 Supporting tools
5.5 Documentation formatting
5.6 Time format
基于python,可扩展的关键字驱动的自动化测试框架,可用于端到端的验收测试和ATDD。可用于测试验证时需要几种技术和接口的分布式的,不同的应用。
特点:
易学的表格语法。
从已有关键字可以创建可重用的高级关键字。
易读的HTML格式的报告和日志。
独立于平台和应用
API可以助你用pyhon或者java创建自己的测试库。
提供命令行接口和基于xml的输出以方便集成到现有系统。
支持Selenium用于web测试、java GUI测试、运行进程、Telnet, SSH等
支持创建数据驱动的用例。
内置支持变量,在测试不同环境时比较实用
Tagging支持分类
容易支持版本控制:test
suites是文件和目录,容易打上版本号。
支持test
suites和test case 级别的拆装
模块式架构,支持从多种不同接口的应用创建测试。
高级架构:
由上至下:测试数据层、Robot 框架、测试库、被测系统。
更多参考:
邮件组:
robotframework-users,robotframework-announce ,robotframework-devel,robotframework-commit
Copyright 2008-2009 Nokia Siemens Networks Oyj
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
略