Advertisement

第6章 cucumber表格与注释

阅读量:

在自动化处理过程中,可能会遇到多种多样的应用场景。每一个具体情境都具有其独特的定义与功能需求。例如,以社交平台的登录功能作为初始案例,系统仅需接收两个输入变量。那么,“新用户注册”这一操作流程又该如何实现呢?通常情况下,在社交网站进行新用户注册时,需要提供哪些输入参数?大致包括以下内容:用户名称、电子邮箱、密码、确认密码、出生日期、性别以及联系电话。

在未引入数据表之前,feature文件中所包含的内容为:

复制代码
     Feature: New user registration.

    
      Verify that the new user registrationis unsuccessful after passing the incorrect inputs.         Given I am on a new userregistration page.
    
      When I enter the user name and ane-mail address as email address and password as, and re-enter password as andBirthdate as and Gender as and phone number as then the user registrat

全部评论 (0)

还没有任何评论哟~