中文字幕日韩精品一区二区免费_精品一区二区三区国产精品无卡在_国精品无码专区一区二区三区_国产αv三级中文在线

Selenese命令清單-verify及assert命令

成都創(chuàng)新互聯(lián)專業(yè)提供成都主機(jī)托管四川主機(jī)托管成都服務(wù)器托管四川服務(wù)器托管,支持按月付款!我們的承諾:貴族品質(zhì)、平民價(jià)格,機(jī)房位于中國電信/網(wǎng)通/移動(dòng)機(jī)房,成都移動(dòng)服務(wù)器托管服務(wù)有保障!

資源推薦:

視頻資源: 軟件測試相關(guān)系列視頻

社區(qū)資源: 自動(dòng)化測試交流群


簡介

    Selenium為用戶提供了大量的Selenese命令,可以非常方便的為用戶編寫腳本實(shí)用,其中實(shí)際場景運(yùn)用需要的并不多,為了能更好的利用這些命令,我對幾乎所有Selenese命令做了分類,分類內(nèi)容如下:

  1. 包含操作頁面元素常用命令,以及一些不常用到的高級使用命令

  2. 對鼠標(biāo)鍵盤事件控制命令

  3. wait相關(guān)命令

  4. veriy相關(guān)命令

  5. assert相關(guān)命令

  6. store存儲器相關(guān)命令

Part IV verify、assert命令匯總:

verifyAlertassertAlert
verifyAlertNotPresentassertAlertNotPresent
verifyAlertPresentassertAlertPresent
verifyAllButtonsassertAllButtons
verifyAllFieldsassertAllFields
verifyAllLinksassertAllLinks
verifyAllWindowIdsassertAllWindowIds
verifyAllWindowNamesassertAllWindowNames
verifyAllWindowTitlesassertAllWindowTitles
verifyAttributeassertAttribute
verifyAttributeFromAllWindowsassertAttributeFromAllWindows
verifyBodyTextassertBodyText
verifyCheckedassertChecked
verifyConfirmationassertConfirmation
verifyConfirmationNotPresentassertConfirmationNotPresent
verifyConfirmationPresentassertConfirmationPresent
verifyCookieassertCookie
verifyCookieByNameassertCookieByName
verifyCookieNotPresentassertCookieNotPresent
verifyCookiePresentassertCookiePresent
verifyCursorPositionassertCursorPosition
verifyEditableassertEditable
verifyElementHeightassertElementHeight
verifyElementIndexassertElementIndex
verifyElementNotPresentassertElementNotPresent
verifyElementPositionLeftassertElementPositionLeft
verifyElementPositionTopassertElementPositionTop
verifyElementPresentassertElementPresent
verifyElementWidthassertElementWidth
verifyEvalassertEval
verifyExpressionassertExpression
verifyHtmlSourceassertHtmlSource
verifyLocationassertLocation
verifyMouseSpeedassertMouseSpeed
verifyNotAlertassertNotAlert
verifyNotAllButtonsassertNotAllButtons
verifyNotAllFieldsassertNotAllFields
verifyNotAllLinksassertNotAllLinks
verifyNotAllWindowIdsassertNotAllWindowIds
verifyNotAllWindowNamesassertNotAllWindowNames
verifyNotAllWindowTitlesassertNotAllWindowTitles
verifyNotAttributeassertNotAttribute
verifyNotAttributeFromAllWindowsassertNotAttributeFromAllWindows
verifyNotBodyTextassertNotBodyText
verifyNotCheckedassertNotChecked
verifyNotConfirmationassertNotConfirmation
verifyNotCookieassertNotCookie
verifyNotCookieByNameassertNotCookieByName
verifyNotCursorPositionassertNotCursorPosition
verifyNotEditableassertNotEditable
verifyNotElementHeightassertNotElementHeight
verifyNotElementIndexassertNotElementIndex
verifyNotElementPositionLeftassertNotElementPositionLeft
verifyNotElementPositionTopassertNotElementPositionTop
verifyNotElementWidthassertNotElementWidth
verifyNotEvalassertNotEval
verifyNotExpressionassertNotExpression
verifyNotHtmlSourceassertNotHtmlSource
verifyNotLocationassertNotLocation
verifyNotMouseSpeedassertNotMouseSpeed
verifyNotOrderedassertNotOrdered
verifyNotPromptassertNotPrompt
verifyNotSelectOptionsassertNotSelectOptions
verifyNotSelectedIdassertNotSelectedId
verifyNotSelectedIdsassertNotSelectedIds
verifyNotSelectedIndexassertNotSelectedIndex
verifyNotSelectedIndexesassertNotSelectedIndexes
verifyNotSelectedLabelassertNotSelectedLabel
verifyNotSelectedLabelsassertNotSelectedLabels
verifyNotSelectedValueassertNotSelectedValue
verifyNotSelectedValuesassertNotSelectedValues
verifyNotSomethingSelectedassertNotSomethingSelected
verifyNotSpeedassertNotSpeed
verifyNotTableassertNotTable
verifyNotTextassertNotText
verifyNotTitleassertNotTitle
verifyNotValueassertNotValue
verifyNotVisibleassertNotVisible
verifyNotWhetherThisFrameMatchFrameExpressionassertNotWhetherThisFrameMatchFrameExpression
verifyNotWhetherThisWindowMatchWindowExpressionassertNotWhetherThisWindowMatchWindowExpression
verifyNotXpathCountassertNotXpathCount
verifyOrderedassertOrdered
verifyPromptassertPrompt
verifyPromptNotPresentassertPromptNotPresent
verifyPromptPresentassertPromptPresent
verifySelectOptionsassertSelectOptions
verifySelectedIdassertSelectedId
verifySelectedIdsassertSelectedIds
verifySelectedIndexassertSelectedIndex
verifySelectedLabelassertSelectedIndexes
verifySelectedLabelsassertSelectedLabel
verifySelectedValueassertSelectedLabels
verifySelectedValuesassertSelectedValue
verifySomethingSelectedassertSelectedValues
verifySpeedassertSomethingSelected
verifyTableassertSpeed
verifyTextassertTable
verifyTextNotPresentassertText
verifyTextPresentassertTextNotPresent
verifyTitleassertTextPresent
verifyValueassertTitle
verifyVisibleassertValue
verifyWhetherThisFrameMatchFrameExpressionassertVisible
verifyWhetherThisWindowMatchWindowExpressionassertWhetherThisFrameMatchFrameExpression
verifyXpathCountassertWhetherThisWindowMatchWindowExpression

assertXpathCount

分享標(biāo)題:Selenese命令清單-verify及assert命令
網(wǎng)站網(wǎng)址:http://www.rwnh.cn/article16/pcopdg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供小程序開發(fā)、網(wǎng)站策劃網(wǎng)站導(dǎo)航、網(wǎng)頁設(shè)計(jì)公司云服務(wù)器、企業(yè)建站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

網(wǎng)站優(yōu)化排名
泾川县| 阜新市| 榆社县| 西安市| 师宗县| 乌鲁木齐市| 武宁县| 浙江省| 永和县| 内黄县| 前郭尔| 准格尔旗| 宾川县| 穆棱市| 浠水县| 海伦市| 玉环县| 金乡县| 阳新县| 蓝山县| 韶山市| 礼泉县| 什邡市| 镇坪县| 澎湖县| 林州市| 抚州市| 城固县| 辽阳市| 囊谦县| 光山县| 钟祥市| 洛阳市| 清镇市| 四川省| 灌南县| 宁阳县| 南木林县| 太和县| 洛扎县| 盘锦市|