亚洲好骚综合-亚洲黄色录像-亚洲黄色网址-亚洲黄色网址大全-99久久99久久-99久久99久久精品国产

您的位置:軟件測試 > 開源軟件測試 > 開源功能測試工具 >
開源自動化測試框架Tellurium
作者:網絡轉載 發布時間:[ 2014/3/5 10:22:14 ] 推薦標簽:自動化測試 測試框架 開源 測試方案

  打開的你的命令提示符,切換到你的工作空間的目錄下,運行下列Maven命令來創建一個新的Tellurium測試方案(項目)"demo"
  mvn archetype:generate -DgroupId=example -DartifactId=demo -DarchetypeArtifactId=tellurium-junit-archetype -DarchetypeGroupId=tellurium -DarchetypeVersion=0.6.0
  然后切換到該項目的目錄下執行:mvn  eclipse:eclipse   構建成我們的eclipse所能識別的項目結構。
  打開Eclipse將我們構建完成的項目導入。完成后項目結構如下:

  在Telluriumconfig.groovy文件中包含Tellurium項目設置,你能根據你的需求對它進行自定義設置
tellurium{
//embedded selenium server configuration
embeddedserver {
//port number
port = "4444"
//whether to use multiple windows
useMultiWindows = false
//whether to run the embedded selenium server. If false, you need to manually set up a selenium server
runInternally = true
//profile location
profile = ""
//user-extension.js file, for example, "target/test-classes/extension/user-extensions.js"
userExtension = ""
}
//event handler
eventhandler{
//whether we should check if the UI element is presented
checkElement = false
//wether we add additional events like "mouse over"
extraEvent = true
}
//data accessor
accessor{
//whether we should check if the UI element is presented
checkElement = true
}
connector{
//selenium server host
//please change the host if you run the Selenium server remotely
serverHost = "localhost"
//server port number the client needs to connect
port = "4444"
//base URL
baseUrl = "http://localhost:8080"
//Browser setting, valid options are
//  *firefox [absolute path]
//  *iexplore [absolute path]
//  *chrome
//  *iehta
browser = "*chrome"
//user's class to hold custom selenium methods associated with user-extensions.js
//should in full class name, for instance, "com.mycom.CustomSelenium"
customClass = ""
}
datadriven{
dataprovider{
//specify which data reader you like the data provider to use
//the valid options include "PipeFileReader", "CVSFileReader" at this point
reader = "PipeFileReader"
}
}
test{
//at current stage, the result report is only for tellurium data driven testing
//we may add the result report for regular tellurium test case
result{
//specify what result reporter used for the test result
//valid options include "SimpleResultReporter", "XMLResultReporter", and "StreamXMLResultReporter"
reporter = "XMLResultReporter"
//the output of the result
//valid options include "Console", "File" at this point
//if the option is "File", you need to specify the file name, other wise it will use the default
//file name "TestResults.output"
output = "Console"
//test result output file name
filename = "TestResult.output"
}
exception{
//whether Tellurium captures the screenshot when exception occurs.
//Note that the exception is the one thrown by Selenium Server
//we do not care the test logic errors here
captureScreenshot = true
//we may have a series of screenshots, specify the file name pattern here
//Here the ? will be replaced by the timestamp and you might also want to put
//file path in the file name pattern
filenamePattern = "Screenshot?.png"
}
}
uiobject{
builder{
//user can specify custom UI objects here by define the builder for each UI object
//the custom UI object builder must extend UiObjectBuilder class
//and implement the following method:
//
// public build(Map map, Closure c)
//
//For container type UI object, the builder is a bit more complicated, please
//take the TableBuilder or ListBuilder as an example
//example:
//        Icon="org.tellurium.builder.IconBuilder"
}
}
widget{
module{
//define your widget modules here, for example Dojo or ExtJs //
included="dojo, extjs"
included=""
}
}
}

上一頁1234下一頁
軟件測試工具 | 聯系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網站地圖
滬ICP備07036474 2003-2017 版權所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd
主站蜘蛛池模板: 免费看h片网站 | 久久国产偷 | 日韩三级免费观看 | 午夜在线观看免费观看大全 | 国产精品400部自产在线观看 | 国产成人精品免费视频大全麻豆 | 日本综合视频 | 国产精彩视频在线 | 视频网18免费 | 亚洲一区在线视频 | 成人午夜视频在线播放 | a毛片免费 | 国产chaopeng视频在线 | 最近中文日本字幕免费完整 | 欧美不卡一区二区三区 | 在线观看网址你懂的 | 久久免费视频网站 | 国产高清一级毛片在线人 | 国产亚洲欧洲日韩综合v | 精品视频一区二区观看 | 78m成人视屏| 日本成人午夜 | 国产精品国产三级在线专区 | 伊人久久国产免费观看视频 | 1级性生活片| 特级毛片永久久免费观看 | 日韩欧美一及在线播放 | 久久久精品视频直接观看 | 九九精品九九 | 午夜视频国语 | 亚洲成成熟老妇女 | 手机在线毛片免费播放 | 一级特黄a大片免费 | 亚洲精品第五页中文字幕 | 一级毛片看一个 | 18以下勿进色禁网站 | 黄色片日本网站 | 成人观看视频又黄又免费 | 国产成人精品免费午夜 | 99久免费精品视频在线观看2 | 97porm自拍视频区原创 |