дублирование шага огурца в различных шагах в Java IntelliJ - PullRequest
0 голосов
/ 08 октября 2018

Я работаю с огурцом, Java.У меня есть 10 тестовых случаев с разными данными из базы данных, но шаги в файле stepdefs одинаковы, требуются лишь незначительные изменения, поэтому данные, когда и тогда одинаковые, просто таблицы базы данных для получения значений различны.Кто-нибудь знает, как работать с таким сценарием.Я не хочу использовать таблицы данных и таблицы Excel. Я использую свою базу данных SQL.

Заранее спасибо.

1 Ответ

0 голосов
/ 08 октября 2018
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
And set the details of Review Request for the title of Fpl_tc1
And check the status that request is sent for Fpl_tc1
And see the request is submitted as sent request for Fpl_tc1
Then set the default parameter settings for the title of Fpl_tc1
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...