MaxTAF是一款号称无障碍( trouble-free)的、有效的测试自动化解决方案,最大限度地提高测试自动化的两个最关键的指标:
高生产率(快速完成测试的创建测试)
高可维护性(降低测试维护的成本)
早在几年前,它还处在Beta版本时作者就关注了它。几年过后,如今已是2.5版本,已经很成熟了,特定向大家介绍。这个工具有几个特点:可以不编程(基于XML的脚本实现,但同时支持面向程序员的Java / JUnit增强功能)、扩展性好、元素库丰富、专注Maximo等,下面一一介绍。
1. 基于XML的脚本实现
通过<beforeTestCase>、<afterTestCase>来完成前置条件、后置条件,在<test></test>中完成测试的执行,见下面示例代码。
2. 扩展性好
专门设置了一层(Integration Layer,MIF)完成和ESB(企业服务总线)、数据库和Web UI 的集成,见下面MaxTAF架构及其扩展。
3. 元素库丰富
能够支持业务对象(MBO)、数据库、网络、时间、工作流管理等各种元素,从而容易实现相应的测试操作,包括数据装载、性能测试等。
General MXML tags - these tags deal with the general test behavior and logic. They are used to control the general flow of the test.
MBO tags - these tags are used for direct MBO interaction. They can be used to invoke or query MBO logic.
MIF tags - these tags are used for the Maximo integration framework interaction. They can be used to invoke MIF related logic:check the external system, enterprise services,etc.
UI tags - these tags are used to interact with elements which can be seen on the screen and are needed to run Selenium based tests.
DB tags - these tags are used to perform database related transactions. They can be used to open and close connection to the DB, to fetch results, loop through results etc.
NET tags - these tags are used to perform basic network related operations.
TIME tags - these tags deal with time related functionality.
WF tags - these tags are used for Maximo workflow management:initiate, complete or stop workflows, check for user's assignments etc.
4. 专注Maximo
IBM Maximo Asset Management is an enterprise asset management (EAM) software solution product produced by IBM. It is a solution which enterprises use to track the operation, maintenance and disposal of assets.[1] It focuses on the following types of assets:
Plant and production
Infrastructure
Transportation
Real estate and facilities
EAM is globally known to be critical in asset intensive industries, i.e., utilities, oil & gas, pharma., rail & transit, heavy manufacturing, and facilities including hospitals, campuses and hotel.