如何在selenium-webdriver的帮助下验证我的电子邮件字段

时间:2019-07-11 09:44:56

标签: selenium-webdriver email-verification

<div class="form_content clearfix">
<p>Please enter your email address to create an account.</p>
<div class="alert alert-danger" id="create_account_error" style="display:none">
</div>
<div class="form-group form-ok">
<label for="email_create">Email address</label>
<input type="text" class="is_required validate account_input form-control" data-validate="isEmail" id="email_create" name="email_create" value="">
</div>



                    <div class="submit">
                        <input type="hidden" class="hidden" name="back" value="my-account">                     
<button class="btn btn-default button button-medium exclusive" type="submit" id="SubmitCreate" name="SubmitCreate">
                            <span>
                                <i class="icon-user left"></i>
                                Create an account
                            </span>
                        </button>
                        <input type="hidden" class="hidden" name="SubmitCreate" value="Create an account">
                    </div>
                </div>

我正在尝试使用Selenium Web驱动程序验证我的邮件ID。我在邮件ID字段中输入邮件ID,然后验证邮件ID格式正确或不存在。请查看附件图像。

1 个答案:

答案 0 :(得分:0)

  

我正在尝试使用Selenium Web驱动程序验证我的邮件ID。我是   在邮件ID字段中输入邮件ID,然后验证该邮件   ID格式正确或不是现有的邮件ID。请查看   附件图片

Please click here to view this image