資源推薦:
創(chuàng)新互聯(lián)于2013年開始,是專業(yè)互聯(lián)網(wǎng)技術(shù)服務(wù)公司,擁有項目成都網(wǎng)站制作、成都網(wǎng)站設(shè)計網(wǎng)站策劃,項目實施與項目整合能力。我們以讓每一個夢想脫穎而出為使命,1280元樺川做網(wǎng)站,已為上家服務(wù),為樺川各地企業(yè)和個人服務(wù),聯(lián)系電話:028-86922220社區(qū)資源:自動化測試交流群
簡介
Selenium為用戶提供了大量的Selenese命令,可以非常方便的為用戶編寫腳本實用,其中實際場景運用需要的并不多,為了能更好的利用這些命令,我對幾乎所有Selenese命令做了分類,分類內(nèi)容如下:
包含操作頁面元素常用命令,以及一些不常用到的高級使用命令
對鼠標(biāo)鍵盤事件控制命令
wait相關(guān)命令
veriy相關(guān)命令
assert相關(guān)命令
store存儲器相關(guān)命令
Part IV verify、assert命令匯總:
verifyAlert | assertAlert |
verifyAlertNotPresent | assertAlertNotPresent |
verifyAlertPresent | assertAlertPresent |
verifyAllButtons | assertAllButtons |
verifyAllFields | assertAllFields |
verifyAllLinks | assertAllLinks |
verifyAllWindowIds | assertAllWindowIds |
verifyAllWindowNames | assertAllWindowNames |
verifyAllWindowTitles | assertAllWindowTitles |
verifyAttribute | assertAttribute |
verifyAttributeFromAllWindows | assertAttributeFromAllWindows |
verifyBodyText | assertBodyText |
verifyChecked | assertChecked |
verifyConfirmation | assertConfirmation |
verifyConfirmationNotPresent | assertConfirmationNotPresent |
verifyConfirmationPresent | assertConfirmationPresent |
verifyCookie | assertCookie |
verifyCookieByName | assertCookieByName |
verifyCookieNotPresent | assertCookieNotPresent |
verifyCookiePresent | assertCookiePresent |
verifyCursorPosition | assertCursorPosition |
verifyEditable | assertEditable |
verifyElementHeight | assertElementHeight |
verifyElementIndex | assertElementIndex |
verifyElementNotPresent | assertElementNotPresent |
verifyElementPositionLeft | assertElementPositionLeft |
verifyElementPositionTop | assertElementPositionTop |
verifyElementPresent | assertElementPresent |
verifyElementWidth | assertElementWidth |
verifyEval | assertEval |
verifyExpression | assertExpression |
verifyHtmlSource | assertHtmlSource |
verifyLocation | assertLocation |
verifyMouseSpeed | assertMouseSpeed |
verifyNotAlert | assertNotAlert |
verifyNotAllButtons | assertNotAllButtons |
verifyNotAllFields | assertNotAllFields |
verifyNotAllLinks | assertNotAllLinks |
verifyNotAllWindowIds | assertNotAllWindowIds |
verifyNotAllWindowNames | assertNotAllWindowNames |
verifyNotAllWindowTitles | assertNotAllWindowTitles |
verifyNotAttribute | assertNotAttribute |
verifyNotAttributeFromAllWindows | assertNotAttributeFromAllWindows |
verifyNotBodyText | assertNotBodyText |
verifyNotChecked | assertNotChecked |
verifyNotConfirmation | assertNotConfirmation |
verifyNotCookie | assertNotCookie |
verifyNotCookieByName | assertNotCookieByName |
verifyNotCursorPosition | assertNotCursorPosition |
verifyNotEditable | assertNotEditable |
verifyNotElementHeight | assertNotElementHeight |
verifyNotElementIndex | assertNotElementIndex |
verifyNotElementPositionLeft | assertNotElementPositionLeft |
verifyNotElementPositionTop | assertNotElementPositionTop |
verifyNotElementWidth | assertNotElementWidth |
verifyNotEval | assertNotEval |
verifyNotExpression | assertNotExpression |
verifyNotHtmlSource | assertNotHtmlSource |
verifyNotLocation | assertNotLocation |
verifyNotMouseSpeed | assertNotMouseSpeed |
verifyNotOrdered | assertNotOrdered |
verifyNotPrompt | assertNotPrompt |
verifyNotSelectOptions | assertNotSelectOptions |
verifyNotSelectedId | assertNotSelectedId |
verifyNotSelectedIds | assertNotSelectedIds |
verifyNotSelectedIndex | assertNotSelectedIndex |
verifyNotSelectedIndexes | assertNotSelectedIndexes |
verifyNotSelectedLabel | assertNotSelectedLabel |
verifyNotSelectedLabels | assertNotSelectedLabels |
verifyNotSelectedValue | assertNotSelectedValue |
verifyNotSelectedValues | assertNotSelectedValues |
verifyNotSomethingSelected | assertNotSomethingSelected |
verifyNotSpeed | assertNotSpeed |
verifyNotTable | assertNotTable |
verifyNotText | assertNotText |
verifyNotTitle | assertNotTitle |
verifyNotValue | assertNotValue |
verifyNotVisible | assertNotVisible |
verifyNotWhetherThisFrameMatchFrameExpression | assertNotWhetherThisFrameMatchFrameExpression |
verifyNotWhetherThisWindowMatchWindowExpression | assertNotWhetherThisWindowMatchWindowExpression |
verifyNotXpathCount | assertNotXpathCount |
verifyOrdered | assertOrdered |
verifyPrompt | assertPrompt |
verifyPromptNotPresent | assertPromptNotPresent |
verifyPromptPresent | assertPromptPresent |
verifySelectOptions | assertSelectOptions |
verifySelectedId | assertSelectedId |
verifySelectedIds | assertSelectedIds |
verifySelectedIndex | assertSelectedIndex |
verifySelectedLabel | assertSelectedIndexes |
verifySelectedLabels | assertSelectedLabel |
verifySelectedValue | assertSelectedLabels |
verifySelectedValues | assertSelectedValue |
verifySomethingSelected | assertSelectedValues |
verifySpeed | assertSomethingSelected |
verifyTable | assertSpeed |
verifyText | assertTable |
verifyTextNotPresent | assertText |
verifyTextPresent | assertTextNotPresent |
verifyTitle | assertTextPresent |
verifyValue | assertTitle |
verifyVisible | assertValue |
verifyWhetherThisFrameMatchFrameExpression | assertVisible |
verifyWhetherThisWindowMatchWindowExpression | assertWhetherThisFrameMatchFrameExpression |
verifyXpathCount | assertWhetherThisWindowMatchWindowExpression |
assertXpathCount |
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機、免備案服務(wù)器”等云主機租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。
網(wǎng)站欄目:Selenese命令清單-verify及assert命令-創(chuàng)新互聯(lián)
新聞來源:http://www.rwnh.cn/article24/hsjje.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供用戶體驗、小程序開發(fā)、全網(wǎng)營銷推廣、網(wǎng)站制作、關(guān)鍵詞優(yōu)化、域名注冊
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容