1.Robot Framework介紹

1. 介紹

? ? ? ? Robot Framework,一個(gè)通用的驗(yàn)收測(cè)試和驗(yàn)收驅(qū)動(dòng)開發(fā)的自動(dòng)化測(cè)試框架(ATDD)贩绕,它使用關(guān)鍵字驅(qū)動(dòng)的測(cè)試方法,具有易于使用的表格來組織測(cè)試過程和測(cè)試數(shù)據(jù)馏鹤。

2. 特點(diǎn)


RF測(cè)試框架

3. 支持的測(cè)試類庫

? ? ? ? Robot Framework包含多種類庫湃累,通過導(dǎo)入不同的庫就可以使用庫中所提供的關(guān)鍵字治力,Robot Framework的測(cè)試類庫包括標(biāo)準(zhǔn)庫勃黍、外部庫及自己創(chuàng)建的庫溉躲。

? ? ? ? 標(biāo)準(zhǔn)庫:

? ? ? ? 1、Builtin: Provides a set of often needed generic keywords.Always automatically available without imports.

? ? ? ? 2箭券、Dialogs: Provides means for pausing the test execution and getting input from users.

? ? ? ? 3辩块、Collections: Provides a set of keywords for handling Python lists and dictionaries.

? ? ? ? 4废亭、OperatingSystem: Enables various operating system related tasks to be performed in the system where Robot Framework is running.

? ? ? ? 5豆村、Remote: Special library acting as a proxy between Robot Framework and test libraries elsewhere. Actual test libraries can be running ? ? ? ? ? ? ? ? on different machines and beimplemented using any programming language supportingXML-RPC protocol.

? ? ? ? 6骂删、Screenshot: Provides keywords to capture screenshots of the desktop.

? ? ? ? 7、String: Library for generating, modifying and verifying strings.

? ? ? ? 8宁玫、Telnet: Makes it possible to connect to Telnet servers and execute commands on the opened connections.

? ? ? ? 9粗恢、XML: Library for generating, modifying and verifying XML files.

? ? ? ?10、Process Library: Library for running processes in the system. New in Robot Framework 2.8.

? ? ? ?11欧瘪、DateTime: Library for date and time conversions. New in Robot Framework 2.8.5.

? ? ? ? 外部庫:

? ? ? ? 1眷射、Android library: Library for all your Android automation needs. It uses Calabash Android internally.

? ? ? ? 2、AnywhereLibrary: Library for testing Single-Page Apps (SPA). Uses Selenium Webdriver and Appium internally.

? ? ? ? 3、AppiumLibrary: Library for Android- and iOS-testing. It uses Appium internally.

? ? ? ? 4妖碉、Archive library: Library for handling zip- and tar-archives.

? ? ? ? 5涌庭、AutoItLibrary: Windows GUI testing library that uses AutoIt freeware tool as a driver.

? ? ? ? 6、Database Library (Java): Java-based library for database testing. Works only with Jython.

? ? ? ? 7嗅绸、Database Library (Python): Python based library for database testing. Works with any Python interpreter, including Jython.

? ? ? ? 8脾猛、Diff Library: Library to diff two files together.

? ? ? ? 9撕彤、Eclipse Library: Library for testing Eclipse RCP applications using SWT widgets.

? ? ? ? 10鱼鸠、robotframework-faker: Library for Faker, a fake test data generator.

? ? ? ? 11、FTP library: Library for testing and using FTP server with Robot Framework.

? ? ? ? 12、HTTP library (livetest): Library for HTTP level testing using livetest tool internally.

? ? ? ? 13麻蹋、HTTP library (Requests): Library for HTTP level testing using Request internally.

? ? ? ? 14、iOS library: Library for all your iOS automation needs. It uses Calabash iOS Server internally.

? ? ? ? 15、MongoDB library: Library for interacting with MongoDB from RobotFramework using pymongo.

? ? ? ? 16荔仁、Rammbock: Generic network protocol test library that offers easy way to specify network packets and inspect the results of sent and ? ? ? ? ? ? ? ? ? received packets.

? ? ? ? 17遇骑、RemoteSwingLibrary: Library for testing and connecting to a java process and using SwingLibrary, especially Java Web Start ? ? ? ? ? ? ? ? ? ? ? ? ? ? applications.

? ? ? ? 18翩肌、Selenium2Library: Web testing library that uses Selenium 2. For most parts drop-in-replacement for old SeleniumLibrary.

? ? ? ? 19、SSHLibrary: Enables executing commands on remote machines over an SSH connection. Also supports transfering files using SFTP.

