培訓(xùn)chinatest定義一種統(tǒng)一的方式來書寫和組織測(cè)試用例測(cè)試步驟_第1頁(yè)
培訓(xùn)chinatest定義一種統(tǒng)一的方式來書寫和組織測(cè)試用例測(cè)試步驟_第2頁(yè)
培訓(xùn)chinatest定義一種統(tǒng)一的方式來書寫和組織測(cè)試用例測(cè)試步驟_第3頁(yè)
培訓(xùn)chinatest定義一種統(tǒng)一的方式來書寫和組織測(cè)試用例測(cè)試步驟_第4頁(yè)
培訓(xùn)chinatest定義一種統(tǒng)一的方式來書寫和組織測(cè)試用例測(cè)試步驟_第5頁(yè)
已閱讀5頁(yè),還剩134頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

RobotFramework+ ? Agilean ? Agilean RobotFramework? Agilean RobotFramework提 功能全面,支持WEB測(cè)試(Selenium)、JavaGUI? Agilean RobotFramework? Agilean ? Agilean setup.pyinstall? Agilean ? AgileanCopyright rundemo.pydemoappstart? Agilean encoding.py文件中,找到def_get_output_encoding():原來的編碼是’cp437’將其改成’cp936’(簡(jiǎn)體中文,gbk? Agilean 模式?選項(xiàng)清除,否則WebDriver會(huì)報(bào)這個(gè)錯(cuò)誤? Agilean ? Agilean ? Agilean 格式可以用TXTTSV或HTML建議選 ? Agilean ? Agilean ? Agilean ? Agilean ? Agilean 的能注意:資源也需 用到的? Agilean ? Agilean ? Agilean ? Agilean ? Agilean ? Agilean 匹配 ? AgileanCopyright 執(zhí)試? Agilean ? Agilean ? Agilean ? Agilean SetLogLevel|CapturePageScreenshot|LoggLogSource|gLog特定信息(BuiltInLog變量(BuiltIn? Agilean ? Agilean 練? Agilean ? Agilean SeleniumLibrary將WebDriver與RobotFramework連接起Selenium2Library可以使用F5或以 來學(xué)? Agilean OpenizeBrowserGoGoReloadCloseCloseCloseAll? Agilean ? Agilean 指定一個(gè)? Agilean SelectFrame|Unselect? Agilean PressKey|locator|PressKey||qPressKey|||#ASCIIcode0:8:

43:44:45:56:57:59:61:127:? Agilean 可以使用FireFoxFirebug或IE8? Agilean ? Agilean ? Agilean ShouldShouldRadio–Location&?Location?Location?TitleShould? Agilean CurrentFramePageShouldPageShouldNotTextfieldValueShouldNotBeElementTextShould? Agilean ListSelectionShouldListShouldHaveNoCheckboxShould–RadioCheckboxShould–RadioBeRadioBeSetRadioNotBe? Agilean TableCellShouldTableColumnShouldTableFooterShouldTableHeaderShouldTableRowShouldTableShouldTextfieldShouldXpathShouldMatchX? Agilean Selenium2 WaitForCondition|condition|timeout=None|WaitUntilPageContains|text|timeout=None|WaitUntilPageContainsElement|locator|Sleep 是RobotFrameworkBuiltInLibrary提供 ? Agilean FocusSimulateOpen SelectAllFromSelectFromUnselectFromSelectUnselectRadioSelectRadioSubmitChooseFile(ForFile? Agilean ? Agilean 使用Selenium? Agilean ? Agilean ? Agilean ? Agilean ? Agilean ? Agilean 問題:?登錄?Keyword? Agilean ? Agilean ? Agilean ? Agilean 使用Selenium? Agilean ? Agilean ? Agilean ? Agilean 相 GetGetGetGetMatchingXpathGetElementGetGetText(AddedByAdamGetAll? Agilean 相 TableListSelectedSelectedSelectedSelected? Agilean 使用Selenium? Agilean ? Agilean GetSeleniumSetSeleniumGetSeleniumSetSelenium? Agilean ? Agilean ? Agilean inputtext ? Agilean 對(duì)于有些日期輸入框,也可以直接調(diào)用? Agilean 可以利用BuildInLibrary里面的GetTime? Agilean ? Agilean ? Agilean ? Agilean ? Agilean 等待界面返回,可以利用BuiltInLibrary里面的WaitUntilKeywordSucceeds? Agilean ? Agilean 如果打開新窗口的時(shí)間不確定,可以結(jié)合WaitUntilKeywordSucceeds ? Agilean ? Agilean ExecuteJavaScript|window.close=function()? Agilean FirefoxProfiles 框? Agilean 模 在Selenium2/IE中,模式框就和一個(gè)普通窗口一樣,只需用SelectWindow結(jié)合WaitUntilKeywordSucceeds切換過去即可,在模式框關(guān)閉之后再用SelectWindow結(jié)合WaitUntilKeywordSucceeds? Agilean 可以調(diào)用如下判斷是否執(zhí)行了彈出動(dòng)作以及內(nèi)容是其實(shí)這里ConfirmAction不會(huì)進(jìn)行點(diǎn)擊動(dòng)作,而只是會(huì)去獲取需要確認(rèn)的內(nèi)容,但是如果不調(diào)用ConfirmAction,而ChooseCancelonNextConfirmationConfirm選擇? Agilean ? Agilean SeleniumLibrary ? Agilean ,,RobotFramework還有一個(gè)AutoItLibrary ,,安裝PythonWindows setup.py–在Win7或WindowsServer而不要直接用Administrator–要以管理 –再執(zhí)行? Agilean 如果用Administrator執(zhí)行了setup.pyinstall,>>>Don'tthinkweneedtounregistertheoldTraceback(mostrecentcallFile"C:\Python27\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",line325,inRunScriptexeccodeObjectinmain.dict File"C:\pathon2.7.1\AutoItLibrary-1.1\setup.py",line63,in<module>shutil.copyfile("3rdPartyTools/AutoIt/AutoItX3.dll",instFile)File"C:\Python27\lib\shutil.py",line81,incopyfilewith'rb')asIOError:[Errno2]Nosuchfileor這時(shí)需要?jiǎng)h除AutoIt ? Agilean 使用時(shí)需要Import /svn/tags/robotframework-AutoItLibrary-? Agilean SeleniumLibrary ? Agilean RobotFramework內(nèi)置提供了String

? Agilean AppendToListDictionary·

CombineLists· ConvertToList· CopyList· CountValuesInList· Dictionary DictionariesShouldBeEqual ShouldContainKey· DictionaryShouldContainSubDictionary· DictionaryShouldContainValue· ShouldNotContainKey· DictionaryShouldNotContainValue· GetDictionaryItems· GetDictionaryKeys· DictionaryValues· GetFromDictionary· GetFromList· GetIndexFromList· GetSliceFromList· IntoList· KeepInDictionary· ListShouldContainSubList· ListShouldContainValue· ListShouldNotContain

ListShouldNotContainValue ListsBeEqual

LogDictionary LogList

Remove

RemoveFromList RemoveValuesList ReverseListDictionary Sort

SetListValue Set? Agilean SeleniumLibrary ??? Agilean Selenium2Lib提供了如 來操 Delete ? Agilean SeleniumLibrary ? Agilean GetVerticalGetHorizontal? Agilean SeleniumLibrary ? Agilean 處 警 警告 表? Agilean ??? Agilean ??SetLogLevel| py 利用LogCapturePage? Agilean ? Agilean ? Agilean GetVerticalGetHorizontal? Agilean ? Agilean ? Agilean ScrumProcess

+

n

ArchDesign

n

? Agilean ? Agilean ? Agilean ? Agilean ? Agilean ? Agilean RemoteDB? Agilean RegisterKeywordToRunOn? Agilean CallMethod·Catenate·Comment·ConvertToBinary·ConvertToBoolean·ConvertToHex·ConvertToInteger·ConvertToNumber·ConvertToOctal·ConvertToString·CreateList·Evaluate·ExitForLoop·Fail·FatalError·GetCount·GetLength·GetLibraryInstance·GetTime·GetVariableValue·GetVariables··ImportVariables·KeywordShouldExist·LengthShouldBe··NoOperation·RegexpEscape· RemoveTags· RepeatKeyword· ceVariables· unKeyword· RunKeywordAndContinueOnFailure· RunKeywordAndExpectError· RunKeywordAndIgnoreError· RunKeywordIf· RunKeywordIfAllCriticalTestsPassed· RunKeywordIfAllTestsPassed· RunKeywordIfAnyCriticalTestsFailed· RunKeywordIfAnyTestsFailed· nKeywordIfTestFailed· RunKeywordIfTestPassed· RunKeywordIfTimeoutOccurred· RunKeywordUnless· · SetGlobalVariable· SetLibrarySearchOrder· SetLogLevel· SetSui

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論