zoukankan      html  css  js  c++  java
  • MonkyTalk学习-7-Verify-Verify

    提供了很多的验证的方式,目前没有测试完全通过,有些不确定怎么玩。

    先看官方文档

    Verify - Verify that the component's value is equal to the argument.
    VerifyNot - Verify that the component's value is NOT equal to the argument.
    VerifyRegex - Verify that the component's value matches the Regular Expression provided in the argument.
    VerifyNotRegex - Verify that the component's value does NOT match the Regular Expression provided in the argument.
    VerifyWildcard - Verify that the component's value matches some wildcard expression provided in the argument.
    VerifyNotWildcard - Verify that the component's value does NOT match some wildcard expression provided in the argument.
    VerifyImage - Verify that the component's image matches the provided image file (aka image comparison) — see Image Comparison docs.

    前面的基本都好说,无非是完全匹配,正则匹配,没有搞懂的是Wildcard,能搞出来点东西但是又不确定对不对。

    这样来使用Verify,全文匹配。

    这样是写正则的匹配方式。

    这样是写WildCard的方式,但是确实没有搞太明白,是参照官网上的文章写出来的,确实可以找到,但是部知道意义是啥。

    另外注意一点:

    不要在Arguments中直接编辑,有可能会因为空格的问题变成多个参数,直接在Argument中打开编辑框编辑想要编辑的内容,这样不容易出问题,如图:

    真的是惨痛的经验之谈。。。

  • 相关阅读:
    Nhibernate初学
    TSQL笔记
    Java是剑客飘逸;.NET是刀客霸道 (一) 【转载】
    在datagrid中求和(vb.net,c#)
    Java牢骚之我见(转载)
    Java是剑客飘逸;.NET是刀客霸道 (二) 【转载】
    可可西里观后感(转)保护藏羚羊
    .net快速入门方法,转csdn
    手工添加“显示桌面”快捷方式
    过年128>24
  • 原文地址:https://www.cnblogs.com/kevinqinan/p/4589618.html
Copyright © 2011-2022 走看看