微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Tellurium 开源自动测试框架

程序名称:Tellurium

授权协议: 未知

操作系统: 跨平台

开发语言: JavaScript

Tellurium 介绍

Tellurium自动测试框架是一款针对web应用、基于UI模块的自动测试平台。UI模块是由一组复合的UI对象以嵌套的形式组成,比如,Google的搜索UI模块可以表示成:

ui.Container(uid: "GoogleSearchModule", clocator: [tag: "td"], group: "true"){  
   InputBox(uid: "Input", clocator: [title: "Google Search"])  
   SubmitButton(uid: "Search", clocator: [name: "btnG", value: "Google Search"])  
   SubmitButton(uid: "ImFeelinglucky", clocator: [value: "I'm Feeling Lucky"])  
}

Tellurium框架还定义了一套全新的领域特定语言来进行web测试,比如对于Google搜索模块,你可以使用下面的DSL来完成一次搜索测试:

type "GoogleSearchModule.Input", "Tellurium test"  
click "GoogleSearchModule.Search"  
waitForPagetoLoad 30000

Tellurium 官网

http://code.google.com/p/aost/

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