黄瓜,Java和页面对象模型

时间:2018-10-10 07:44:17

标签: cucumber

我正在使用带有页面对象模型的Java黄瓜。我有10个具有相同用户故事的测试用例,但数据来自My SQL数据库。因此,stepdef将正则表达式用于测试用例,并且不允许我为其他测试用例生成新步骤,即如何编写相同的使用案例,但从数据库获取的数据不同。有什么办法可以解决这个问题吗???以下是该测试用例的用户案例。

谢谢。

Given User is open the browser for **Fpl_tc1**
And User is type the url for **Fpl_tc1**
When User is enter the valid username and password and click on SignIn button for **Fpl_tc1**
And User should be on the Request Manager page for **Fpl_tc1**
And User is navigating to programme manager to select Fee Payable Licensing for **Fpl_tc1**
And User is on Fee Payable Licensing page for editing parameters summary for **Fpl_tc1**
And User select the appropriate options for the Rights Granted panel for **Fpl_tc1**
And User fill the appropriate options for the Pricing Settings panel for **Fpl_tc1**
And search for individual titles for to set Fee Payable Licensing parameters for **Fpl_tc1**
And make a permissions request for **Fpl_tc1**
And ISBN/ISSN search for a title to get permission for **Fpl_tc1**
And fill the appropriate details of Select Content for the title of **Fpl_tc1**
And fill the appropriate options of Details of Content for the title of **Fpl_tc1**
And fill the appropriate details Select Planned Use for the title of **Fpl_tc1**
And fill the appropriate options Details of Usage for the title of **Fpl_tc1**
 Then set the default parameter settings for the title of **Fpl_tc1**

0 个答案:

没有答案