资源推荐:
社区资源: 自动化测试交流群
简介
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 |
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。