Selenese 命令清单 - verify及assert命令
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Selenese 命令清单 - verify及assert命令相关的知识,希望对你有一定的参考价值。
点击链接加入群【悦分享测试联盟】:https://jq.qq.com/?_wv=1027&k=5DiePik简介
Selenium为用户提供了大量的Selenese命令,可以非常方便的为用户编写脚本实用,其中实际场景运用需要的并不多,为了能更好的利用这些命令,我对几乎所有Selenese命令做了分类,分类内容如下:
包含操作页面元素常用命令,以及一些不常用到的高级使用命令
对鼠标键盘事件控制命令
wait相关命令
veriy相关命令
assert相关命令
store存储器相关命令
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 |
以上是关于Selenese 命令清单 - verify及assert命令的主要内容,如果未能解决你的问题,请参考以下文章
FinTS 2.2 (HBCI 2.2) VERIFY 命令返回 69 85
打包的时候出现 Embedded binary is not signed with the same certificate as the parent app. Verify the embedd