? ? ? ? 20瓷产、SudsLibrary: A library for functional testing of SOAP-based web services based on Suds, a dynamic SOAP 1.1 client.

? ? ? ? 21再登、SwingLibrary: Library for testing Java applications with Swing GUI.

? ? ? ? 22、watir-robot: Web testing library that uses Watir tool.

? ? ? ? 按照測(cè)試類型的不同:

? ? ? ? web 自動(dòng)化測(cè)試:SeleniumLibrary,Selenium2Library,Selenium2Library for Java形入、watir-robot 等盒使。

? ? ? ? Windows GUI 測(cè)試:AutoItLibrary。

? ? ? ? 移動(dòng)測(cè)試:Android library挽放、iOS library腿倚、AppiumLibrary 等。

? ? ? ? 數(shù)據(jù)庫測(cè)試:Database Library (Java)、Database Library (Python)、MongoDB library 等肾砂。

? ? ? ? 文件對(duì)比測(cè)試:Diff Library。

? ? ? ? HTTP 測(cè)試:HTTP library (livetest)、HTTP library (Requests)等荣堰。

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末啃洋,一起剝皮案震驚了整個(gè)濱河市逮壁,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌,老刑警劉巖汁咏,帶你破解...
    沈念sama閱讀 216,496評(píng)論 6 501
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件漂问,死亡現(xiàn)場(chǎng)離奇詭異境蔼,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī)俊犯,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,407評(píng)論 3 392
  • 文/潘曉璐 我一進(jìn)店門饶氏,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人势誊,你說我怎么就攤上這事。” “怎么了册烈?”我有些...
    開封第一講書人閱讀 162,632評(píng)論 0 353
  • 文/不壞的土叔 我叫張陵,是天一觀的道長。 經(jīng)常有香客問我,道長,這世上最難降的妖魔是什么共啃? 我笑而不...
    開封第一講書人閱讀 58,180評(píng)論 1 292
  • 正文 為了忘掉前任,我火速辦了婚禮,結(jié)果婚禮上兆龙,老公的妹妹穿的比我還像新娘杖爽。我一直安慰自己,他們只是感情好紫皇,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,198評(píng)論 6 388
  • 文/花漫 我一把揭開白布慰安。 她就那樣靜靜地躺著,像睡著了一般坝橡。 火紅的嫁衣襯著肌膚如雪泻帮。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 51,165評(píng)論 1 299
  • 那天计寇,我揣著相機(jī)與錄音锣杂,去河邊找鬼脂倦。 笑死,一個(gè)胖子當(dāng)著我的面吹牛元莫,可吹牛的內(nèi)容都是我干的赖阻。 我是一名探鬼主播,決...
    沈念sama閱讀 40,052評(píng)論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼踱蠢,長吁一口氣:“原來是場(chǎng)噩夢(mèng)啊……” “哼火欧!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起茎截,我...
    開封第一講書人閱讀 38,910評(píng)論 0 274
  • 序言:老撾萬榮一對(duì)情侶失蹤苇侵,失蹤者是張志新(化名)和其女友劉穎,沒想到半個(gè)月后企锌,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體榆浓,經(jīng)...
    沈念sama閱讀 45,324評(píng)論 1 310
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,542評(píng)論 2 332
  • 正文 我和宋清朗相戀三年撕攒,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了陡鹃。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 39,711評(píng)論 1 348
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡抖坪,死狀恐怖萍鲸,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情擦俐,我是刑警寧澤脊阴,帶...
    沈念sama閱讀 35,424評(píng)論 5 343
  • 正文 年R本政府宣布,位于F島的核電站捌肴,受9級(jí)特大地震影響蹬叭,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜状知,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,017評(píng)論 3 326
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望孽查。 院中可真熱鬧饥悴,春花似錦、人聲如沸盲再。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,668評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽答朋。三九已至贷揽,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間梦碗,已是汗流浹背禽绪。 一陣腳步聲響...
    開封第一講書人閱讀 32,823評(píng)論 1 269
  • 我被黑心中介騙來泰國打工蓖救, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人印屁。 一個(gè)月前我還...
    沈念sama閱讀 47,722評(píng)論 2 368
  • 正文 我出身青樓循捺,卻偏偏與公主長得像,于是被迫代替她去往敵國和親雄人。 傳聞我的和親對(duì)象是個(gè)殘疾皇子从橘,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,611評(píng)論 2 353

推薦閱讀更多精彩內(nèi)容