Selenese命令清单-verify及assert命令
成都创新互联专业提供成都主机托管四川主机托管成都服务器托管四川服务器托管,支持按月付款!我们的承诺:贵族品质、平民价格,机房位于中国电信/网通/移动机房,成都移动服务器托管服务有保障!
资源推荐:
视频资源: 软件测试相关系列视频
社区资源: 自动化测试交流群
简介
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命令
标题来源:http://pwwzsj.com/article/pcopdg.html