Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 selenium 的新手,想验证用户输入的数据是否正确。例如有电子邮件文本框,所以我会要求用户输入电子邮件地址。比我想验证用户输入的数据是否采用正确的电子邮件地址格式
示例 2 对于联系人 no,所有数据都应为数字
提前致谢
Email Validation in selenium IDE <tr> <td>verifyValue</td> <td>id=Emailid</td> <td>regexpi:^[_a-z0-9-]+(\\.[_a-z0-9-]+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,4})$</td> </tr> Try this.. Thank you..