Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
listlengths
2
2
[ { "from": "human", "value": "Create Gherkin steps to verify copy/paste using keyboard shortcuts \" ctrl + a\"" }, { "from": "gpt", "value": "Scenario: Copy/paste using keyboard shortcuts \"Ctrl + A\"\n Given I am logged as <user> on <screen_name>\n And I select all the grid using shortcut Ctrl + A\n And I check that all rows on the grid are selected\n And I perform the keyboard shortcut <shortcut2>\n And I open Excel using a new browser\n And I log in with the user <excel_user> and the password <password> with the second browser\n And I Create a new blank workbook with the second browser\n And I Click on the first cell of the sheet with the second browser\n When I apply the keyboard shortcut <shortcut3> from the second browser\n And I download the sheet from the second browser\n Then The content of the downloaded file should be equal to <file_ref>\n Examples:\n | user | screen_name | shortcut1 | shortcut2 | excel_user | password | shortcut3 | file_ref |\n | TAV_standard.user | Products & Mandates 2 | Ctrl + A | Ctrl + C | dh_testauto@outlook.com | datahub2025 | Ctrl + V | config&ressources/Navigation/DHRD-92751_ref_file.xlsx |" } ]
[ { "from": "human", "value": "Generate a feature file scenario for query grid navigation - collapse groups" }, { "from": "gpt", "value": "Scenario Outline: Query grid navigation - Collapse groups\n Given I am logged as <user> on <screen_name>\n And I click on the groups menu\n And I check that the button expand all becomes disabled on the groups menu\n And I expand the level number <number> from group menu\n And I check that the number of expanded groups in the grid is <number>\n And I check that the group level <collapsed_level> is collapsed\n When I collapse the group level <second_level> from the grid\n And I check that the group level <second_level> is collapsed\n And I click on the groups menu\n And I click on collapse all button on the groups menu\n Then I check that the button collapse all becomes disabled on the groups menu\n And All groups are collapsed\n Examples:\n | user | screen_name | number | second_level | collapsed_level |\n | TAV_standard.user | My Securities 4 | 3 | 2 | 4 |" } ]
[ { "from": "human", "value": "Write a Gherkin scenario for testing cancel adding a bookmark folder" }, { "from": "gpt", "value": "Scenario Outline: Cancel adding a bookmark folder\n Given I am logged in as <user>\n When I add a bookmark folder\n And I check that a popup is displayed with a message <message> and 2 options <button1> <button2>\n And I enter a folder name <folder_name>\n And I check that an orange badge is displayed on the edited field with value <folder_name>\n And I click on button <button2>\n Then The bookmark folder <folder_name> is not displayed\n Examples:\n | user | folder_name | message | button1 | button2 |\n | TAV_standard.user | testCancelAddNewFolder | Enter a folder name | Ok | Cancel |" } ]
[ { "from": "human", "value": "Create an automated test scenario for download file" }, { "from": "gpt", "value": "Scenario Outline: Download file\n Given I am logged as <administrator_user> on <screen_name>\n When I search and select the line of <document_name>\n And I upload the file <file_name> to a <document_name>\n And I save\n And A \"info\" toast is displayed with \"ACTION ENDED: Recording object(s)\"\n And I logg in with <user> on <screen_name> using a new browser\n And I open the detail screen <document_name> in the new browser\n And I download the file <file_name> in the new browser\n Then <file_name> is successfully downloaded in Downloads directory\n And The Downloaded file from Detail should be equal to <ref_file>\n Examples:\n | administrator_user | screen_name | document_name | file_name | user | detail_screen | ref_file |\n | TAV_Administrator | Documents | TAV_Download_Testing_Document | TAV_Download_Testing_file1.csv | TAV_standard.user | Document: TAV_Download_Testing_Document | config&ressources/DataManagement/toBeUploaded/TAV_Download_Testing_file1.csv |" } ]
[ { "from": "human", "value": "Write a Gherkin scenario for testing missing parameter" }, { "from": "gpt", "value": "Scenario Outline: Missing Parameter\n Given I am an authorized SOAP user <user> on <soap_service>\n When I send a SOAP request with param <param_name> = <param_content> and operation <operation>\n Then I should get a <type> SOAP response\n Examples:\n | user | param_name | param_content | soap_service | operation | type |\n | TAR_api.user | | DATA | Security | TAS_testws | unsuccessful |" } ]
[ { "from": "human", "value": "Generate a Cucumber scenario to test store aggregations in secondary table with rec spec" }, { "from": "gpt", "value": "Scenario Outline:Store aggregations in secondary table with recSpec\n Given I am logged as <user> on <screen_name>\n And I check that the aggregation definition with the root node <root_code> and its child <child_code> exist\n And I open query screen <scheduled_screen> which title begins with <banner_scheduled>\n And I go to detail screen <detail_screen> of <object_name>\n When I execute the action <aggregation_task> with arguments <arguments_field> equal to <arguments_value>\n And I check that a popup is displayed with the message \"Task launched.\"\n And I close the popup\n And I open query screen <job_report_screen> which title begins with <banner_job_report>\n And I search the task <task>\n And I check that the column <column> of the task is equal to <value>\n And I retrieve the generated aggregation identifier id for job name <job_name>\n And I open query screen <Aggregation_Processes> which title begins with <banner_aggregation>\n And I open the detail screen of the generated aggregation identifier\n Then For each child, The grid <grid_info> is displayed where the columns <columns> have the values <rows_values>\n Examples:\n | user | screen_name | root_code | child_code | detail_screen | object_name | Aggregation_Processes | banner_aggregation | task | column | value | scheduled_screen | banner_scheduled | aggregation_task | arguments_field | arguments_value | job_report_screen | banner_job_report | grid_info | columns | rows_values | job_name |\n | TAV_standard.user | Scope Aggregation Definition_2 | ROOT_02 | CHILD_02 | Scheduled task: Aggregation Computation Task | Aggregation Computation Task | Aggregation Processes_2 | Aggregation Processes_2 | Aggregation Computation Task | Status | Successful task | Scheduled Tasks | Scheduled tasks: | Run task with args | %defCode%;%valuationDate% | ROOT_02;20240202 | Job Reports | Job report | Aggreg Valuation Info | info5;info6;info7;info1 | French Equities Growth EN;French Equities Growth EN;French Equities Growth EN;English//;;French Equities Growth FR;French | Aggregation Computation |" } ]
[ { "from": "human", "value": "Generate a Cucumber scenario to test update an i f block with fields" }, { "from": "gpt", "value": "Scenario Outline: Update an IF block with fields\n Given I am logged in as <user>\n And I open query screen <screen_name> which title begins with <banner>\n And I search and open the feed <feed> with the category Import\n And I check that the default displayed step is <step1>\n And I go to the step <step3>\n And I check the <cond_bloc> bloc is displayed with the condition <old_condition> under the table <table> with the fields <old_fields>\n When I update the <cond_bloc> bloc with the <new_operator> operator and the value <new_value>\n And I check the condition <new_condition> is displayed\n And I add the fields <new_fields> under the <cond_bloc> conditional bloc\n And I assign the external fields <new_external_fields> to the internal fields <new_fields>\n And I save\n And A \"info\" toast is displayed with \"ACTION ENDED: Recording object(s)\"\n Then I check that the condition <new_condition> is displayed in the <cond_bloc> bloc under the table <table> with the internal fields <old_fields> and <new_fields> assigned to the following external fields <old_external_field> and <new_external_fields>\n Examples:\n | user | screen_name | banner | feed | step1 | step3 | cond_bloc | table | old_condition | old_fields | new_operator | new_value | new_condition | new_fields | new_external_fields | old_external_field |\n | TAV_standard.user | Feed Dictionary | Import/Export proc : | TEST_IMPORT_JSON2 | Definition | Mapping | if | SECURITY_QUOTE | Currency <> Null | Quote date;Quote currency;Close quote;Open quote | = | Euro | Currency = Euro | Official Quote | Close | Date;Currency;Close;Open |" } ]
[ { "from": "human", "value": "Add the remaining steps to this scenario:\n\nScenario Outline: Check job transitions retry\n Given I am logged as TAV_standard.user on <screen_name>\n And I go to detail screen <detail_screen> of <task_name>\n And I select the tab <tab>\n When I set the next job of the job whose code is <job_code1> to <job_code2> when the exception is <exception> on the job transitions bloc\n And I set the retry of the job whose code is <job_code1> to <retry> when the exception is <exception> on the job transitions bloc" }, { "from": "gpt", "value": "Scenario Outline: Check job transitions retry\n Given I am logged as TAV_standard.user on <screen_name>\n And I go to detail screen <detail_screen> of <task_name>\n And I select the tab <tab>\n When I set the next job of the job whose code is <job_code1> to <job_code2> when the exception is <exception> on the job transitions bloc\n And I set the retry of the job whose code is <job_code1> to <retry> when the exception is <exception> on the job transitions bloc\n And I save\n And I select the action run task\n And I select show the task from the job report screen\n And I wait for the task <task_name> to be completed\n Then the job <job_name> is relaunched <retry> times\n Examples:\n | screen_name | detail_screen | task_name | tab | job_name | job_code1 | job_code2 | exception | retry |\n | Scheduled Tasks | Scheduled task: BBG - Equity Subscription - Daily Request-retry | BBG - Equity Subscription - Daily Request-retry | jobs | Vendor Request | 50 | 50 | Any Error | 2 |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Advanced Filter using one text field\n\t\tGiven I am logged as TAV_standard.user on <screen_name>\n\t\tAnd I open advanced search tool" }, { "from": "gpt", "value": "Scenario Outline: Advanced Filter using one text field\n\t\tGiven I am logged as TAV_standard.user on <screen_name>\n\t\tAnd I open advanced search tool\n\t\tWhen I set an advanced text filter <field1_name> = <field1_value>\n\t\tAnd I click on Search button\n\t\tThen The query grid shows all rows in the database having <field1_name> equal to <field1_value>\n\t\tExamples:\n\t\t\t| screen_name | field1_name | field1_value |\n\t\t\t| My Securities | Name | TAV_Alternative |\n\t\t\t| My Business entities | Name | Accor SA |\n\t\t\t| Lists | Name | Accounting Balance Status Type |\n\t\t\t| Users | Lastname | Ameziani |\n\t\t\t| Rules | Name | See rule |" } ]
[ { "from": "human", "value": "Add the remaining steps to this scenario:\n\nScenario Outline: Run a Huge Import Excel\n Given I am logged as <user> on <screen_name>\n And I go to detail screen <detail_screen> of <task_name>\n When I select the action run task\n And I select show the task from the job report screen\n And I open advanced search tool\n And I set an advanced list filter Task = <task_name>" }, { "from": "gpt", "value": "Scenario Outline: Run a Huge Import Excel\n Given I am logged as <user> on <screen_name>\n And I go to detail screen <detail_screen> of <task_name>\n When I select the action run task\n And I select show the task from the job report screen\n And I open advanced search tool\n And I set an advanced list filter Task = <task_name>\n And I click on Search button\n And I close advanced search tool\n And I select the task <task_name> on the grid\n And I wait for the task <task_name> to be completed\n And I check that the column <column> of the task becomes equal to <value> when the task execution has been completed\n And I open detail screen <detail_screen1> of column name <column_name> of object <job_name>\n Then A message <success_message> is displayed in <comment_title>\n Examples:\n | user | screen_name | detail_screen | task_name | column | value | job_name | comment_title | detail_screen1 | column_name | success_message |\n | TAV_standard.user | Scheduled Tasks | Scheduled task: task_import_huge_securities | task_import_huge_securities | Status | Successful task | job_import_huge_securities | Comment | Job report | Job | 10001 inserted objects, 0 updated objects, 0 unchanged objects, 0 rejected objects, 0 skipped objects. No retry. |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Run a json export\n Given I am logged as TAV_standard.user on <screen_name>\n And I go to detail screen <detail_screen> of <trigger_task_name>\n When I select the action run task\n And I select show the task from the job report screen\n And I open advanced search tool" }, { "from": "gpt", "value": "Scenario Outline: Run a json export\n Given I am logged as TAV_standard.user on <screen_name>\n And I go to detail screen <detail_screen> of <trigger_task_name>\n When I select the action run task\n And I select show the task from the job report screen\n And I open advanced search tool\n And I set an advanced list filter Task = <task_name>\n And I click on Search button\n And I close advanced search tool\n Then I verify job <Export_job_name> of the task <task_name> with status <successfull_status>\n And The content of the exported json file <file_exported> should be equal to <file_ref>\n Examples:\n | screen_name | detail_screen | trigger_task_name | task_name | Export_job_name | successfull_status | file_exported | file_ref |\n | Scheduled Tasks | Scheduled task: TASK_EXPORT_JSON | TASK_EXPORT_JSON | TASK_EXPORT_JSON | EXPORT_JSON | Successful job | /data/testauto/nxdh/data/file_ExportJson.json | config&ressources/DataManagement/ref_file_ExportJson.json |" } ]
[ { "from": "human", "value": "Write test steps in Gherkin format for run feedproc using i f conditions" }, { "from": "gpt", "value": "Scenario Outline: Run feedproc using IF conditions\n Given I am logged in as <user>\n And I open query screen <screen_name1> which title begins with <banner1>\n And I search and select the object <object>\n And I check that the fields <fields1> should be equal <values1>\n And I open query screen <screen_name2> which title begins with <banner2>\n And I search and open the task <task>\n And I run the scheduled task using the button <button> from the actions menu\n And I check that a popup is displayed with the message \"Task launched.\"\n And I close the popup\n When I open query screen <screen_name3> which title begins with <banner3>\n And I search the task <task>\n And I check that the column <column> of the task is equal to <value>\n And I open query screen <screen_name1> which title begins with <banner1>\n And I search and select the object <object>\n And I check that the fields <fields1> should be equal <new_values>\n And I select the tab <tab>\n And I edit the fields Histo with the values Full\n Then A group is displayed on date <date1> which contains 2 rows with values on columns <columns> must equal to <rows_values1>\n And A group is displayed on date <date2> which contains 2 rows with values on columns <columns> must equal to <rows_values2>\n Examples:\n | user | screen_name1 | banner1 | object | fields1 | values1 | screen_name2 | banner2 | task | button | screen_name3 | banner3 | column | value | new_values | tab | date1 | date2 | columns | rows_values1 | rows_values2 |\n | TAV_standard.user | My Securities | Security: | TAV_bnbAct1 | Country;Currency;Product desc. | United States of America (the);Pound sterling;test1 | Scheduled Tasks | Scheduled tasks: | task_import_json_1 | Run task | Job Reports | Job report | Status | Successful task | France;Euro;comment from if bloc | prices | 10/10/2022 | 10/09/2022 | Provider;Open;Close | Golden copy;110,0000;210,0000//Manual;110,0000;210,0000 | Golden copy;100,0000;200,0000//Manual;100,0000;200,0000 |\n | TAV_standard.user | My Securities | Security: | TAV_bnbAct2 | Country;Currency;Product desc. | United States of America (the);Pound sterling;test2 | Scheduled Tasks | Scheduled tasks: | task_import_json_2 | Run task | Job Reports | Job report | Status | Successful task | Tunisia;Dinar;comment from else if bloc | prices | 10/10/2022 | 10/09/2022 | Provider;Open;Close | Golden copy;110,0000;210,0000//Manual;110,0000;210,0000 | Golden copy;100,0000;200,0000//Manual;100,0000;200,0000 |\n | TAV_standard.user | My Securities | Security: | TAV_bnbAct3 | Country;Currency;Product desc. | United States of America (the);Pound sterling;test3 | Scheduled Tasks | Scheduled tasks: | task_import_json_3 | Run task | Job Reports | Job report | Status | Successful task | Belgium;United States dollar;comment from Else bloc | prices | 10/10/2022 | 10/09/2022 | Provider;Open;Close | Golden copy;110,0000;210,0000//Manual;110,0000;210,0000 | Golden copy;100,0000;200,0000//Manual;100,0000;200,0000 |" } ]
[ { "from": "human", "value": "Create Gherkin steps to verify query grid navigation - collapse groups" }, { "from": "gpt", "value": "Scenario Outline: Query grid navigation - Collapse groups\n Given I am logged as <user> on <screen_name>\n And I click on the groups menu\n And I check that the button expand all becomes disabled on the groups menu\n And I expand the level number <number> from group menu\n And I check that the number of expanded groups in the grid is <number>\n And I check that the group level <collapsed_level> is collapsed\n When I collapse the group level <second_level> from the grid\n And I check that the group level <second_level> is collapsed\n And I click on the groups menu\n And I click on collapse all button on the groups menu\n Then I check that the button collapse all becomes disabled on the groups menu\n And All groups are collapsed\n Examples:\n | user | screen_name | number | second_level | collapsed_level |\n | TAV_standard.user | My Securities 4 | 3 | 2 | 4 |" } ]
[ { "from": "human", "value": "Add the remaining steps to this scenario:\n\nScenario Outline: Verify Snapshot Version Format\n Given I am an authorized SOAP user <user> on <soap_service>\n When I send a SOAP request with param <param_name> = <param_content> and operation <operation>" }, { "from": "gpt", "value": "Scenario Outline: Verify Snapshot Version Format\n Given I am an authorized SOAP user <user> on <soap_service>\n When I send a SOAP request with param <param_name> = <param_content> and operation <operation>\n Then I should get a <type> SOAP response\n And the response snapshot version should match the correct format\n Examples:\n | user | param_name | param_content | soap_service | operation | type |\n | TAR_api.user | null | null | SmartCoDH | getVersion | successful |\n@DHRD-94304 @skipped @waiting_for_DHRD-112693" } ]
[ { "from": "human", "value": "Create Gherkin steps to verify edit a business rule and check the audit i d on d b" }, { "from": "gpt", "value": "Scenario Outline: Edit a business rule and check the audit ID on DB\n Given I am logged as TAV_standard.user on <screen_name1>\n And I go to detail screen <detail_screen1> of <rule_name>\n And I update the fields <fields_names> with the values <fields_values>\n And I save\n When I perform the action <action1>\n And I select the row of the user <username_name> on the grid\n And I open the detail screen of the selected line\n And The new row appears in the grid with values <values> in columns <query_column>\n And I perform the action <action2>\n And I retrieve the value of the field <field_name> from the inspector\n And I open query screen <screen_name1> which title begins with <banner1>\n And I go to detail screen <detail_screen3> of <rule_name1>\n And I select the tab <tab>\n And I update the rule script with the <script_code> using the function <function>\n And I save\n And I open query screen <screen_name2> which title begins with <banner2>\n And I search and open the task <task>\n And I select the action run task\n And I open query screen <screen_name3> which title begins with <banner3>\n And I search the task <task>\n And I check that the column <column> of the task is equal to <value>\n And I retrieve the task log file name from job report detail screen\n Then I check that the log file <log_path> contains the field value <rule_name> returned by the function <function>\n And I check that the log file <log_path> contains the field value <fields_values> returned by the function <function>\n Examples:\n | screen_name1 | detail_screen1 | rule_name | fields_names | fields_values | action1 | username_name | banner1 | action2 | field_name | rule_name1 | tab | script_code | screen_name2 | banner2 | detail_screen2 | detail_screen3 | task | column | value | log_path | screen_name3 | banner3 | function | query_column | values |\n | Rules | Rule Definition: Notify Entity Creation | Notify Entity Creation | Name (Eng.) | Notify Entity Creation1 | Show Object Audit trail | TAV_standard.user | Rule: | Show Object Inspector - Ctrl+I | AUDITTRAIL_ID | Test_rule_getsqldata | Script | req:=\"select input_values from audittrail where audittrail_id = AUDITTRAIL_ID\" ; res:=getSqlData(req); msgtrace (res); | Scheduled Tasks | Scheduled tasks: | Scheduled task: Tache_Rule_getSqlData | Rule Definition: Test_rule_getsqldata | Tache_Rule_getSqlData | Status | Successful task | nxdh/Soft/logs/ | Job Reports | Job report | getSqlData | new value;old value | Notify Entity Creation1;Notify Entity Creation |" } ]
[ { "from": "human", "value": "Create Gherkin steps to verify create a data selection policy" }, { "from": "gpt", "value": "Scenario Outline: Create a data selection policy\n Given I am logged as TAV_standard.user on <screen_name>\n And I add a row using the buttons toolbar\n And I open the detail screen of the selected line\n And I update the fields <fields_names> with the values <fields_values>\n And I select the tab <tab>\n And I add a row using the buttons toolbar\n And I select the newly added row\n And I set values <values1> for the columns <query_column>\n And I remove the row selection\n And I add a row using the buttons toolbar\n And I select the newly added row\n And I set values <values2> for the columns <query_column>\n And I click on button Save\n And I Force from Suspect entry DQC pop-up\n And I open query screen <screen_name> which title begins with <banner>\n And The new data Selection appears in the grid with value <value> in the column <column>\n When I open query screen <screen_name1> which title begins with <banner1>\n Then The new created data selection policy <data_selection> appears on the comlum <column1>\n Examples:\n | screen_name | fields_names | fields_values | screen_name1 | value | column | banner | banner1 | data_selection | column1 | query_column | values1 | values2 | tab |\n | Data Selection Policy | Code;Label (fr);Label (en);Target Class | DSP-Creation;Data Selection Policy Creation;Data Selection Policy Test1;Security | Data Selection Requests | DSP-Creation | Code | Data Selection Policy | Data Selection Requests | Data Selection Policy Test1 | Data selection | Node;Priority;Date;Quote Field;Provider | Equity;1;Newest;QUOTE_CLOSE;Golden copy (data selection) | Fixed income;1;Newest;QUOTE_OPEN;Golden copy (data selection) | Price |" } ]
[ { "from": "human", "value": "Write a Gherkin scenario for testing invalid s o a p x m l request" }, { "from": "gpt", "value": "Scenario Outline: Invalid SOAP XML Request\n Given I am an authorized user <user>\n When I send an invalid SOAP XML request to <soap_service>\n Then I should get a <type> SOAP response\n Examples:\n | user | soap_service | type |\n | TAR_api.user | Introspection | unsuccessful |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Execute a selection request\n Given I am logged as TAV_standard.user on <screen_name>\n When I add a row using the buttons toolbar\n And I open the detail screen of the selected line\n And I edit the fields <fields_names> with the values <fields_values>\n And I remove group by <list_of_groups>\n And I add a row using the buttons toolbar\n And I update the cell value with <value1> for the column <query_column>" }, { "from": "gpt", "value": "Scenario Outline: Execute a selection request\n Given I am logged as TAV_standard.user on <screen_name>\n When I add a row using the buttons toolbar\n And I open the detail screen of the selected line\n And I edit the fields <fields_names> with the values <fields_values>\n And I remove group by <list_of_groups>\n And I add a row using the buttons toolbar\n And I update the cell value with <value1> for the column <query_column>\n And I remove the row selection\n And I add a row using the buttons toolbar\n And I update the cell value with <value2> for the column <query_column>\n And I save\n And I click on button <button>\n Then I check that the column <column_name> displays the value <column_value1> when the Security name is <value1>\n And I check that the column <column_name> displays the value <column_Value2> when the Security name is <value2>\n Examples:\n | screen_name | fields_names | fields_values | value1 | value2 | query_column | column_name | column_value1 | column_Value2 | button | button1 | list_of_groups |\n | Data Selection Requests | Valuation date;Data selection | 10/14/2025;2 - Data Selection Policy | TAV_dataSelection_EQ | TAV_dataSelection_FI | Security | price | 40,00000 | 20,23450 | Execute Selection | Clean the result | History datetime;Object status |" } ]
[ { "from": "human", "value": "Generate a feature file scenario for default filters on advanced search popup" }, { "from": "gpt", "value": "Scenario Outline: Default filters on Advanced Search popup\n Given I am logged as TAV_standard.user on <screen_name>\n And I check that filters from Query compact view are filled with \"<field_name>\" \"<operator>\" \"<field_value>\"\n When I open advanced search tool\n Then the search criteria <field_name> is displayed with the operator <operator> and value <field_value>\n And All rows displayed have <field_name> is <operator> to <field_value>\n Examples:\n | screen_name | nb_notif | field_name | operator | field_value |\n | My Securities | 1 | Preferred? | = | Yes |\n | My Business entities | 1 | Pfd | = | Yes |" } ]
[ { "from": "human", "value": "Write test steps in Gherkin format for query grid navigation - expand groups" }, { "from": "gpt", "value": "Scenario Outline: Query grid navigation - Expand groups\n Given I am logged as <user> on <screen_name>\n And I click on the groups menu\n And I click on collapse all button on the groups menu\n And I click on the groups menu\n And I expand the level number <level_number> from group menu\n And I check that the button collapse all becomes enabled on the groups menu\n And I check that the number of expanded groups in the grid is <level_number>\n When I expand the group <group_name> from the grid\n And The grid is correctly displayed by the grouped values <group_values>\n And I click on the groups menu\n And I expand the level number <last_level> from group menu\n Then I check that the button expand all becomes disabled on the groups menu\n And All groups are expanded\n Examples:\n | user | screen_name | level_number | group_name | group_values | last_level |\n | TAV_standard.user | Feed Dictionary 1 | 1 | Demonstration | Demonstration;Manual | 4 |" } ]
[ { "from": "human", "value": "Create Gherkin steps to verify run a computation task and check the computed aggregation results" }, { "from": "gpt", "value": "Scenario Outline: Run a computation task and check the computed aggregation results\n Given I am logged as <user> on <screen_name>\n And I check that the aggregation definition with the root node <root_code> and its child <child_code> exist\n And I open query screen <scheduled_screen> which title begins with <banner_scheduled>\n And I go to detail screen <detail_screen> of <object_name>\n When I execute the action <aggregation_task> with arguments <arguments_field> equal to <arguments_value>\n And I check that a popup is displayed with the message \"Task launched.\"\n And I close the popup\n And I open query screen <job_report_screen> which title begins with <banner_job_report>\n And I search the task <task>\n And I check that the column <column> of the task is equal to <value>\n And I retrieve the generated aggregation identifier id and the number of the generated nodes for job name <job_name>\n And I open query screen <Aggregation_Processes> which title begins with <banner_aggregation>\n And I open the detail screen of the generated aggregation identifier\n And I verify that the number of displayed nodes matches the number of generated nodes\n When I verify that only one line is displayed for the root node <root_code>\n And I retrieve the number of lines for the child <child_code>\n And I retrieve the sum value stored in <sum_field> of the root node <root_code> and its child <child_code>\n And I open query screen <Holding_valuation> which title begins with <banner_holding>\n Then The computed lines for the child <child_code> match the number of securities on the valuation date \"<date_field_name>\" \"=\" \"<valuation_date>\"\n And The total of <cost_total_base> field on the valuation date <valuation_date> is equal to the value of <sum_field> field for the root node and its child\n Examples:\n | user | screen_name | root_code | child_code | detail_screen | object_name | Aggregation_Processes | banner_aggregation | Holding_valuation | banner_holding | date_field_name | valuation_date | task | column | value | scheduled_screen | banner_scheduled | aggregation_task | arguments_field | arguments_value | job_report_screen | banner_job_report | sum_field | cost_total_base | job_name |\n | TAV_standard.user | Scope Aggregation Definition_2 | Root 00 | Child 00 | Scheduled task: Aggregation Computation Task | Aggregation Computation Task | Aggregation Processes_2 | Aggregation Processes_2 | Holding Valuations_2 | Holding Valuations_2 | Date | 02/02/2024 | Aggregation Computation Task | Status | Successful task | Scheduled Tasks | Scheduled tasks: | Run task with args | %defCode%;%valuationDate% | ROOT_00;20240202 | Job Reports | Job report | Tot. Contrib. (Base) | cost_total_base | Aggregation Computation |" } ]
[ { "from": "human", "value": "Generate a feature file scenario for add a record without an end date" }, { "from": "gpt", "value": "Scenario Outline: Add a record without an end date\n Given I am logged as <user> on <screen_name>\n And I go to detail screen <detail_screen> of <object_name>\n And I select the tab <tab>\n When I add a row on the grid under the block <block_name>\n And I filter only edited rows\n And I set values <values> for the columns <columns>\n And I save\n And A \"info\" toast is displayed with \"ACTION ENDED: Recording object(s)\"\n Then A new row is displayed with values <values> on <columns>\n And The column <column> is automatically computed with new value <column_value>\n Examples:\n | user | screen_name | detail_screen | object_name | tab | block_name | values | columns | column | column_value |\n | TAV_standard.user | My Securities | Equity detail: TAV_OBJECT1_without_discontinuty | TAV_OBJECT1_without_discontinuty | Codes | Codes | 24 EXCHANGE;03/01/2021;CME;TEST1_ROW1 | Market code;Code start date;Code type;Code | Code end date | 12/31/2999 |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Exporting Data to XML File with Filtering (in) using scheduled tasks\n Given I am an authorized user <userApi>\n And I launch task <task_code> using an ID from API path <taskExecution_path>\n And I should get a response with status <status_code1>" }, { "from": "gpt", "value": "Scenario Outline: Exporting Data to XML File with Filtering (in) using scheduled tasks\n Given I am an authorized user <userApi>\n And I launch task <task_code> using an ID from API path <taskExecution_path>\n And I should get a response with status <status_code1>\n When I send a GET request to <taskExecution_path> with the retrieved task ID\n Then I should get a response with status <status_code2>\n And The received object should include the field <field> with value <value> under <element>\n And The content of the exported xml file <file_exported> should be equal to <file_ref>\n Examples:\n | userApi | taskExecution_path | task_code | field | value | element | status_code1 | status_code2 | file_ref | file_exported |\n | TAR_api.user | task-executions | TEST_EXPORT_XML_IN | status | SUCCESS | execution | 201 | 200 | config&ressources/XML/RefExportXmlIN.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-92896-ExportXmlIN.xml |\n @DHRD-93348 @task-executions" } ]
[ { "from": "human", "value": "Write a behavior-driven test for move a new field in an existing bloc from config panel" }, { "from": "gpt", "value": "Scenario Outline: Move a new field in an existing bloc from config panel\n Given I am logged as TAV_standard.user on <screen_name>\n And I go to detail screen <detail_screen> of <object_name>\n And I switch to mode Config\n And I select tab <tab> from config panel\n And I select block <block_name> from config panel\n When I add the technical field <field>\n And I move the field <field> to second position\n And I save the screen configuration\n Then the field <field> is displayed in the second position\n And the fields list <list_fields> is correctly reordered\n Examples:\n | screen_name | detail_screen | object_name | tab | block_name | field | list_fields |\n | My Securities | Equity detail: TAV_Reorder_CMSCP | TAV_Reorder_CMSCP | Overview | Quotation | Beta | Date;Beta;Ref. price;Daily Variation;Rel perf ytd |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Reset query search operator on field list with default operator IN\n Given I am logged in as <user>\n And I open query screen <screen_name> which title begins with <banner>\n And I set an advanced list filter <field_name> <new_operator> <field_value>\n And I click on Search button\n And I check that all rows displayed have <field_name> is <new_operator> to <field_value>" }, { "from": "gpt", "value": "Scenario Outline: Reset query search operator on field list with default operator IN\n Given I am logged in as <user>\n And I open query screen <screen_name> which title begins with <banner>\n And I set an advanced list filter <field_name> <new_operator> <field_value>\n And I click on Search button\n And I check that all rows displayed have <field_name> is <new_operator> to <field_value>\n And I check that filters from Query compact view are filled with \"<field_name>\" \"<new_operator>\" \"<field_value>\"\n When I reset my advanced filter\n Then The search criteria <field_name> is displayed with the operator <old_operator> and value <field_value>\n And All rows displayed have <field_name> is <old_operator> to <field_value>\n And The filters from Query compact view are filled with \"<field_name>\" \"<old_operator>\" \"<field_value>\"\n Examples:\n | user | screen_name | banner | field_name | field_value | old_operator | new_operator |\n | TAV_standard.user | My Securities 3 | Security: | Sec main type | Equity | in | <> |\n | TAV_standard.user | Users 2 | Users : | Activated ? | Yes | in | <> |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: TESTCASE_ACC Web services SOAP (v6)\n Given I am an authorized SOAP user <user> on <soap_service>\n When I send a SOAP request with param <param_name> = <param_content> and operation <operation>" }, { "from": "gpt", "value": "Scenario Outline: TESTCASE_ACC Web services SOAP (v6)\n Given I am an authorized SOAP user <user> on <soap_service>\n When I send a SOAP request with param <param_name> = <param_content> and operation <operation>\n Then I should get a <type> SOAP response\n And the response should have <data> in the data element\n Examples:\n | user | param_name | param_content | soap_service | operation | type | data |\n | TAR_api.user | Name | DATA | Security | TAS_testws | successful | Bonjour |\n | TAR_api.user | Name | RANDOM | Security | TAS_testws | successful | Au revoir |" } ]
[ { "from": "human", "value": "Generate a feature file scenario for create transaction" }, { "from": "gpt", "value": "Scenario Outline: Create Transaction\n Given I am logged as <user> using path <path> and screen <screen_name>\n And I enter transaction with the following informations\n | Txn Type | Buy / Open Long |\n | Port ID | Euro Government Bond |\n | security | Accor |\n | Qty Mode | Contract |\n | Quantity | 6 |\n | Price | 30 |\n | Comment | test |\n | Comment Type | Comment |\n And I check that a popup is displayed with the message \"Transaction created successfully\"\n And I close the popup\n And I set an advanced Id transaction filter\n And I click on Search button\n And I close advanced search tool\n And I check that the transaction is added with field <status> and value <value>\n And I am logged out\n And I am logged as <user2> using path <path> and screen <screen_name>\n And I set an advanced Id transaction filter\n And I click on Search button\n And I close advanced search tool\n And I set the columns <column2> with the values <value2> of the row\n When I approve the transaction using the comment <comment>\n And I check that the transaction is added with field <field3> and value <value3>\n And I click on the action using the path <actions>\n And I open the detail screen of the selected line\n And I check that the transaction is <status3> by the user <user3> in the grid <grid_name>\n And I open query screen <screen_name1> using the path <path1>\n And I set an advanced Id filter\n And I click on Search button\n And I close advanced search tool\n And I check that the transaction is added with field <field4> and value <value4>\n And I open query screen <screen_name2> using the path <path2>\n And I set an advanced list filter <field_name> <operator> <field_value>\n And I set an advanced list filter <field_name1> <operator> <field_value1>\n And I click on Search button\n Then The transaction is dispalyed with field <field4> and value <value4>\n Examples:\n | user | screen_name | path |status |value |user2 |column2|value2|comment|screen_name1|path1 |field|value1|field3|value3|actions |status3 |grid_name |screen_name2 |path2 |field_name|operator|field_value |field_name1|field_value1|field4 |value4|user3|\n | TAV_transaction.user | Manual Txns Entry/Review | Screen / Investment Data / Trade Support / Manual Txns Entry/Review |4-eyes status|Pending Approval|TAV_transactionskipvalidation.user|Sel |Yes |test |Transactions|Screen / Investment Data / Trade Support / Transactions|hldg |Yes |status|Booked|Computation;Calculate All|Approved|Miscellaneous|Holding Intraday|Screen / Investment Data / Positions / Holding Int|portfolio |= |Euro Government Bond|Security |Accor |quantity|6,0000|TAV_WITHSKIPVALIDATION, TRANSACTION|\n @DHRD-102865 @skipped @waiting_for_DHRD-104752" } ]
[ { "from": "human", "value": "Write test steps in Gherkin format for reset query search on field list with default operator i n" }, { "from": "gpt", "value": "Scenario Outline: Reset query search on field list with default operator IN\n Given I am logged in as <user>\n And I open query screen <screen_name> which title begins with <banner>\n And I set an advanced list filter <field_name> <new_operator> <new_field_value>\n And I click on Search button\n And I check that all rows displayed have <field_name> is <new_operator> to <new_field_value>\n And I check that filters from Query compact view are filled with \"<field_name>\" \"<new_operator>\" \"<new_field_value>\"\n When I reset my advanced filter\n Then The search criteria <field_name> is displayed with the operator <old_operator> and value <old_field_value>\n And All rows displayed have <field_name> is <old_operator> to <old_field_value>\n And The filters from Query compact view are filled with \"<field_name>\" \"<old_operator>\" \"<old_field_value>\"\n Examples:\n | user | screen_name | banner | field_name | old_field_value | new_field_value | old_operator | new_operator |\n | TAV_standard.user | My Securities 3 | Security: | Sec main type | Equity | Fixed Income | in | <> |\n | TAV_standard.user | Users 2 | Users : | Activated ? | Yes | No | in | <> |" } ]
[ { "from": "human", "value": "Complete this Gherkin scenario:\n\nScenario Outline: Delete a bookmark screen\n Given I am logged as <user> on <screen_name>\n And I go back to Homepage\n And In bookmarks I hover on screen <screen_name>" }, { "from": "gpt", "value": "Scenario Outline: Delete a bookmark screen\n Given I am logged as <user> on <screen_name>\n And I go back to Homepage\n And In bookmarks I hover on screen <screen_name>\n When In bookmarks I click on button <action> in <screen_name>\n And I check that a popup is displayed with a title <title> and a message <message>\n And I click on button <button>\n Then The bookmark screen <screen_name> is no more displayed under Bookmarks\n Examples:\n\t\t\t| user | screen_name | action | title | message | button |\n | TAV_User_EN | Transactions 2 | Delete | Confirm | Do you really want to delete the entry 'Transactions 2' ? | Yes |\n | TAV_User_FR | Transactions 2 | Supprimer | Veuillez confirmer | Voulez-vous vraiment supprimer l''objet 'Transactions 2' ? | Yes |" } ]
[ { "from": "human", "value": "Create a BDD test scenario for create an sql publisher feedproc" }, { "from": "gpt", "value": "Scenario Outline: Create an sql publisher feedproc\n Given I am logged in as <user>\n And I open query screen <screen_name> which title begins with <banner>\n And I add a row using the buttons toolbar\n And I filter only edited rows\n When I open the detail screen of the selected line\n And I update the fields <fields_names> with the values <fields_values>\n And I click on button <executionProp_btn>\n And I add properties <properties_names> with values <values>\n And I click on button <ok_button>\n And I add the class <className> on block <scope_block>\n And I add object criteria with field <field> and operator <operator> with value <Value>\n And I go to the step <step3>\n And I open the mapping actions menu\n And I add new mapping with class <class_name>\n And I add new table <table_name>\n And I delete the internal fields <key_lookup>\n And I open the assignment details popup of the field <key_lookup1>\n And I set the field Default value to <default_value1>\n And I open the assignment details popup of the field <key_lookup2>\n And I set the field Default value to <default_value2>\n And I add an internal fields <fields> under the table <table_name>\n And I assign the internal fields <fields> to the external fields <external_fields>\n And I save\n And I go to the step <step4>\n Then A grid is displayed which contains <numOfRows> rows with values on columns <columns> must equal to <rows_values>\n Examples:\n | user | screen_name | banner | fields_names | fields_values | executionProp_btn | properties_names | values | ok_button | scope_block | field | operator | Value | step3 | class_name | table_name | key_lookup | key_lookup1 | key_lookup2 | fields | external_fields | default_value1 | default_value2 | step4 | className | numOfRows | columns | rows_values |\n | TAV_standard.user | Feed Dictionary | Import/Export proc : | Category;English;Type;Pack level;Exp. formatter;Feed | Manual Export;SQL_PUBLISHER_CREATE;SQL publisher;TNR;SQL Formatter;Export | Execution properties | DATABASE_DRIVER;DATABASE_LOGIN;DATABASE_PASSWORD;DATABASE_URL;SQLPOOL_QUERY | oracle.jdbc.driver.OracleDriver;SMART;SMART;jdbc:oracle:thin:@//localhost:1521/SMART;insert into TEST_EXPORT (LAST_QUOTE,OPEN_QUOTE) values ('%A%','%B%') | Ok | Scope | SECURITY_ID | = | 531936 | MAPPING | MxSecurity | SECURITY_QUOTE | Quote currency;Time;Quote market | Quote date | Quote provider | Last quote;Open quote | A;B | 09/09/2024 | Golden copy | Result | Security | 1 | Object;A;B | TAV_ACCOR_PUBLISHER;38.3000;38.2600 |" } ]
[ { "from": "human", "value": "Create an automated test scenario for feedprocs export extract for data governance integration" }, { "from": "gpt", "value": "Scenario Outline: Feedprocs export Extract for Data governance integration\n Given I am an authorized user <userApi>\n And I launch task <task_code> using an ID from API path <taskExecution_path>\n And I should get a response with status <status_code1>\n When I send a GET request to <taskExecution_path> with the retrieved task ID\n Then I should get a response with status <status_code2>\n And The received object should include the field <field> with value <value> under <element>\n And The content of the exported xml file <file_exported> should be equal to <file_ref>\n Examples:\n | userApi | taskExecution_path | task_code | field | value | element | status_code1 | status_code2 | file_ref | file_exported |\n | TAR_api.user | task-executions | TASK_DG_EXPORT_FP_EXTRACT | status | SUCCESS | execution | 201 | 200 | config&ressources/XML/ref_file_DHRD-102939_DG_EXPORT_FP_export_EXTRA.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-102939-Export_DG_export_extract.xml |" } ]
[ { "from": "human", "value": "Add the remaining steps to this scenario:\n\nScenario Outline: Delete entry High Priority\n Given I am logged as TAV_standard.user on <screen_name>\n And I go to detail screen <detail_screen> of <object_name>\n And I select the tab <tab>\n And I edit the field Histo with the value <histo_value>" }, { "from": "gpt", "value": "Scenario Outline: Delete entry High Priority\n Given I am logged as TAV_standard.user on <screen_name>\n And I go to detail screen <detail_screen> of <object_name>\n And I select the tab <tab>\n And I edit the field Histo with the value <histo_value>\n And I filter by Date with <date>\n And I delete the row with values <values> in columns <columns>\n And I save\n Then The golden copy is recomputed and displays values <GC_new_values> in columns <columns>\n And The deleted row with values <values> in columns <columns> disappears\n Examples:\n | screen_name | detail_screen | object_name | tab | histo_value | values | columns | GC_new_values | date |\n | My Securities | Equity detail: TAV_accor2_mult_to_delete | TAV_accor2_mult_to_delete | Prices | Full | Refinitiv;01/27/2022;4,8000 | Provider;Date;Close | Golden copy;01/27/2022;7,1000 | 01/27/2022 |" } ]
[ { "from": "human", "value": "Complete this Gherkin scenario:\n\nScenario Outline: Run a json import\n Given I am logged in as <user>\n And I open query screen <screen_name1> which title begins with <banner1>\n And I search and open the task <task>\n And I run the scheduled task using the button <button> from the actions menu\n And I check that a popup is displayed with the message \"Task launched.\"\n And I close the popup\n When I open query screen <screen_name2> which title begins with <banner2>\n And I set an advanced list filter Task = <task>" }, { "from": "gpt", "value": "Scenario Outline: Run a json import\n Given I am logged in as <user>\n And I open query screen <screen_name1> which title begins with <banner1>\n And I search and open the task <task>\n And I run the scheduled task using the button <button> from the actions menu\n And I check that a popup is displayed with the message \"Task launched.\"\n And I close the popup\n When I open query screen <screen_name2> which title begins with <banner2>\n And I set an advanced list filter Task = <task>\n And I click on Search button\n And I select the task <task> on the grid\n And I check that the column <column> of the task is equal to <value>\n And I open query screen <screen_name3> which title begins with <banner3>\n And I search and select the object <object>\n And I select the tab <tab>\n And I edit the fields Histo with the values Full\n Then A group is displayed on date <date1> which contains 2 rows with values on columns <columns> must equal to <rows_values1>\n And A group is displayed on date <date2> which contains 2 rows with values on columns <columns> must equal to <rows_values2>\n Examples:\n | user | screen_name1 | banner1 | task | button | screen_name2 | banner2 | column | value | screen_name3 | banner3 | object | tab | date1 | date2 | columns | rows_values1 | rows_values2 |\n | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | task_import_json_orange_act | Run task | Job Reports | Job report | Status | Successful task | My Securities | Security: | TAV_OrangeAct1 | prices | 12/03/2024 | 12/01/2024 | Provider;Close | Golden copy;250,0000//Refinitiv;250,0000 | Golden copy;240,0000//Refinitiv;240,0000 |" } ]
[ { "from": "human", "value": "Generate a feature file scenario for feedprocs import extract for data governance integration" }, { "from": "gpt", "value": "Scenario Outline: Feedprocs import Extract for Data governance integration\n Given I am an authorized user <userApi>\n And I launch task <task_code> using an ID from API path <taskExecution_path>\n And I should get a response with status <status_code1>\n When I send a GET request to <taskExecution_path> with the retrieved task ID\n Then I should get a response with status <status_code2>\n And The received object should include the field <field> with value <value> under <element>\n And The content of the exported xml file <file_exported> should be equal to <file_ref>\n Examples:\n | userApi | taskExecution_path | task_code | field | value | element | status_code1 | status_code2 | file_ref | file_exported |\n | TAR_api.user | task-executions | TASK_DG_IMPORT_FP_EXTRACT | status | SUCCESS | execution | 201 | 200 | config&ressources/XML/ref_file_DHRD-102938_DG_EXPORT_FP_import_EXTRA.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-102938-Export_DG_import_extract.xml |\n@DHRD-102939 @task-executions" } ]
[ { "from": "human", "value": "Add the remaining steps to this scenario:\n\nScenario Outline: Find static value by identifier using GET method\n Given I am on the swagger interface\n When I select the resource <resource_name>\n And I setup basic authentication with user <user>\n And I click on the operation <operation_name> of the resource <resource_name> having as endpoint <endpoint>" }, { "from": "gpt", "value": "Scenario Outline: Find static value by identifier using GET method\n Given I am on the swagger interface\n When I select the resource <resource_name>\n And I setup basic authentication with user <user>\n And I click on the operation <operation_name> of the resource <resource_name> having as endpoint <endpoint>\n And I fill the parameters <request_parameters> with values <request_values>\n And I execute the request\n Then I should get the response status equal to <status_code>\n And The response body should contain the values <response_values> in the field <response_fields>\n Examples:\n | resource_name | user | operation_name | endpoint | request_parameters | request_values | status_code | response_values | response_fields |\n | Tav_statisticvaluedemo | TAV_standard.user | getById | tavstatisticvaluedemo | id | 100 | 200 | TAV_STAT1 | name |" } ]
[ { "from": "human", "value": "Create Gherkin steps to verify export x m l using the property x s l t_ s t y l e s h e e t" }, { "from": "gpt", "value": "Scenario Outline: Export XML using the property XSLT_STYLESHEET\n Given I am an authorized user <userApi>\n And I launch task <task_code> using an ID from API path <taskExecution_path>\n And I should get a response with status <status_code1>\n When I send a GET request to <taskExecution_path> with the retrieved task ID\n Then I should get a response with status <status_code2>\n And The received object should include the field <field> with value <value> under <element>\n And The content of the exported xml file <file_exported> should be equal to <file_ref>\n Examples:\n | userApi | taskExecution_path | task_code | field | value | element | status_code1 | status_code2 | file_ref | file_exported |\n | TAR_api.user | task-executions | Task_ExportXmlUsingPropXSLT_ST | status | SUCCESS | execution | 201 | 200 | config&ressources/XML/RefExportXmlUsingPropXSLT_STYLESHEET.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-95428-ExportXmlUsingPropXSLT_STYLESHEET.xml |\n @DHRD-95374 @task-executions @waiting_For_DHRD-113310" } ]
[ { "from": "human", "value": "Complete this Gherkin scenario:\n\nScenario Outline: Add a record with an end date before the previous record's start date with discontinuity configured\n Given I am logged as <user> on <screen_name>\n And I go to detail screen <detail_screen> of <object_name>\n And I select the tab <tab>\n And Under the block <block_name> I check that the row number <nth1> is displayed with values <values> on columns <columns>\n When I add a row on the grid under the block <block_name>\n And Under the block <block_name> i filter only edited rows" }, { "from": "gpt", "value": "Scenario Outline: Add a record with an end date before the previous record's start date with discontinuity configured\n Given I am logged as <user> on <screen_name>\n And I go to detail screen <detail_screen> of <object_name>\n And I select the tab <tab>\n And Under the block <block_name> I check that the row number <nth1> is displayed with values <values> on columns <columns>\n When I add a row on the grid under the block <block_name>\n And Under the block <block_name> i filter only edited rows\n And Under the block <block_name> I set values <new_values> for the columns <columns>\n And I save\n And A \"info\" toast is displayed with \"ACTION ENDED: Recording object(s)\"\n Then Under the block <block_name> A new added row in the position number <nth2> is displayed with values <new_values2> on columns <new_columns>\n And Under the block <block_name> On the row number <nth2> the column <column> is not recomputed and displays the modified value <new_value>\n And Under the block <block_name> The row number <nth1> is displayed with values <values> on columns <columns>\n Examples:\n | user | screen_name | detail_screen | object_name | tab | nth1 | values | columns | block_name | new_values | new_values2 | new_columns | column | new_value | nth2 |\n | TAV_standard.user | My Securities | Equity detail: TAV_OBJECT2_with_discontinuty | TAV_OBJECT2_with_discontinuty | ids & classif. | 1 | BBG - Fund Type;05/01/2022;12/31/2999;Amundi;ETC | Group Type;Classif Start Date;Classif End Date;Class Prov;Group | Security classifications | BBG - Fund Type;05/01/2021;04/01/2022;Amundi;ETC | BBG - Fund Type;05/01/2021;Amundi;ETC | Group Type;Classif Start Date;Class Prov;Group | Classif End Date | 04/01/2022 | 2 |" } ]
[ { "from": "human", "value": "Generate a feature file scenario for filter/ search on a view using i s o code as reference display" }, { "from": "gpt", "value": "Scenario Outline: Filter/Search on a view using ISO code as reference display\n\t\tGiven I am an authorized user <user>\n\t\tWhen I update the scope view search api <scope_view_code> with criteria <criteria_fields> and <criteria_operators> and <criteria_values>\n\t\tThen I should get a response with status <status_code>\n\t\tAnd all received objects should include these <values> for these <fields> under <element>\n\t\tExamples:\n\t\t\t| user | scope_view_code | criteria_fields | criteria_operators | criteria_values | status_code | values | fields | element |\n\t\t\t| TAR_api.user | TAR_SCOPE_VIEW_ISO_CODE | security_main_type;currency;country | EQUAL;EQUAL;EQUAL | Mutual Fund;EUR;FR | 200 | EUR;FR | currency;country | value |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Export archived objects and check response\n Given I am logged in as <user>\n And I execute an export via web service of the object <object>\n And I should get a response with status <status_code1>\n And The response content is displayed with the same content as in <ref_json_file>\n And I open query screen <screen_name> which title begins with <banner>\n And I search and open the task <task>\n And I run the scheduled task using the button <button> from the actions menu" }, { "from": "gpt", "value": "Scenario Outline: Export archived objects and check response\n Given I am logged in as <user>\n And I execute an export via web service of the object <object>\n And I should get a response with status <status_code1>\n And The response content is displayed with the same content as in <ref_json_file>\n And I open query screen <screen_name> which title begins with <banner>\n And I search and open the task <task>\n And I run the scheduled task using the button <button> from the actions menu\n And I check that a popup is displayed with the message \"Task launched.\"\n And I close the popup\n When I open query screen <screen_name2> which title begins with <banner2>\n And I search the task <task>\n And The column <column> of the task is equal to <value>\n Then I execute an export via web service of the object <object>\n And I should get a response with status <status_code2>\n And I check that the response body contain the message <message>\n Examples:\n | user | object | status_code1 | ref_json_file | screen_name | banner | screen_name2 | banner2 | task | button | message | column | value | status_code2 |\n | TAV_standard.user | TAVToArchive | 200 | refFile_DHRD-102423.json | Scheduled Tasks | Scheduled tasks: | Job Reports | Job report | COMPLETE_ARCHIVING3 | Run task | Resource not found | Status | Successful task | 404 |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Add a new record in the future with discontinuity configured\n Given I am logged as <user> on <screen_name>\n And I go to detail screen <detail_screen> of <object_name>\n And I select the tab <tab>\n And Under the block <block_name> I check that the row number <nth1> is displayed with values <values1> on columns <columns>\n And Under the block <block_name> I check that the row number <nth2> is displayed with values <values2> on columns <columns>\n And Under the block <block_name> I check that the row number <nth3> is displayed with values <values3> on columns <columns>\n When I add a row on the grid under the block <block_name>" }, { "from": "gpt", "value": "Scenario Outline: Add a new record in the future with discontinuity configured\n Given I am logged as <user> on <screen_name>\n And I go to detail screen <detail_screen> of <object_name>\n And I select the tab <tab>\n And Under the block <block_name> I check that the row number <nth1> is displayed with values <values1> on columns <columns>\n And Under the block <block_name> I check that the row number <nth2> is displayed with values <values2> on columns <columns>\n And Under the block <block_name> I check that the row number <nth3> is displayed with values <values3> on columns <columns>\n When I add a row on the grid under the block <block_name>\n And Under the block <block_name> i filter only edited rows\n And Under the block <block_name> I set values <new_values> for the columns <columns>\n And I save\n And A \"info\" toast is displayed with \"ACTION ENDED: Recording object(s)\"\n Then Under the block <block_name> A new added row in the position number <nth1> is displayed with values <new_values> on columns <columns>\n And Under the block <block_name> On the row number <nth2> the column <column> is not recomputed and displays the modified value <column_value>\n And Under the block <block_name> The row number <nth3> is displayed with values <values2> on columns <columns>\n And Under the block <block_name> The row number <nth4> is displayed with values <values3> on columns <columns>\n Examples:\n | user | screen_name | detail_screen | object_name | tab | values1 | values2 | values3 | new_values | columns | column | column_value | block_name | nth1 | nth2 | nth3 | nth4 |\n | TAV_standard.user | My Securities | Equity detail: TAV_OBJECT5_with_discontinuty | TAV_OBJECT5_with_discontinuty | ids & classif. | BBG - Fund Type;06/01/2022;12/31/2022;Amundi;ETC | BBG - Fund Type;05/01/2022;06/01/2022;Amundi;ETC | BBG - Fund Type;05/01/2021;04/01/2022;Amundi;ETC | BBG - Fund Type;07/01/2023;07/01/2024;Amundi;ETC | Group Type;Classif Start Date;Classif End Date;Class Prov;Group | Classif end date | 12/31/2022 | Security classifications | 1 | 2 | 3 | 4 |" } ]
[ { "from": "human", "value": "Write test steps in Gherkin format for execute business rule unit testing for merge2objects function" }, { "from": "gpt", "value": "Scenario Outline: Execute business rule unit testing for merge2objects function\n Given I am an authorized user <userApi>\n And I launch task <task_code> using an ID from API path <taskExecution_path>\n And I should get a response with status <status_code1>\n And I send a GET request to <taskExecution_path> with the retrieved task ID\n And I should get a response with status <status_code2>\n And The received object should include the field <field> with value <value> under <element>\n And I am logged in as <user>\n And I open query screen <screen_name> using the path <path>\n And I set an advanced list filter <field_name1> <operator> <field_value1>\n And I click on Search button\n When I search and open the object which the column <field_name2> equal <testCaseName>\n Then A grid is displayed under the block <block> which contains <numOfRows> rows with values on columns <columns> must equal to <rows_values>\n Examples:\n | userApi | user | taskExecution_path | task_code | field | value | element | status_code1 | status_code2 | screen_name | banner | test_suite | numOfRows | columns | rows_values | field_name1 | field_value1 | operator | field_name2 | testCaseName | detail_screen | block | path |\n | TAR_api.user | TAV_standard.user | task-executions | RUN_TESTING | status | SUCCESS | execution | 201 | 200 | Test Reports | Test reports | Test suite 1 | 9 | Test Result | Successful | Test Suite | Test suiteMEREG2OBJECTS | = | Test Case | TEST MERGE2OBJECTS | Edit Test Report | Test Result | Screen / Datahub Factory / System Administration / Test Scenario |" } ]
[ { "from": "human", "value": "Create an automated test scenario for query screen - copy/ paste from a standard grid without breaks to excel" }, { "from": "gpt", "value": "Scenario: Query screen - Copy/Paste from a standard grid without breaks to Excel\n Given I am logged as <user> on <screen_name>\n And I select manually all the grid\n And I perform the keyboard shortcut <shortcut1>\n And I open Excel using a new browser\n And I log in with the user <excel_user> and the password <password> with the second browser\n And I Create a new blank workbook with the second browser\n And I Click on the first cell of the sheet with the second browser\n When I apply the keyboard shortcut <shortcut2> from the second browser\n And I download the sheet from the second browser\n Then The content of the downloaded file should be equal to <file_ref>\n Examples:\n | user | screen_name | shortcut1 | excel_user | password | shortcut2 | file_ref |\n | TAV_standard.user | My Users To Copy | Ctrl + C | dh_testauto@outlook.com | datahub2025 | Ctrl + V | config&ressources/Navigation/DHRD-92744_ref_file.xlsx |\n @DHRD-92745 @skipped @waiting_for_DHRD-97077" } ]
[ { "from": "human", "value": "Complete this Gherkin scenario:\n\nScenario Outline: Filter/Search on a view with multiple objects linked from the same class\n Given I am an authorized user <user>\n When I update the scope view search api <scope_view_code> with criteria <criteria_fields> and <criteria_operators> and <criteria_values>" }, { "from": "gpt", "value": "Scenario Outline: Filter/Search on a view with multiple objects linked from the same class\n Given I am an authorized user <user>\n When I update the scope view search api <scope_view_code> with criteria <criteria_fields> and <criteria_operators> and <criteria_values>\n Then I should get a response with status <status_code>\n And all received objects should include these <values> as <fields>\n Examples:\n | user | scope_view_code | criteria_fields | criteria_operators | criteria_values | status_code | values | fields |\n | TAR_api.user | TAR_SCOPE_VIEW_OBJECTS_LINK_SAME_CLASS | security_code_type | EQUAL | ISIN | 200 | TAR_accor;FR0000852501;INTERNAL_171865 | name;Share ISIN;Benchmark code |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Export XML using the property ENCODING\n Given I am an authorized user <userApi>\n And I launch task <task_code> using an ID from API path <taskExecution_path>\n And I should get a response with status <status_code1>" }, { "from": "gpt", "value": "Scenario Outline: Export XML using the property ENCODING\n Given I am an authorized user <userApi>\n And I launch task <task_code> using an ID from API path <taskExecution_path>\n And I should get a response with status <status_code1>\n When I send a GET request to <taskExecution_path> with the retrieved task ID\n Then I should get a response with status <status_code2>\n And The received object should include the field <field> with value <value> under <element>\n And The content of the exported xml file <file_exported> should be equal to <file_ref>\n Examples:\n | userApi | taskExecution_path | task_code | field | value | element | status_code1 | status_code2 | file_ref | file_exported |\n | TAR_api.user | task-executions | Task_EXPORT_XML_PROP_ENCODING | status | SUCCESS | execution | 201 | 200 | config&ressources/XML/RefEXPORT_XML_PROP_ENCODING.xml | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-94690-EXPORT_XML_PROP_ENCODING.xml |\n @DHRD-95025 @task-executions @waiting_For_DHRD-113310" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario: Run Valuation Service against Holdings\n Given I am logged as TAV_standard.user on <screen_name>\n And I select detail screen <object_name>\n When I run the scheduled task using the button <button> from the actions menu\n And I check that a popup is displayed with the message \"Task launched.\"\n And I close the popup\n And I open query screen <job_report_screen> which title begins with <banner_job_report>\n And I search the task <object_name>\n And I check that the column <column> of the task is equal to <value>\n And I open query screen <screen_name1> which title begins with <title>" }, { "from": "gpt", "value": "Scenario: Run Valuation Service against Holdings\n Given I am logged as TAV_standard.user on <screen_name>\n And I select detail screen <object_name>\n When I run the scheduled task using the button <button> from the actions menu\n And I check that a popup is displayed with the message \"Task launched.\"\n And I close the popup\n And I open query screen <job_report_screen> which title begins with <banner_job_report>\n And I search the task <object_name>\n And I check that the column <column> of the task is equal to <value>\n And I open query screen <screen_name1> which title begins with <title>\n And I set an advanced date filter <filter_date> = <date_value1>\n And I click on Search button\n And I retrieve the generated valuation set id\n And I open the detail screen of the generated valuation set\n And I check that the fields <fields1> are saved with <fields_value>\n And I open query screen <screen_name2> which title begins with <title2>\n And I set an advanced date filter <filter_date> = <date_value1>\n And I click on Search button\n Then Valuations are displayed with <valuation_id> equal to the generated valuation set id\n And The displayed valuations have <fields> equal to <values>\n Examples:\n | screen_name | object_name | button | job_report_screen | banner_job_report | column | value | screen_name1 | title | filter_date | screen_name2 | title2 | date_value1 | fields1 | fields_value | valuation_id | fields | values |\n | Scheduled Tasks | Valuation Service Against Holdings | Run task | Job Reports | Job report | Status | Successful task | Valuation Sets | Valuation Sets | date | Holding Valuations_3 | Holding Valuations_3 | 09/30/2025 | Name;Description2;Category;User Category | Valuation Set computed on 2025-09-30 with the Valuation Style Market Value and LT Style Standard Look-Through;Valuation is computed against source HOLDING when storage is set toY;Category c1;Super User | Valuation Set | Currency;Style;LT Style | CAD;Market Value;Standard Look-Through |" } ]
[ { "from": "human", "value": "Add the remaining steps to this scenario:\n\nScenario Outline: Run a multi-thread export\n Given I am logged in as <user>\n And I open query screen <screen_name> which title begins with <banner>\n And I search for <task_name> and select the first line\n And I set values <value> for the columns <column>\n And I save\n And I perform the action <action>\n And I check that a popup is displayed with the message \"Task launched.\"" }, { "from": "gpt", "value": "Scenario Outline: Run a multi-thread export\n Given I am logged in as <user>\n And I open query screen <screen_name> which title begins with <banner>\n And I search for <task_name> and select the first line\n And I set values <value> for the columns <column>\n And I save\n And I perform the action <action>\n And I check that a popup is displayed with the message \"Task launched.\"\n And I close the popup\n And I perform the action <action1>\n And I search and open the job <job_name>\n Then I check that the fields <fields> should be equal <new_values>\n And The fields <fields1> should contains <new_values1>\n And <nbr_thread> workers logs files are generated on path <Worker_file_Path>\n And The file is exported on path <file_exported>\n And The content of the exported csv file <file_exported> should be equal to <file_ref>\n Examples:\n | user | screen_name | banner | task_name | job_name | tab | action | action1 | screen_name1 | banner1 | fields | new_values | fields1 | new_values1 | column | value | nbr_thread | Worker_file_Path | file_exported | file_ref |\n | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | TNR TEST CSV EXPORT MULTITHREAD TEST1 | TNR TEST CSV EXPORT MULTITHREAD | Jobs | Run task | Show task in job report screen | Job Reports | Job report | Status | Successful job | Comment;Comment;Comment on proc | TNR TEST CSV EXPORT MULTITHREAD TEST1 succesfully ended;No reject has been generated;- Multi-threaded job, with 2 threads which have run in parallel | Parameters | /$default_import_export_folder$/Export1.csv -nbthread=2 | 2 | /Soft/logs/WriterWorker | /data/testauto/nxdh/data/Export1.csv | config&ressources/DataManagement/csv_ref_file_DHRD-101414.csv |\n # | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | TNR TEST CSV EXPORT MULTITHREAD | TNR TEST CSV EXPORT MULTITHREAD | Jobs | Run task | Show task in job report screen | Job Reports | Job report | Status | Successful job | Comment;Comment;Comment on proc | TNR TEST CSV EXPORT MULTITHREAD succesfully ended;No reject has been generated;- Multi-threaded job, with 3 threads which have run in parallel | Parameters | /$default_import_export_folder$/Export.csv -nbthread=3 | 3 | /Soft/logs/WriterWorker | /data/testauto/nxdh/data/Export.csv | config&ressources/DataManagement/csv_ref_file_DHRD-101414.csv |\n @DHRD-101415 @pending_to_test @waiting_for_DHRD-112026 @skipped @skipped @waiting_for_DHRD-113871" } ]
[ { "from": "human", "value": "Write test steps in Gherkin format for query grid navigation - check default configuration" }, { "from": "gpt", "value": "Scenario Outline: Query grid navigation - Check default configuration\n Given I am logged as TAV_standard.user on <screen_name>\n And I switch to mode <mode>\n When I click on the hidden columns menu\n And I check that the default hidden columns number is equal to <hidden_columns_value>\n And I check that default hidden columns list is equal to <hidden_columns_list>\n And I check that the default hidden columns <hidden_columns_list> are not dispayed in the grid\n And I check that the displayed columns order is equal to <columns_order>\n And I click on the groups menu\n And I check that the default groups number is equal to <group_value>\n And I check that default groups list is equal to <group_columns>\n And I check that the grid is correctly grouped by the configured columns <group_columns>\n And I click on the sorts menu\n And I check that the default sorted columns number is equal to <sort_columns_value>\n And I check that default sorted columns list is equal to <sort_columns>\n And I check that the grid is correctly sorted by the configured columns <sort_columns>\n And I go to detail screen <detail_screen> of <object_name>\n And I select the tab <Tab>\n And I go back to query screen\n Then The hidden columns number must be equal to <hidden_columns_value>\n And The hidden columns <hidden_columns_list> are not displayed in the grid\n And The groups number must be equal to <group_value>\n And The grid is correctly grouped by the configured columns <group_columns>\n And The sorted columns number must be equal to <sort_columns_value>\n And The grid is correctly sorted by the configured columns <sort_columns>\n And The displayed columns order must be equal to <columns_order>\n Examples:\n | screen_name | mode | hidden_columns_value | hidden_columns_list | columns_order | group_value | group_columns | sort_columns_value | sort_columns | detail_screen | object_name | Tab |\n | Users_QUERY_CONFIG | Edit | 13 | Login;Password;Privacy;Cat.;Smart code;Menu ordering;Height;Width;X;Y;Cat..;Model;Is model? | Role;#NX;Lastname;Activated ?;Fit model | 1 | Role | 2 | Role;Lastname | User: TAV_USER | TAV_USER | Authorizations |\n | My Securities_QUERY_CONFIG | Audit | 3 | Primary place;#NX;Creation date | Name;Issuer;Market;Country;Currency;Mat. date;Sec main type;Sec type;BBG sec type;Alerts pending;Preferred?;UPDATE_DATE;UPDATE_TIME;Secured?;Subordination;Subordinated?;Status value;Status value.;Flag | 1 | Sec main type | 4 | Sec main type;Status value;Preferred?;Name | Equity detail: Atos | Atos | Prices |\n # | My Securities_QUERY_CONFIG | Edit | 3 | Primary place;#NX;Creation date | Name;Issuer;Market;Country;Currency;Mat. date;Sec main type;Sec type;BBG sec type;Alerts pending;Preferred?;UPDATE_DATE;UPDATE_TIME;Secured?;Subordination;Subordinated?;Status value;Status value.;Flag | 1 | Sec main type | 4 | Sec main type;Status value;Preferred?;Name | Equity detail: Atos Act | Atos Act | Prices |\n # | Users_QUERY_CONFIG | Audit | 13 | Login;Password;Privacy;Cat.;Smart code;Menu ordering;Height;Width;X;Y;Cat..;Model;Is model? | Role;#NX;Lastname;Activated ?;Fit model | 1 | Role | 2 | Role;Lastname | User: TAV_USER | TAV_USER | Authorizations |\n # | My Securities_QUERY_CONFIG | View | 3 | Primary place;#NX;Creation date | Name;Issuer;Market;Country;Currency;Mat. date;Sec main type;Sec type;BBG sec type;Alerts pending;Preferred?;UPDATE_DATE;UPDATE_TIME;Secured?;Subordination;Subordinated?;Status value;Status value.;Flag | 1 | Sec main type | 4 | Sec main type;Status value;Preferred?;Name | Equity detail: Atos Act | Atos Act | Prices |\n # | Users_QUERY_CONFIG | View | 13 | Login;Password;Privacy;Cat.;Smart code;Menu ordering;Height;Width;X;Y;Cat..;Model;Is model? | Role;#NX;Lastname;Activated ?;Fit model | 1 | Role | 2 | Role;Lastname | User: TAV_USER | TAV_USER | Authorizations |\n@DHRD-93977 @pending @waiting_For_DHRD-112024" } ]
[ { "from": "human", "value": "Write a behavior-driven test for take into account the inactivation of a field" }, { "from": "gpt", "value": "Scenario Outline: Take into account the inactivation of a field\n\t\tGiven I am an authorized user <user>\n\t\tWhen I update the scope view search api <scope_view_code> without fields and criteria\n\t\tThen I should get a response with status <status_code>\n\t\tAnd the fields <fields> are correctly displayed in reponse\n\t\tExamples:\n\t\t\t| user | scope_view_code | status_code | fields |\n\t\t\t| TAR_api.user | TAR_SCOPE_VIEW_FIELD_CRITERIA_DESACTIVATION | 200 | name;security_code |" } ]
[ { "from": "human", "value": "Write test steps in Gherkin format for filter/ search on a view with criteria overloadable" }, { "from": "gpt", "value": "Scenario Outline: Filter/Search on a view with criteria overloadable\n\t\tGiven I am an authorized user <user>\n\t\tWhen I update the scope view search api <scope_view_code> with criteria <criteria_field> and <criteria_operator> and <criteria_value>\n\t\tThen I should get a response with status <status_code>\n\t\tAnd all received objects should include these <criteria_value> as <criteria_field>\n\t\tExamples:\n\t\t\t| user | scope_view_code | criteria_field | criteria_operator | criteria_value | status_code |\n\t\t\t| TAR_api.user | TAR_SCOPE_VIEW | security_main_type | EQUAL | Mutual Fund | 200 |" } ]
[ { "from": "human", "value": "Write a behavior-driven test for create a json export feedproc" }, { "from": "gpt", "value": "Scenario Outline: Create a Json export feedproc\n # Given I am logged in as <user>\n # And I open query screen <screen_name> which title begins with <banner>\n # And I open advanced search tool\n # And I set advanced filter on list <field_name> = <field_value>\n # And I click on Search button\n # And I close advanced search tool\n # And I add a row using the buttons toolbar\n # And I filter only edited rows\n # And I open the detail screen of the selected line\n # And I edit the fields <fields_names> with the values <fields_values>\n # And I go to the step <step2>\n # And I choose the provider <provider>\n # And I upload a file <json_file>\n # And I approve the popup\n # And A popup is displayed with the message \"You are about to import a schema file. Please select first the class to map and then the schema file.\"\n # And I approve the popup\n # And I select a class <class_name>\n # And I go to the step <step3>\n # # And I add new criterion <internal_field1> from <secondary_table> under the table <table1>\n # # And I open the assignment details popup of the field <internal_field1>\n # # And I set the field <conversion_field> to <conversion_value1>\n # # And I add new table <table2>\n # # And I delete the internal fields <fields_del2>\n # # And I add an internal fields <internal_field2> under the table <table2>\n # # And I add an internal fields <lookup2> under the lookup of the table <table2>\n # # And I open the assignment details popup of the field <field_lookup2>\n # # And I set the field <conversion_field> to <conversion_value2>\n # # And I add new table <table3>\n # # And I delete the internal fields <fields_del3>\n # # And I add an internal fields <internal_field3> under the table <table3>\n # # And I open the assignment details popup of the field <field3>\n # # And I set the field <conversion_field> to <conversion_value3>\n # # And I assign the external fields <external_fields> to the internal fields <internal_fields>\n # # When I save\n # # Then A \"info\" toast is displayed with \"ACTION ENDED: Recording object(s)\"\n # Examples:\n # | user | screen_name | banner | field_name | field_value | fields_names | fields_values | step2 | provider | json_file | class_name | step3 | secondary_table | internal_field1 | table1 | table2 | table3 | fields_del2 | lookup2 | internal_field2 | table3 | fields_del3 | internal_field3 | conversion_field | conversion_value1 | conversion_value2 | field_lookup2 | field3 | conversion_value3 | internal_fields | external_fields |\n # | TAV_standard.user | Feed Dictionary | Import/Export proc : | Feed;Category;Type;Privacy | Export;Manual Export;Manual file export;NeoXam | English;French;Code | FC_EXPORT_JSON_EN;FC_EXPORT_JSON_FR;FC_EXPORT_JSON_CODE | Data | JSON | testExportJSONSchema.json | MxSecurity | Mapping | SECURITY_CODE | ISIN | SECURITY | SECURITY_CODE | SECURITY_QUOTE | Currency code;Sub type;Country code;Market code;Code start date | Code | Market code | SECURITY_QUOTE | Quote market;Quote date;Quote provider;Quote currency | Open quote;Close quote;Quote date;Quote provider;Quote currency | Default value | Cofidur | ISIN | Codification system | Quote provider | Bloomberg | Code;Market code;Quote date;Quote currency;Close quote;Open quote | Isin;Exchange;Date;Currency;Close;Open |" } ]
[ { "from": "human", "value": "Add the remaining steps to this scenario:\n\nScenario Outline: Delete owned screens with authorized user\n Given I am logged in as <user>\n And I switch to mode config\n And I open the user menu <user_menu>\n When I delete the owned screens <screen_list> from the parent folder <folder_list>" }, { "from": "gpt", "value": "Scenario Outline: Delete owned screens with authorized user\n Given I am logged in as <user>\n And I switch to mode config\n And I open the user menu <user_menu>\n When I delete the owned screens <screen_list> from the parent folder <folder_list>\n And I check that the deleted screens <screen_list> have disappeared from menu <folder_list>\n And I logged out and logged in with <user>\n And I switch to mode config\n And I open the user menu <user_menu>\n Then The deleted screens <screen_list> have disappeared from menu <folder_list>\n Examples:\n | user | user_menu | folder_list | screen_list |\n | authorized.user.EN | DataHub warehouse | DataHub warehouse;Price & Levels;Index & Benchmark | Detail Screen;Query Screen;Dashboard Screen |\n | authorized.user.FR | DataHub factory | DataHub factory;Production;Scopes et Vues | Ecran Detail;Ecran Query;Ecran Dashboard |" } ]
[ { "from": "human", "value": "Write test steps in Gherkin format for retrieve the list of views" }, { "from": "gpt", "value": "Scenario Outline: Retrieve the list of views\n\t\tGiven I am an authorized user <user>\n When I retrieve data from all the scope views\n Then I should get a response with status <status_code>\n And the criteria <scope_view_criterias> are correctly displayed in <scope_view_code>\n\t\tExamples:\n\t\t\t| user | scope_view_criterias | scope_view_code | status_code |\n | TAR_api.user | SECURITY_MAIN_TYPE;PREFFERED;CURRENCY | TAR_SCOPE_VIEW | 200 |" } ]
[ { "from": "human", "value": "Write a Gherkin scenario for testing i d s - display fund share valuations" }, { "from": "gpt", "value": "Scenario Outline: IDS - Display Fund Share Valuations\n\t\tGiven I am an authorized user <user>\n\t\tWhen I update the scope view search api <scope_view_code> with criteria <criteria_field> and <criteria_operator> and <criteria_value>\n\t\tThen I should get a response with status <status_code>\n And The response content is displayed with the same content as in <ref_json_file>\n\t\tExamples:\n\t\t\t| user | scope_view_code | criteria_field | criteria_operator | criteria_value | status_code | ref_json_file |\n\t\t\t| TAR_api.user | TAR_SHARE_VALUATION_VIEW_IDS | Share ISIN | EQUAL | XS1234567891 | 200 | share_valuation_ref.json |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Execute business rule unit testing for merge2objects function\n Given I am an authorized user <userApi>\n And I launch task <task_code> using an ID from API path <taskExecution_path>\n And I should get a response with status <status_code1>\n And I send a GET request to <taskExecution_path> with the retrieved task ID\n And I should get a response with status <status_code2>\n And The received object should include the field <field> with value <value> under <element>" }, { "from": "gpt", "value": "Scenario Outline: Execute business rule unit testing for merge2objects function\n Given I am an authorized user <userApi>\n And I launch task <task_code> using an ID from API path <taskExecution_path>\n And I should get a response with status <status_code1>\n And I send a GET request to <taskExecution_path> with the retrieved task ID\n And I should get a response with status <status_code2>\n And The received object should include the field <field> with value <value> under <element>\n And I am logged in as <user>\n And I open query screen <screen_name> using the path <path>\n And I set an advanced list filter <field_name1> <operator> <field_value1>\n And I click on Search button\n When I search and open the object which the column <field_name2> equal <testCaseName>\n Then A grid is displayed under the block <block> which contains <numOfRows> rows with values on columns <columns> must equal to <rows_values>\n Examples:\n | userApi | user | taskExecution_path | task_code | field | value | element | status_code1 | status_code2 | screen_name | banner | test_suite | numOfRows | columns | rows_values | field_name1 | field_value1 | operator | field_name2 | testCaseName | detail_screen | block | path |\n | TAR_api.user | TAV_standard.user | task-executions | RUN_TESTING | status | SUCCESS | execution | 201 | 200 | Test Reports | Test reports | Test suite 1 | 9 | Test Result | Successful | Test Suite | Test suiteMEREG2OBJECTS | = | Test Case | TEST MERGE2OBJECTS | Edit Test Report | Test Result | Screen / Datahub Factory / System Administration / Test Scenario |" } ]
[ { "from": "human", "value": "Write test steps in Gherkin format for i d s - display benchmark level" }, { "from": "gpt", "value": "Scenario Outline: IDS - Display Benchmark level\n\t\tGiven I am an authorized user <user>\n\t\tWhen I update the scope view search api <scope_view_code> with criteria <criteria_field> and <criteria_operator> and <criteria_value>\n\t\tThen I should get a response with status <status_code>\n\t\tAnd The response content is displayed with the same content as in <ref_json_file>\n\t\tExamples:\n\t\t\t| user | scope_view_code | criteria_field | criteria_operator | criteria_value | status_code | ref_json_file |\n\t\t\t| TAR_api.user | TAR_BENCHMARK_LEVEL_VIEW | Name;From;To | EQUAL;GREATER_EQUAL;LESS_EQUAL | TAR CAC 40;04/01/2024;04/01/2024 | 200 | benchmark_level_ref.json |\n@DHRD-98791 @skipped @waiting_for_DHRD-101416" } ]
[ { "from": "human", "value": "Write a Gherkin scenario for testing send s o a p request with an unauthorized user and check response" }, { "from": "gpt", "value": "Scenario Outline: Send SOAP request with an unauthorized user and check response\n Given I am an unauthorized user <user> on <soap_service>\n When I send a SOAP request with param <param_name> = <param_content> and operation <operation>\n Then I should get an authorization error\n Examples:\n | user | param_name | param_content | soap_service | operation |\n | random_user | null | null | Introspection | listWebServices |" } ]
[ { "from": "human", "value": "Write test steps in Gherkin format for cancel transaction using a skip validation user" }, { "from": "gpt", "value": "Scenario Outline: Cancel transaction using a skip validation user\n Given I am logged as <user> using path <path> and screen <screen_name>\n And I set an advanced list filter <field_name2> <operator> <field_value2>\n And I set an advanced range date filter <field_name3> <operator> <field_value3>\n And I set an advanced list filter <field_name1> <operator> <field_value1>\n And I click on Search button\n And I close advanced search tool\n And I select the first row from the grid\n When I Cancel the transaction\n And I check that the transaction is added with field <field> and value <value>\n And The transaction status is not yellow\n And I open query screen <screen_name2> using the path <path2>\n And I set an advanced list filter <field_name> <operator> <field_value>\n And I set an advanced list filter <field_name1> <operator> <field_value1>\n And I click on Search button\n Then The transaction is deleted\n Examples:\n | user | screen_name| path |screen_name2 |path2 |field_name|operator|field_value |field_name1|field_value1|quantity_column|quantity_value|field|value|field_name2|field_value2|field_name3|field_value3|\n |TAV_transactionskipvalidation.user |Transactions|Screen / Investment Data / Trade Support / Transactions|Holding Intraday|Screen / Investment Data / Positions / Holding Intraday|portfolio | = |Neoxam Dynamic|Security |Accor |quantity |0,0000 |status|Cancelled|all pf.|World Dynamic|trade dt|03/13/2025;03/13/2025|" } ]
[ { "from": "human", "value": "Create a BDD test scenario for run a json export" }, { "from": "gpt", "value": "Scenario Outline: Run a json export\n Given I am logged as TAV_standard.user on <screen_name>\n And I go to detail screen <detail_screen> of <trigger_task_name>\n When I select the action run task\n And I select show the task from the job report screen\n And I open advanced search tool\n And I set an advanced list filter Task = <task_name>\n And I click on Search button\n And I close advanced search tool\n Then I verify job <Export_job_name> of the task <task_name> with status <successfull_status>\n And The content of the exported json file <file_exported> should be equal to <file_ref>\n Examples:\n | screen_name | detail_screen | trigger_task_name | task_name | Export_job_name | successfull_status | file_exported | file_ref |\n | Scheduled Tasks | Scheduled task: TASK_EXPORT_JSON | TASK_EXPORT_JSON | TASK_EXPORT_JSON | EXPORT_JSON | Successful job | /data/testauto/nxdh/data/file_ExportJson.json | config&ressources/DataManagement/ref_file_ExportJson.json |" } ]
[ { "from": "human", "value": "Write a behavior-driven test for run valuation service against holdings" }, { "from": "gpt", "value": "Scenario: Run Valuation Service against Holdings\n Given I am logged as TAV_standard.user on <screen_name>\n And I select detail screen <object_name>\n When I run the scheduled task using the button <button> from the actions menu\n And I check that a popup is displayed with the message \"Task launched.\"\n And I close the popup\n And I open query screen <job_report_screen> which title begins with <banner_job_report>\n And I search the task <object_name>\n And I check that the column <column> of the task is equal to <value>\n And I open query screen <screen_name1> which title begins with <title>\n And I set an advanced date filter <filter_date> = <date_value1>\n And I click on Search button\n And I retrieve the generated valuation set id\n And I open the detail screen of the generated valuation set\n And I check that the fields <fields1> are saved with <fields_value>\n And I open query screen <screen_name2> which title begins with <title2>\n And I set an advanced date filter <filter_date> = <date_value1>\n And I click on Search button\n Then Valuations are displayed with <valuation_id> equal to the generated valuation set id\n And The displayed valuations have <fields> equal to <values>\n Examples:\n | screen_name | object_name | button | job_report_screen | banner_job_report | column | value | screen_name1 | title | filter_date | screen_name2 | title2 | date_value1 | fields1 | fields_value | valuation_id | fields | values |\n | Scheduled Tasks | Valuation Service Against Holdings | Run task | Job Reports | Job report | Status | Successful task | Valuation Sets | Valuation Sets | date | Holding Valuations_3 | Holding Valuations_3 | 09/30/2025 | Name;Description2;Category;User Category | Valuation Set computed on 2025-09-30 with the Valuation Style Market Value and LT Style Standard Look-Through;Valuation is computed against source HOLDING when storage is set toY;Category c1;Super User | Valuation Set | Currency;Style;LT Style | CAD;Market Value;Standard Look-Through |" } ]
[ { "from": "human", "value": "Write test steps in Gherkin format for execute a selection request" }, { "from": "gpt", "value": "Scenario Outline: Execute a selection request\n Given I am logged as TAV_standard.user on <screen_name>\n When I add a row using the buttons toolbar\n And I open the detail screen of the selected line\n And I edit the fields <fields_names> with the values <fields_values>\n And I remove group by <list_of_groups>\n And I add a row using the buttons toolbar\n And I update the cell value with <value1> for the column <query_column>\n And I remove the row selection\n And I add a row using the buttons toolbar\n And I update the cell value with <value2> for the column <query_column>\n And I save\n And I click on button <button>\n Then I check that the column <column_name> displays the value <column_value1> when the Security name is <value1>\n And I check that the column <column_name> displays the value <column_Value2> when the Security name is <value2>\n Examples:\n | screen_name | fields_names | fields_values | value1 | value2 | query_column | column_name | column_value1 | column_Value2 | button | button1 | list_of_groups |\n | Data Selection Requests | Valuation date;Data selection | 10/14/2025;2 - Data Selection Policy | TAV_dataSelection_EQ | TAV_dataSelection_FI | Security | price | 40,00000 | 20,23450 | Execute Selection | Clean the result | History datetime;Object status |" } ]
[ { "from": "human", "value": "Generate a Cucumber scenario to test add a new record in the future with discontinuity configured" }, { "from": "gpt", "value": "Scenario Outline: Add a new record in the future with discontinuity configured\n Given I am logged as <user> on <screen_name>\n And I go to detail screen <detail_screen> of <object_name>\n And I select the tab <tab>\n And Under the block <block_name> I check that the row number <nth1> is displayed with values <values1> on columns <columns>\n And Under the block <block_name> I check that the row number <nth2> is displayed with values <values2> on columns <columns>\n And Under the block <block_name> I check that the row number <nth3> is displayed with values <values3> on columns <columns>\n When I add a row on the grid under the block <block_name>\n And Under the block <block_name> i filter only edited rows\n And Under the block <block_name> I set values <new_values> for the columns <columns>\n And I save\n And A \"info\" toast is displayed with \"ACTION ENDED: Recording object(s)\"\n Then Under the block <block_name> A new added row in the position number <nth1> is displayed with values <new_values> on columns <columns>\n And Under the block <block_name> On the row number <nth2> the column <column> is not recomputed and displays the modified value <column_value>\n And Under the block <block_name> The row number <nth3> is displayed with values <values2> on columns <columns>\n And Under the block <block_name> The row number <nth4> is displayed with values <values3> on columns <columns>\n Examples:\n | user | screen_name | detail_screen | object_name | tab | values1 | values2 | values3 | new_values | columns | column | column_value | block_name | nth1 | nth2 | nth3 | nth4 |\n | TAV_standard.user | My Securities | Equity detail: TAV_OBJECT5_with_discontinuty | TAV_OBJECT5_with_discontinuty | ids & classif. | BBG - Fund Type;06/01/2022;12/31/2022;Amundi;ETC | BBG - Fund Type;05/01/2022;06/01/2022;Amundi;ETC | BBG - Fund Type;05/01/2021;04/01/2022;Amundi;ETC | BBG - Fund Type;07/01/2023;07/01/2024;Amundi;ETC | Group Type;Classif Start Date;Classif End Date;Class Prov;Group | Classif end date | 12/31/2022 | Security classifications | 1 | 2 | 3 | 4 |" } ]
[ { "from": "human", "value": "Write a Gherkin scenario for testing update fields to \"else if\" block" }, { "from": "gpt", "value": "Scenario Outline: Update fields to \"else if\" block\n Given I am logged in as <user>\n And I open query screen <screen_name> which title begins with <banner>\n And I search and open the feed <feed> with the category Import\n And I check that the default displayed step is <step1>\n And I go to the step <step3>\n And I check the <cond_bloc1> bloc is displayed with the condition <condition1> under the table <table> with the fields <fields1>\n And I check the <cond_bloc2> bloc is displayed with the condition <condition2> under the table <table> with the fields <fields2>\n When I update the <cond_bloc2> bloc with the <new_operator> operator and the value <new_value>\n And I check the condition <new_condition> is displayed in the <cond_bloc2> bloc\n And I add the fields <new_fields> under the <cond_bloc2> conditional bloc\n And I assign the external fields <field> to the internal fields <new_fields>\n And I save\n And A \"info\" toast is displayed with \"ACTION ENDED: Recording object(s)\"\n Then I check that the condition <new_condition> is displayed in the <cond_bloc2> bloc under the table <table> with the internal fields <fields2> and <new_fields> assigned to the following external fields <field> and <field>\n Examples:\n | user | screen_name | banner | feed | step1 | step3 | cond_bloc1 | cond_bloc2 | condition1 | table | fields1 | keyword2 | condition2 | fields2 | new_condition | new_operator | new_value | new_fields | field |\n | TAV_standard.user | Feed Dictionary | Import/Export proc : | TEST_IMPORT_JSON4 | Definition | Mapping | if | else if | text1 <> Null | SECURITY | Product description | Else if | text2 <> Null | Product description | text2 = test | = | test | Market Expectation | text2 |" } ]
[ { "from": "human", "value": "Add the remaining steps to this scenario:\n\nScenario Outline: Query grid Navigation - Check Default transposed grid\n Given I am logged as TAV_standard.user on <screen_name>\n And I open advanced search tool\n And I set an advanced list filter <criteria> = <value>\n And I click on Search button\n And I close advanced search tool\n And I check that the default grid configuration is transpose" }, { "from": "gpt", "value": "Scenario Outline: Query grid Navigation - Check Default transposed grid\n Given I am logged as TAV_standard.user on <screen_name>\n And I open advanced search tool\n And I set an advanced list filter <criteria> = <value>\n And I click on Search button\n And I close advanced search tool\n And I check that the default grid configuration is transpose\n When I add a row using buttons toolbar\n Then I check that a new blank column is added\n And I check that the transposed grid field <field1> value in the first column is <field1_value>\n And I check that the transposed grid field <field2> value in the first column is <field2_value>\n And I check that the value <field1_value> of the field <field1> is right aligned on transposed grid\n And I check that the value <field2_value> of the field <field2> is left aligned on transposed grid\n Examples:\n | screen_name | field1 | field2 | criteria | value | field1_value | field2_value |\n | Transposed Grid | Close | Creation date | Sec type | CT - Fx Forward | 1,0000 | 09/24/2018 |\n @DHRD-96355 @pending @waiting_For_DHRD-112033" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Download file\n Given I am logged as <administrator_user> on <screen_name>\n When I search and select the line of <document_name>\n And I upload the file <file_name> to a <document_name>\n And I save\n And A \"info\" toast is displayed with \"ACTION ENDED: Recording object(s)\"" }, { "from": "gpt", "value": "Scenario Outline: Download file\n Given I am logged as <administrator_user> on <screen_name>\n When I search and select the line of <document_name>\n And I upload the file <file_name> to a <document_name>\n And I save\n And A \"info\" toast is displayed with \"ACTION ENDED: Recording object(s)\"\n And I logg in with <user> on <screen_name> using a new browser\n And I open the detail screen <document_name> in the new browser\n And I download the file <file_name> in the new browser\n Then <file_name> is successfully downloaded in Downloads directory\n And The Downloaded file from Detail should be equal to <ref_file>\n Examples:\n | administrator_user | screen_name | document_name | file_name | user | detail_screen | ref_file |\n | TAV_Administrator | Documents | TAV_Download_Testing_Document | TAV_Download_Testing_file1.csv | TAV_standard.user | Document: TAV_Download_Testing_Document | config&ressources/DataManagement/toBeUploaded/TAV_Download_Testing_file1.csv |" } ]
[ { "from": "human", "value": "Create Gherkin steps to verify query grid navigation - resize column" }, { "from": "gpt", "value": "Scenario Outline: Query grid navigation - Resize column\n Given I am logged in as Standard User\n And I search query screen <screen_name>\n And I check that columns are autosized depending on the <total> number of columns in my query grid\n And I load the query screen content\n And I check that the autosize <values> is applied in the columns <columns>\n And I open advanced search tool\n And I set an advanced list filter <field_name> = <field_value>\n And I click on Search button\n And I check that the autosize is not applied in the columns <columns>\n When I resize <column_name> column on my query grid\n Then The column <column_name> is well resized in my query grid\n And I double click on <column_name> column to resize my column of query grid\n And The column <column_name> is well resized in my query grid\n Examples:\n | screen_name | total | field_name | field_value | column_name | values | columns |\n | Lists | few | Category | Accounting | Feed | 711;699 | Feed;Code |\n | Feed dictionary | large | Category | Manual Export | Active ? | 71;143 | Active ?;Exp. formatter |" } ]
[ { "from": "human", "value": "Create a BDD test scenario for run a partiel archive and check results" }, { "from": "gpt", "value": "Scenario Outline: Run a partiel archive and check results\n Given I am logged in as <user>\n And I open query screen <screen_name3> which title begins with <banner3>\n And The object <object> is displayed in the grid\n And I search and select the object <object>\n And I select the tab <tab>\n And I edit the fields Histo with the values Full\n And I check that the displayed lines contains lines with the value of the <column2> column lower than <value2>\n And I open query screen <screen_name1> which title begins with <banner1>\n And I search and open the task <task>\n And I run the scheduled task using the button <button> from the actions menu\n And I check that a popup is displayed with the message \"Task launched.\"\n And I close the popup\n When I open query screen <screen_name2> which title begins with <banner2>\n And I search the task <task>\n And The column <column> of the task is equal to <value>\n And I open query screen <screen_name3> which title begins with <banner3>\n Then The object <object> is displayed in the grid\n And I search and select the object <object>\n And I select the tab <tab>\n And I edit the fields Histo with the values Full\n And I check that the displayed lines have the value of the <column2> column greater than <value2>\n Examples:\n | user | screen_name1 | banner1 | task | button | screen_name2 | banner2 | column | value | screen_name3 | banner3 | object | tab | column2 | value2 |\n | TAV_standard.user | Scheduled Tasks | Scheduled tasks: | PARTIAL_ARCHIVING | Run task | Job Reports | Job report | Status | Successful task | My Securities | Security: | TAV_ToArchive2 | Prices | Date | 12/31/2021 |\n @DHRD-103328 @skipped @waiting_for_DHRD-106607" } ]
[ { "from": "human", "value": "Generate a feature file scenario for run morning star valuation task" }, { "from": "gpt", "value": "Scenario Outline: Run MorningStar valuation task\n Given I am logged as TAV_standard.user on <screen_name>\n And I go to detail screen <detail_screen> of <task_name>\n When I select the action run task\n And I select show the task from the job report screen\n And I open advanced search tool\n And I set an advanced list filter Task = <task_name>\n And I click on Search button\n And I close advanced search tool\n Then I verify job <export_job_name> of the task <task_name> with status <successfull_status>\n And The content of the exported file <file_exported> should be not empty and should be a valid XML file\n And The lines number of the xml file <file_ref> should be equal to the lines of <file_exported>\n Examples:\n | screen_name | detail_screen | task_name | export_job_name | successfull_status | file_exported | file_ref |\n | Scheduled Tasks | Scheduled task: MorningStar Valuation One File import Task | MorningStar Valuation One File import Task | MorningstarWSRequestService | Successful job | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-103966_MSVLFilesList.xml | config&ressources/DataManagement/ref_DHRD-103966_MSVLFilesList.xml |\n | Scheduled Tasks | Scheduled task: MorningStar Valuation One File import Task | MorningStar Valuation One File import Task | MorningstarWSRequestService | Successful job | /data/testauto/nxdh/data/EXPORT_FILES/DHRD-103966_MSVLFilesList.xml | config&ressources/DataManagement/ref_DHRD-103966_MSVLFilesList.xml |" } ]
[ { "from": "human", "value": "Write a behavior-driven test for retrieve views error status codes" }, { "from": "gpt", "value": "Scenario Outline: Retrieve views error status codes\n\t\tGiven I am an authorized user <user>\n When I retrieve data from the scope view <scope_view_code>\n Then I should get a response with status <error_code>\n\t\tExamples:\n\t\t\t| user | scope_view_code | error_code |\n | TAR_api.user | TEST_SCOPE_VIEW1 | 404 |\n | TAR_api.use | TAR_SCOPE_VIEW | 401 |" } ]
[ { "from": "human", "value": "Write test steps in Gherkin format for run an excel export" }, { "from": "gpt", "value": "Scenario Outline: Run an Excel export\n Given I am logged as TAV_standard.user on <screen_name>\n And I go to detail screen <detail_screen> of <trigger_task_name>\n When I select the action run task\n And I select show the task from the job report screen\n And I open advanced search tool\n And I set an advanced list filter Task = <task_name>\n And I click on Search button\n And I close advanced search tool\n Then I verify job <Export_job_name> of the task <task_name> with status <successfull_status>\n And The content of the exported xls file <file_exported> should be equal to <file_ref>\n Examples:\n | screen_name | detail_screen | trigger_task_name | task_name | Export_job_name | successfull_status | file_exported | file_ref |\n | Scheduled Tasks | Scheduled task: NEWTASK_EXPORT_XLS | NEWTASK_EXPORT_XLS | NEWTASK_EXPORT_XLS | new test export xls | Successful job | /data/testauto/nxdh/data/file_ExportExcel.xls | config&ressources/DataManagement/ref_file_ExportExcel.xls |\n | Scheduled Tasks | Scheduled task: NEWTASK_EXPORT_XLSX | NEWTASK_EXPORT_XLSX | NEWTASK_EXPORT_XLSX | new test export xlsx | Successful job | /data/testauto/nxdh/data/file_ExportExcel.xlsx | config&ressources/DataManagement/ref_file_ExportExcel.xlsx |" } ]
[ { "from": "human", "value": "Write test steps in Gherkin format for showing data using vertical scroll bar" }, { "from": "gpt", "value": "Scenario Outline: Showing data using vertical scroll bar\n Given I am logged in as Standard User\n And I access <screen_name> screen which title begins with <banner_fixed_text>\n When I scroll the vertical bar\n Then the query grid rows are moved down until we reach the last row\n Examples:\n | screen_name | banner_fixed_text |\n | My Securities | Security: |" } ]
[ { "from": "human", "value": "Create Gherkin steps to verify run a computation where output is empty and check aggregation results" }, { "from": "gpt", "value": "Scenario Outline: Run a computation where output is empty and check aggregation results\n Given I am logged as TAV_standard.user on <screen_name>\n And I go to detail screen <detail_screen> of <object_name>\n When I launch the action <actions> with config location <arguments>\n And I check that a popup is displayed with the message \"Task launched.\"\n And I close the popup\n And I open query screen <job_report_screen> which title begins with <banner_job_report>\n And I search the task <object_name>\n And I check that the column <column> of the task is equal to <value>\n And I open detail screen <detail_screen1> of column name <column_name1> of object <object_name1>\n Then A message <error_message> is displayed in <comment_title>\n Examples:\n | screen_name | detail_screen | object_name | actions | arguments | sum_field | root_code | child_code | cost_total_base | value | column | valuation_date | job_report_screen | banner_job_report | error_message | comment_title | object_name1 | detail_screen1 | column_name1 |\n | Scheduled Tasks | Scheduled task: Aggregation Computation With Json Config Location4 | Aggregation Computation With Json Config Location4 | Run task with args | /mnt/nfs/automationstorage/AT/users/AGGREGATION/DHRD-60986.json | Tot._Contrib._(Base) | Root 00 | Child 00 | Cost Total (Base). | Failed task | Status | 02/02/2024 | Job Reports | Job report | java.lang.IllegalStateException: Output configuration should be one of : store only, export only store and export, current config : OutputConfiguration [stored=false, exportConfiguration=null] | Comment | Aggregation Computation | Job report | Job |" } ]
[ { "from": "human", "value": "Create Gherkin steps to verify upload document and save using a c t i o n menu" }, { "from": "gpt", "value": "Scenario Outline: Upload Document And Save using ACTION menu\n Given I am logged as <user> on <screen_name>\n When I search and select the line of <document_name>\n And I upload the file <file_name> to a <document_name>\n And I perform the action <save_button>\n And A \"info\" toast is displayed with \"ACTION ENDED: Recording object(s)\"\n Then The uploaded file is displayed with <file_name> to document <document_name>\n Examples:\n | user | screen_name | save_button | document_name | file_name |\n | TAV_standard.user | Documents | Save All | TAV_Upload_Testing_Document2 | TAV_Upload_Testing_file.txt |" } ]
[ { "from": "human", "value": "Write a Gherkin scenario for testing create transaction" }, { "from": "gpt", "value": "Scenario Outline: Create Transaction\n Given I am logged as <user> using path <path> and screen <screen_name>\n And I enter transaction with the following informations\n | Txn Type | Buy / Open Long |\n | Port ID | Euro Government Bond |\n | security | Accor |\n | Qty Mode | Contract |\n | Quantity | 6 |\n | Price | 30 |\n | Comment | test |\n | Comment Type | Comment |\n And I check that a popup is displayed with the message \"Transaction created successfully\"\n And I close the popup\n And I set an advanced Id transaction filter\n And I click on Search button\n And I close advanced search tool\n And I check that the transaction is added with field <status> and value <value>\n And I am logged out\n And I am logged as <user2> using path <path> and screen <screen_name>\n And I set an advanced Id transaction filter\n And I click on Search button\n And I close advanced search tool\n And I set the columns <column2> with the values <value2> of the row\n When I approve the transaction using the comment <comment>\n And I check that the transaction is added with field <field3> and value <value3>\n And I click on the action using the path <actions>\n And I open the detail screen of the selected line\n And I check that the transaction is <status3> by the user <user3> in the grid <grid_name>\n And I open query screen <screen_name1> using the path <path1>\n And I set an advanced Id filter\n And I click on Search button\n And I close advanced search tool\n And I check that the transaction is added with field <field4> and value <value4>\n And I open query screen <screen_name2> using the path <path2>\n And I set an advanced list filter <field_name> <operator> <field_value>\n And I set an advanced list filter <field_name1> <operator> <field_value1>\n And I click on Search button\n Then The transaction is dispalyed with field <field4> and value <value4>\n Examples:\n | user | screen_name | path |status |value |user2 |column2|value2|comment|screen_name1|path1 |field|value1|field3|value3|actions |status3 |grid_name |screen_name2 |path2 |field_name|operator|field_value |field_name1|field_value1|field4 |value4|user3|\n | TAV_transaction.user | Manual Txns Entry/Review | Screen / Investment Data / Trade Support / Manual Txns Entry/Review |4-eyes status|Pending Approval|TAV_transactionskipvalidation.user|Sel |Yes |test |Transactions|Screen / Investment Data / Trade Support / Transactions|hldg |Yes |status|Booked|Computation;Calculate All|Approved|Miscellaneous|Holding Intraday|Screen / Investment Data / Positions / Holding Int|portfolio |= |Euro Government Bond|Security |Accor |quantity|6,0000|TAV_WITHSKIPVALIDATION, TRANSACTION|\n @DHRD-102865 @skipped @waiting_for_DHRD-104752" } ]
[ { "from": "human", "value": "Complete this Gherkin scenario:\n\nScenario Outline: Define a trigger perimeter\n Given I am logged in as <user>\n And I open query screen <screen_name> which title begins with <banner>\n And I search and open the feed <feed> with the category <category>\n And I go to the step <step3>\n And I check that the trigger <trigger> is selected\n And I check that the internal fields <fields> are displayed under the table <table>\n And I open the mapping actions menu" }, { "from": "gpt", "value": "Scenario Outline: Define a trigger perimeter\n Given I am logged in as <user>\n And I open query screen <screen_name> which title begins with <banner>\n And I search and open the feed <feed> with the category <category>\n And I go to the step <step3>\n And I check that the trigger <trigger> is selected\n And I check that the internal fields <fields> are displayed under the table <table>\n And I open the mapping actions menu\n When I open the trigger configuration popup\n And I go to the tab <tab>\n And I select the <class> class\n And I Add criterion with '<field>' '<operator>' '<value>'\n And I check the visual cue is displayed in the <tab> tab\n And I click on button <button>\n And I save\n Then A \"info\" toast is displayed with \"ACTION ENDED: Recording object(s)\"\n Examples:\n | user | screen_name | banner | feed | category | step3 | step4 | trigger | fields | table | tab | class | field | operator | value | button |\n | TAV_standard.user | Feed Dictionary | Import/Export proc : | Export_csv_triggered | Export | Mapping | Result | Trigger 0 | Activity country;Trade currency;Product description;Security main type | SECURITY | Perimeter | Security | SECURITY_ID | In | 530882;530883;530884 | Ok |\n @DHRD-101406 @flaky" } ]
[ { "from": "human", "value": "Add the remaining steps to this scenario:\n\nScenario Outline: TESTCASE_ACC Soap WebServices with JSON input/output\n Given I am an authorized user <user>\n When I send a POST request to <path> using payload <payload_send> from folder <folder_name>" }, { "from": "gpt", "value": "Scenario Outline: TESTCASE_ACC Soap WebServices with JSON input/output\n Given I am an authorized user <user>\n When I send a POST request to <path> using payload <payload_send> from folder <folder_name>\n Then I should get a response with status <status_code>\n And the response content type should be <content_type>\n Examples:\n | user | path | payload_send | folder_name | status_code | content_type |\n | TAR_api.user | TestJsonSoap/testArrayRoot | testJsonSoapPayload.json | payloads | 200 | application/json |" } ]
[ { "from": "human", "value": "Create an automated test scenario for retrieve views error status codes" }, { "from": "gpt", "value": "Scenario Outline: Retrieve views error status codes\n\t\tGiven I am an authorized user <user>\n When I retrieve data from the scope view <scope_view_code>\n Then I should get a response with status <error_code>\n\t\tExamples:\n\t\t\t| user | scope_view_code | error_code |\n | TAR_api.user | TEST_SCOPE_VIEW1 | 404 |\n | TAR_api.use | TAR_SCOPE_VIEW | 401 |" } ]
[ { "from": "human", "value": "Add the remaining steps to this scenario:\n\nScenario Outline: Display an array of relative URLs for referenced objects\n Given I am an authorized user <user>\n When I send a search request with class name <class_name> , field <field> and label <label> and where field using payload <payload> in folder <folder_name>" }, { "from": "gpt", "value": "Scenario Outline: Display an array of relative URLs for referenced objects\n Given I am an authorized user <user>\n When I send a search request with class name <class_name> , field <field> and label <label> and where field using payload <payload> in folder <folder_name>\n And the fields <content_fields> are correctly displayed in reponse under <content_path>\n And the fields <code_fields> are correctly displayed in reponse under <code_path>\n Examples:\n | user | class_name | field | label | payload | folder_name | status_code | content_fields | content_path | code_fields | code_path |\n | TAR_api.user | MxSecurity | NAME;EXCHANGE_MARKET;PRIMARY_EXCHANGE | null;CODE/MIC;CODE/RIC | ManageSearch.json | payloads | 200 | NAME;CODE/MIC;CODE/RIC | data.content:fields | id;value;ref | data.content:fields.CODE/MIC |" } ]
[ { "from": "human", "value": "Generate a feature file scenario for ability to call a r e s t f u l service end point with g e t operation with http range paging" }, { "from": "gpt", "value": "Scenario Outline: Ability to call a RESTFUL service end point with GET operation with http range paging\n Given I am an authorized user <user>\n When I send a GET request to <path> with Range header <range>\n Then I should get a response with status <status_code>\n And the fields <content_fields> are correctly displayed in reponse under <content_path>\n Examples:\n | user | path | range | status_code | content_fields | content_path |\n | TAR_api.user | tarLastSecurityPrice | tarLastSecurityPrice=0-15 | 206 | isin;prices;name | data |" } ]
[ { "from": "human", "value": "Create an automated test scenario for query grid navigation - go back to standard grid from pivot table" }, { "from": "gpt", "value": "Scenario Outline: Query grid navigation - Go back to standard grid from pivot table\n Given I am logged as TAV_standard.user on <screen_name>\n When I open advanced search tool\n And I set an advanced list filter <criteria> = <value>\n And I click on Search button\n And I close advanced search tool\n And I change the grid display to Pivot\n And I select the row <row1> from Rows menu\n And I select the row <row2> from Rows menu\n And I select the column <column1> from Columns menu\n And I select the column <column2> from Columns menu\n And I select the agreggate method <Aggregate> from Aggregates menu\n And I change the grid display to Grid\n Then The hidden columns number must be equal to <hidden_columns_value>\n And The hidden columns <hidden_columns_list> are not displayed in the grid\n And The groups number must be equal to <group_value>\n And The groups list must be equal to <groups_columns>\n And The sorted columns number must be equal to <sort_columns_value>\n And The Sorted columns list must be equal to <sort_columns>\n Examples:\n | screen_name | criteria | value | row1 | row2 | column1 | column2 | Aggregate | hidden_columns_value | hidden_columns_list | group_value | groups_columns | sort_columns_value | sort_columns |\n | My Securities 6 | Sec Type | IX - Equity Index | Name | Creation date | Country | Currency | Issuer | 5 | Issuer;Primary place;Sec main type;#Nx;Creation date | 2 | Sec main type;Sec type | 4 | Sec main type;Sec type;Currency;Country |" } ]
[ { "from": "human", "value": "Complete this Gherkin scenario:\n\nScenario Outline: Find static value based on criteria with a defined code using GET method\n Given I am on the swagger interface\n When I select the resource <resource_name>\n And I setup basic authentication with user <user>\n And I click on the operation <operation_name> of the resource <resource_name> having as endpoint <endpoint>" }, { "from": "gpt", "value": "Scenario Outline: Find static value based on criteria with a defined code using GET method\n Given I am on the swagger interface\n When I select the resource <resource_name>\n And I setup basic authentication with user <user>\n And I click on the operation <operation_name> of the resource <resource_name> having as endpoint <endpoint>\n And I fill the parameters <request_parameters> with values <request_values>\n And I execute the request\n Then I should get the response status equal to <status_code>\n And The response body should contain the values <response_values> in the field <response_fields>\n Examples:\n | resource_name | user | operation_name | endpoint | request_parameters | request_values | status_code | response_values | response_fields |\n | Tav_statisticvaluedemo | TAV_standard.user | get-all | tavstatisticvaluedemo | code | TAV_STAT1 | 200 | TAV_STAT1 | name |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Query grid navigation - Don't group by column\n Given I am logged as <user> using path <path> and screen <screen_name>\n And I add the group <column_name> to the grid if not added\n When I ungroup by this column <column_name> using the column header menu\n Then The Group is not highlighted" }, { "from": "gpt", "value": "Scenario Outline: Query grid navigation - Don't group by column\n Given I am logged as <user> using path <path> and screen <screen_name>\n And I add the group <column_name> to the grid if not added\n When I ungroup by this column <column_name> using the column header menu\n Then The Group is not highlighted\n And The number of group is empty\n And the break <column_name> is removed from the query grid\n And The columns <column_name> are disabled from the groups menu\n And I check that the button expand all becomes disabled on the groups menu\n And I check that the button collapse all becomes disabled on the groups menu\n Examples:\n | user | screen_name | path | column_name |\n | TAV_standard.user | My Portfolios | Screen / Investment Data / Portfolios / My Portfolios | AMF Classif. |\n | TAV_standard.user | My Business entities | Screen / Static Data / Business Entities / My Business entities | Status |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Move bookmarks\n Given I am logged as <user> on <screen>\n And I go back to Homepage\n And I hover on recent screen <screen>\n And In recent screens I click on button <action> in <screen>\n And I click on button <button>\n And I move the bookmark screen <screen> into the bookmark folder <folder_name>\n And I check that the bookmark screen <screen> is not displayed under Bookmarks" }, { "from": "gpt", "value": "Scenario Outline: Move bookmarks\n Given I am logged as <user> on <screen>\n And I go back to Homepage\n And I hover on recent screen <screen>\n And In recent screens I click on button <action> in <screen>\n And I click on button <button>\n And I move the bookmark screen <screen> into the bookmark folder <folder_name>\n And I check that the bookmark screen <screen> is not displayed under Bookmarks\n When I click on bookmark folder <folder_name>\n And I check that the bookmark screen <screen> is displayed under the bookmark folder <folder_name>\n And I check that the breadcrumb displays the following path <breadcrumb_path>\n And In bookmarks I hover on screen <screen>\n And In bookmarks I click on button <action2> in <screen>\n And I check that the bookmark screen <screen> is not displayed under the bookmark folder <folder_name>\n And I go back to Bookmarks home page\n Then The bookmark screen <screen> is displayed under Bookmarks\n Examples:\n | user | folder_name | screen | banner_fixed_text | button | action | action2 | breadcrumb_path |\n | TAV_standard.user | parentFolder | Users | Users: | Close | Add Bookmark | Move to parent folder | > parentFolder |" } ]
[ { "from": "human", "value": "Write a behavior-driven test for dashboard welcome - access query screen using widget" }, { "from": "gpt", "value": "Scenario Outline: Dashboard welcome - Access Query screen using widget\n Given I am logged in as <user>\n And I check that <num_of_widgets> widgets are displayed which are <widget_titles>\n And I hover on the legend items of the <widget_name> widget and I check that the relative data is displayed on the pie chart\n When I click on the <widget_name2> widget\n Then I should be on <screen> with title beginning with <banner>\n And I go back to the welcome page\n And The welcome page matches the expected layout by comparing it with the reference image <refImage>\n Examples:\n | user | widget_titles | num_of_widgets | widget_name | widget_name2 | refImage | screen | banner |\n | TAV_standard.dashboard2 | Portfolios;Sec per type;Security Per Asset Class | 3 | Security Per Asset Class | Sec per type | config&ressources/Navigation/ref_screenshots/ref2.png | My Securities | Security: |\n | TAV_standard.dashboard3 | Security Per Asset Class;Issuer Ratings - Fitch LT;Securities;Sec per type;Security Per Market | 5 | Security Per Market | Issuer Ratings - Fitch LT | config&ressources/Navigation/ref_screenshots/ref4.png | My Business entities | Entity: |" } ]
[ { "from": "human", "value": "Add the remaining steps to this scenario:\n\nScenario: Query screen - Copy/Paste from a standard grid with breaks to Excel\n Given I am logged as <user> on <screen_name>\n And I expand all the breaks of the grid\n And I select manually all the grid\n And I perform the keyboard shortcut <shortcut1>\n And I open Excel using a new browser" }, { "from": "gpt", "value": "Scenario: Query screen - Copy/Paste from a standard grid with breaks to Excel\n Given I am logged as <user> on <screen_name>\n And I expand all the breaks of the grid\n And I select manually all the grid\n And I perform the keyboard shortcut <shortcut1>\n And I open Excel using a new browser\n And I log in with the user <excel_user> and the password <password> with the second browser\n And I Create a new blank workbook with the second browser\n And I Click on the first cell of the sheet with the second browser\n When I apply the keyboard shortcut <shortcut2> from the second browser\n And I download the sheet from the second browser\n Then The content of the downloaded file should be equal to <file_ref>\n Examples:\n | user | screen_name | shortcut1 | excel_user | password | shortcut2 | file_ref |\n | TAV_standard.user | My Profiles To Copy | Ctrl + C | dh_testauto@outlook.com | datahub2025 | Ctrl + V | config&ressources/Navigation/DHRD-92745_ref_file.xlsx |" } ]
[ { "from": "human", "value": "Create Gherkin steps to verify webservice: $in, $nin and $eq" }, { "from": "gpt", "value": "Scenario Outline: Webservice: $in, $nin and $eq\n Given I am an authorized user <user>\n When I send a GET request to <path> with the following query parameters <param>\n Then I should get a response with status <status_code>\n And the fields <content_fields> are correctly displayed in reponse under <content_path>\n And the response contains <items> items\n Examples:\n | user | path | param | status_code | content_fields | content_path | items |\n | TAR_api.user | tarsecurities/search | ?jq={\"ids\":{\"$in\":[36601,36604]}} | 200 | COUNTRY;CURRENCY | data | 2 |\n | TAR_api.user | tarsecurities/search | ?jq={\"ids\":{\"$eq\":36601}} | 200 | COUNTRY;CURRENCY | data | 1 |\n | TAR_api.user | tarsecurities/search | ?jq={\"ids\":{\"$nin\":[36604,36601]}} | 200 | COUNTRY;CURRENCY | data | total-2 |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Check default welcome dashboard display\n Given I am logged in as <user>\n And I check there are no screens displayed in the Recent screens section\n And I check that the bookmarks folders <bookmarks_folders> are displayed in the Bookmarks section\n And I verify that 4 KPI widgets are displayed which are <widget_titles>\n And I check that DataHub factory Menu button is displayed\n And I check that DataHub warehouse Menu button is displayed\n And I check that the multi tenant label is displayed" }, { "from": "gpt", "value": "Scenario Outline: Check default welcome dashboard display\n Given I am logged in as <user>\n And I check there are no screens displayed in the Recent screens section\n And I check that the bookmarks folders <bookmarks_folders> are displayed in the Bookmarks section\n And I verify that 4 KPI widgets are displayed which are <widget_titles>\n And I check that DataHub factory Menu button is displayed\n And I check that DataHub warehouse Menu button is displayed\n And I check that the multi tenant label is displayed\n And I click on the bookmark folder <bookmark_folder>\n And I check that the screens <screens> are displayed\n When I open the screen <screen>\n And I should be on <screen> with title beginning with <banner>\n And I go back to the welcome page\n Then The bookmarks folders <bookmarks_folders> are displayed in the Bookmarks section\n And The 4 KPI widgets are displayed which are <widget_titles>\n Examples:\n | user | bookmarks_folders | bookmark_folder | screens | screen | banner | screen_name | widget_titles |\n | TAV_standard.dashboard1 | Business Screens;Technical Screens | Technical Screens | Users;Parameters | Users | Users : | Users | Issuers;Exceptions;Securities;Indexes |\n @DHRD-113935 @skipped @waiting_for_DHRD-114336" } ]
[ { "from": "human", "value": "Complete this Gherkin scenario:\n\nScenario Outline: Export Excel simulation\n Given I am logged in as <user>\n And I open query screen <screen_name> which title begins with <banner>\n And I open advanced search tool\n And I set an advanced list filter <field_name> <operator1> <field_value>\n And I click on Search button\n And I close advanced search tool\n And I add a row using the buttons toolbar\n And I filter only edited rows\n And I open the detail screen of the selected line\n When I update the fields <fields_names> with the values <fields_values>\n And I open the Execution properties from the actions menu\n And I add properties <properties_names> with values <properties_values>\n And I approve the popup\n And I select the <class> class" }, { "from": "gpt", "value": "Scenario Outline: Export Excel simulation\n Given I am logged in as <user>\n And I open query screen <screen_name> which title begins with <banner>\n And I open advanced search tool\n And I set an advanced list filter <field_name> <operator1> <field_value>\n And I click on Search button\n And I close advanced search tool\n And I add a row using the buttons toolbar\n And I filter only edited rows\n And I open the detail screen of the selected line\n When I update the fields <fields_names> with the values <fields_values>\n And I open the Execution properties from the actions menu\n And I add properties <properties_names> with values <properties_values>\n And I approve the popup\n And I select the <class> class\n And I add object criteria with field <field> and operator <operator> with value <value>\n And I go to the step <step3>\n And I open the mapping actions menu\n And I add new mapping with class <class_name>\n And I add new table <table>\n And I add an internal fields <internal_fields> under the table <table>\n And I delete the internal fields <key_lookup>\n And I assign the internal fields <internal_fields> to the external fields <external_fields>\n And I save\n And I go to the step <step4>\n And I execute the full export\n And I check that a popup is displayed with a title Simulation ended and 2 options Yes No\n And I download the exported file\n Then The content of the exported xls simulation file should be equal to <file_ref>\n Examples:\n | user | screen_name | banner | field_name | operator1 | field_value | fields_names | fields_values | properties_names | properties_values | class | field | operator | value | step3 | class_name | table | internal_fields | external_fields | key_lookup | step4 | file_ref |\n | TAV_standard.user | Feed Dictionary | Import/Export proc : | Feed;Category;Type;Privacy | =;=;=;= | Export;Manual Export;Manual file export;NeoXam | English;French;Code;Exp. formatter | NEW_EXPORT_XLS_FR;NEW_EXPORT_XLS_EN;NEW_EXPORT_XLS_CODE;Excel Formatter | FIRST_LINE_HEADER (the header line contains the columns' name) | 1 | Security | SECURITY_NAME / Name | = | TAV_EXPORT_XLS | Mapping | MxSecurity | SECURITY_QUOTE | Open quote;Close quote | A;B | Quote date;Quote market;Quote provider;Time;Quote currency | Result | config&ressources/DataManagement/xls_ref_file_DHRD-102446.xls |\n | TAV_standard.user | Feed Dictionary | Import/Export proc : | Feed;Category;Type;Privacy | =;=;=;= | Export;Manual Export;Manual file export;NeoXam | English;French;Code;Exp. formatter | NEW_EXPORT_XLSX_FR;NEW_EXPORT_XLSX_EN;NEW_EXPORT_XLSX_CODE;Excel (xlsx) Formatter | FIRST_LINE_HEADER (the header line contains the columns' name) | 1 | Security | SECURITY_NAME / Name | = | TAV_EXPORT_XLSX | Mapping | MxSecurity | SECURITY_QUOTE | Open quote;Close quote | A;B | Quote date;Quote market;Quote provider;Time;Quote currency | Result | config&ressources/DataManagement/xlsx_ref_file_DHRD-102446.xlsx |\n @DHRD-102447 @skipped @waiting_For_DHRD-114401" } ]
[ { "from": "human", "value": "Complete this Gherkin scenario:\n\nScenario Outline: Dashboard welcome - Access Query screen using widget\n Given I am logged in as <user>\n And I check that <num_of_widgets> widgets are displayed which are <widget_titles>\n And I hover on the legend items of the <widget_name> widget and I check that the relative data is displayed on the pie chart" }, { "from": "gpt", "value": "Scenario Outline: Dashboard welcome - Access Query screen using widget\n Given I am logged in as <user>\n And I check that <num_of_widgets> widgets are displayed which are <widget_titles>\n And I hover on the legend items of the <widget_name> widget and I check that the relative data is displayed on the pie chart\n When I click on the <widget_name2> widget\n Then I should be on <screen> with title beginning with <banner>\n And I go back to the welcome page\n And The welcome page matches the expected layout by comparing it with the reference image <refImage>\n Examples:\n | user | widget_titles | num_of_widgets | widget_name | widget_name2 | refImage | screen | banner |\n | TAV_standard.dashboard2 | Portfolios;Sec per type;Security Per Asset Class | 3 | Security Per Asset Class | Sec per type | config&ressources/Navigation/ref_screenshots/ref2.png | My Securities | Security: |\n | TAV_standard.dashboard3 | Security Per Asset Class;Issuer Ratings - Fitch LT;Securities;Sec per type;Security Per Market | 5 | Security Per Market | Issuer Ratings - Fitch LT | config&ressources/Navigation/ref_screenshots/ref4.png | My Business entities | Entity: |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Upload Document And Save using ACTION menu\n Given I am logged as <user> on <screen_name>\n When I search and select the line of <document_name>\n And I upload the file <file_name> to a <document_name>" }, { "from": "gpt", "value": "Scenario Outline: Upload Document And Save using ACTION menu\n Given I am logged as <user> on <screen_name>\n When I search and select the line of <document_name>\n And I upload the file <file_name> to a <document_name>\n And I perform the action <save_button>\n And A \"info\" toast is displayed with \"ACTION ENDED: Recording object(s)\"\n Then The uploaded file is displayed with <file_name> to document <document_name>\n Examples:\n | user | screen_name | save_button | document_name | file_name |\n | TAV_standard.user | Documents | Save All | TAV_Upload_Testing_Document2 | TAV_Upload_Testing_file.txt |" } ]
[ { "from": "human", "value": "Write a Gherkin scenario for testing configure and run an archive data" }, { "from": "gpt", "value": "Scenario Outline: Configure and run an archive data\n Given I am logged in as <user>\n And I open query screen <screen_name1> which title begins with <banner1>\n And I switch to mode config\n And I click on the banner\n And I check the text <text> is displayed in the config panel\n And I open the drop-down settings <settings_node>\n And I desactivate the options <options1>\n And I save the screen configuration\n And I switch to mode edit\n And I open query screen <screen_name2> which title begins with <banner2>\n And I search and open the task <task>\n And I run the scheduled task using the button <button> from the actions menu\n And I check that a popup is displayed with the message \"Task launched.\"\n And I close the popup\n When I open query screen <screen_name3> which title begins with <banner3>\n And I search the task <task>\n And The column <column> of the task is equal to <value>\n And I open query screen <screen_name1> which title begins with <banner1>\n Then The object <object> is not displayed in the grid\n And I switch to mode config\n And I click on the banner\n And I open the drop-down settings <settings_node>\n And I activate the options <options2>\n And I save the screen configuration\n And I switch to mode edit\n And The object <object> is not displayed in the grid\n And I set an advanced list filter <field_name> <operator> <field_value>\n And I click on Search button\n And The object <object> is displayed in the grid\n Examples:\n | user | screen_name1 | banner1 | text | settings_node | options1 | options2 | screen_name2 | banner2 | task | button | screen_name3 | banner3 | column | value | object | field_name | operator | field_value |\n | TAV_standard.user | My Securities 3 | Security: | Data modeling : My Securities 3 | General | Full Object Loading;Use Provider Service | Load Archived Objects | Scheduled Tasks | Scheduled tasks: | COMPLETE_ARCHIVING2 | Run task | Job Reports | Job report | Status | Successful task | TAV_ToArchive3 | Search In | = | Main and Archived database |" } ]
[ { "from": "human", "value": "Generate a feature file scenario for link objects using link reallocation" }, { "from": "gpt", "value": "Scenario Outline: Link objects using link reallocation\n Given I am an authorized user <userApi>\n And I launch task <task_code> using an ID from API path <taskExecution_path>\n And I should get a response with status <status_code1>\n And I send a GET request to <taskExecution_path> with the retrieved task ID\n And I should get a response with status <status_code2>\n And The received object should include the field <field> with value <value> under <element>\n And I am logged in as <user>\n And I open query screen <screen_name> using the path <path>\n And I set an advanced list filter <field_name1> <operator> <field_value1>\n And I click on Search button\n When I search and open the object which the column <field_name2> equal <testCaseName>\n Then A grid is displayed under the block <block> which contains <numOfRows> rows with values on columns <columns> must equal to <rows_values>\n Examples:\n | userApi | user | taskExecution_path | task_code | field | value | element | status_code1 | status_code2 | screen_name | banner | numOfRows | columns | rows_values | field_name1 | field_value1 | operator | field_name2 | testCaseName | detail_screen | block | path |\n | TAR_api.user | TAV_standard.user | task-executions | RUN_TESTING2 | status | SUCCESS | execution | 201 | 200 | Test Reports | Test reports | 13 | Test Result | Successful | Test Suite | Test suite LINKREALLOCATION | = | Test Case | TEST LINK REALLOCATION | Edit Test Report | Test Result | Screen / Datahub Factory / System Administration / Test Scenario |" } ]
[ { "from": "human", "value": "Write test steps in Gherkin format for run feedproc using i f conditions" }, { "from": "gpt", "value": "Scenario Outline: Run feedproc using IF conditions\n Given I am logged in as <user>\n And I open query screen <screen_name1> which title begins with <banner1>\n And I search and select the object <object>\n And I check that the fields <fields1> should be equal <values1>\n And I open query screen <screen_name2> which title begins with <banner2>\n And I search and open the task <task>\n And I run the scheduled task using the button <button> from the actions menu\n And I check that a popup is displayed with the message \"Task launched.\"\n And I close the popup\n When I open query screen <screen_name3> which title begins with <banner3>\n And I search the task <task>\n And I check that the column <column> of the task is equal to <value>\n And I open query screen <screen_name1> which title begins with <banner1>\n And I search and select the object <object>\n And I check that the fields <fields1> should be equal <new_values>\n And I select the tab <tab>\n And I edit the fields Histo with the values Full\n Then A group is displayed on date <date1> which contains 2 rows with values on columns <columns> must equal to <rows_values1>\n And A group is displayed on date <date2> which contains 2 rows with values on columns <columns> must equal to <rows_values2>\n Examples:\n | user | screen_name1 | banner1 | object | fields1 | values1 | screen_name2 | banner2 | task | button | screen_name3 | banner3 | column | value | new_values | tab | date1 | date2 | columns | rows_values1 | rows_values2 |\n | TAV_standard.user | My Securities | Security: | TAV_bnbAct1 | Country;Currency;Product desc. | United States of America (the);Pound sterling;test1 | Scheduled Tasks | Scheduled tasks: | task_import_json_1 | Run task | Job Reports | Job report | Status | Successful task | France;Euro;comment from if bloc | prices | 10/10/2022 | 10/09/2022 | Provider;Open;Close | Golden copy;110,0000;210,0000//Manual;110,0000;210,0000 | Golden copy;100,0000;200,0000//Manual;100,0000;200,0000 |\n | TAV_standard.user | My Securities | Security: | TAV_bnbAct2 | Country;Currency;Product desc. | United States of America (the);Pound sterling;test2 | Scheduled Tasks | Scheduled tasks: | task_import_json_2 | Run task | Job Reports | Job report | Status | Successful task | Tunisia;Dinar;comment from else if bloc | prices | 10/10/2022 | 10/09/2022 | Provider;Open;Close | Golden copy;110,0000;210,0000//Manual;110,0000;210,0000 | Golden copy;100,0000;200,0000//Manual;100,0000;200,0000 |\n | TAV_standard.user | My Securities | Security: | TAV_bnbAct3 | Country;Currency;Product desc. | United States of America (the);Pound sterling;test3 | Scheduled Tasks | Scheduled tasks: | task_import_json_3 | Run task | Job Reports | Job report | Status | Successful task | Belgium;United States dollar;comment from Else bloc | prices | 10/10/2022 | 10/09/2022 | Provider;Open;Close | Golden copy;110,0000;210,0000//Manual;110,0000;210,0000 | Golden copy;100,0000;200,0000//Manual;100,0000;200,0000 |" } ]
[ { "from": "human", "value": "Generate a Cucumber scenario to test add a new bookmark subfolder" }, { "from": "gpt", "value": "Scenario Outline: Add a new bookmark subfolder\n Given I am logged in as <user>\n And I acces to the bookmark folder <Bookmark_folder>\n When I add a bookmark folder\n And I check that a popup is displayed with a message <message> and 2 options <button1> <button2>\n And I enter a folder name <subfolder_name>\n And I check that an orange badge is displayed on the edited field with value <subfolder_name>\n And I click on button <button1>\n Then A new bookmark sub folder <subfolder_name> is displayed\n And The bookmarks breadcrumb displays the following path <breadcrumb_path>\n Examples:\n | user | subfolder_name | Bookmark_folder | message | button1 | button2 | breadcrumb_path |\n | TAV_User_EN | testSubfolder | folderForSubfolder | Enter a folder name | Ok | Cancel | > folderForSubfolder |\n | TAV_User_FR | testSubfolder | folderForSubfolder | Veuillez saisir le nom du dossier | Ok | Cancel | > folderForSubfolder |" } ]
[ { "from": "human", "value": "Finish writing this test scenario:\n\nScenario Outline: Add a bookmark screen\n Given I am logged as <user> on <screen_name>\n And I go back to Homepage\n When I hover on recent screen <screen_name>\n And In recent screens I click on button <action> in <screen_name>" }, { "from": "gpt", "value": "Scenario Outline: Add a bookmark screen\n Given I am logged as <user> on <screen_name>\n And I go back to Homepage\n When I hover on recent screen <screen_name>\n And In recent screens I click on button <action> in <screen_name>\n And I check that a popup is displayed with a title <title> and a message <message>\n And I click on button <button>\n And I check that the screen <screen_name> is displayed under Bookmarks\n And I click on bookmark screen <screen_name>\n Then I should be on <screen_name> with title beginning with <banner_fixed_text>\n Examples:\n | user | screen_name | action | title | message | button | banner_fixed_text |\n | TAV_User_EN | My Portfolios 2 | Add Bookmark | Information | Configuration of My Portfolios 2 (Query) successfully saved. | Close | Portfolio: |\n | TAV_User_FR | Mes Portefeuilles 2 | Ajouter un favori | Information | Configuration de Mes Portefeuilles 2 (Query) sauvegardée | Close | Portfolio: |" } ]
[ { "from": "human", "value": "Add the remaining steps to this scenario:\n\nScenario Outline: Upload document from detail screen and download from query screen\n Given I am logged as <user> on <screen_name>\n And I search and select the line of <document_name>\n And I upload the file <file_name> to a <document_name>\n And I go to detail screen <detail_screen> of <document_name>\n And I save" }, { "from": "gpt", "value": "Scenario Outline: Upload document from detail screen and download from query screen\n Given I am logged as <user> on <screen_name>\n And I search and select the line of <document_name>\n And I upload the file <file_name> to a <document_name>\n And I go to detail screen <detail_screen> of <document_name>\n And I save\n And A \"info\" toast is displayed with \"ACTION ENDED: Recording object(s)\"\n And I check the field <field> is displayed with value <file_name>\n And I logg in with <user> on <screen_name> using a new browser\n And From the new browser i search and select the line of <document_name> and download the related file\n Then <file_name> is successfully downloaded in Downloads directory\n And The Downloaded file from Query should be equal to <ref_file>\n Examples:\n | user | screen_name | field | file_name | detail_screen | document_name | save button | ref_file |\n | TAV_standard.user | Documents | File (on server) | TAV_Upload_Testing_file.csv | Document: TAV_Upload_Testing_Document3 | TAV_Upload_Testing_Document3 | Save | config&ressources/DataManagement/toBeUploaded/TAV_Upload_Testing_file.csv |" } ]
[ { "from": "human", "value": "Create a BDD test scenario for rename directories with an unauthorized user" }, { "from": "gpt", "value": "Scenario Outline: Rename Directories with an unauthorized user\n Given I am logged in as <user>\n And I switch to mode config\n And I open the user menu <user_menu>\n And I check that the folder <existing_folder> is displayed under <user_menu>\n When I hover on the folder <existing_folder>\n Then The rename icon is not available on the folder <existing_folder>\n Examples:\n | user | user_menu | existing_folder |\n | unauthorized.user.EN | DataHub warehouse | Folder_Unauthorized |\n | unauthorized.user.FR | DataHub factory | Dossier_Non_Autorise |" } ]
[ { "from": "human", "value": "Complete this Gherkin scenario:\n\nScenario: Detail screen - Copy/paste from an hierarchical grid to Excel\n Given I am logged as <user> on <screen_name>\n And I search and select the line of <object_name>\n And I perform the action <action>\n And I select the tab <Tab>\n And I search and open the object which the column <column> equal <object_name>\n And I select manually all the grid of the block <block>\n And I perform the keyboard shortcut <shortcut1>" }, { "from": "gpt", "value": "Scenario: Detail screen - Copy/paste from an hierarchical grid to Excel\n Given I am logged as <user> on <screen_name>\n And I search and select the line of <object_name>\n And I perform the action <action>\n And I select the tab <Tab>\n And I search and open the object which the column <column> equal <object_name>\n And I select manually all the grid of the block <block>\n And I perform the keyboard shortcut <shortcut1>\n And I open Excel using a new browser\n And I log in with the user <excel_user> and the password <password> with the second browser\n And I Create a new blank workbook with the second browser\n And I Click on the first cell of the sheet with the second browser\n When I apply the keyboard shortcut <shortcut2> from the second browser\n And I download the sheet from the second browser\n Then The content of the downloaded file should be equal to <file_ref>\n Examples:\n | user | screen_name | object_name | action | Tab | column | block | shortcut1 | excel_user | password | shortcut2 | file_ref |\n | TAV_standard.user | My Business entities | Air France-KLM | Show Detail 'Agent - Detail' | ESG | Agent | Pillar Scores | Ctrl + C | dh_testauto@outlook.com | datahub2025 | Ctrl + V | config&ressources/Navigation/DHRD-92749_ref_file.xlsx |\n @DHRD-92750 @skipped @waiting_for_ @DHRD-112273" } ]
[ { "from": "human", "value": "Write a Gherkin scenario for testing detail grid navigation - export c s v with groups closed ( standard - grid)" }, { "from": "gpt", "value": "Scenario: Detail grid navigation - Export CSV with groups closed (Standard - Grid)\n Given I am logged as <user> on <screen_name>\n And I go to detail screen <detail_screen> of <object_name>\n And I select the tab <tab>\n When I download export file using button <csv_button> toolbar from query screen\n Then export csv file is successfully downloaded\n And The content of the downloaded <file_type> file should be equal to <file_ref>\n Examples:\n | user | file_type | screen_name | detail_screen | object_name | tab | csv_button | file_ref |\n | TAV_standard.user | csv | My Securities | Equity detail: TAV_TOEXPORT1 | TAV_TOEXPORT1 | Prices 6 | export CSV | config&ressources/DataManagement/DHRD-113612_standard_detail_grid_ref_with_closed_groups.csv |\n @DHRD-113613 @skipped @waiting_for_DHRD-112176" } ]
[ { "from": "human", "value": "Write test steps in Gherkin format for manipulate pre mapping in an import x m l" }, { "from": "gpt", "value": "Scenario Outline: Manipulate Pre Mapping in an Import XML\n Given I am an authorized user <userApi>\n And I launch task <task_code> using an ID from API path <taskExecution_path>\n And I should get a response with status <status_code1>\n When I send a GET request to <taskExecution_path> with the retrieved task ID\n Then I should get a response with status <status_code2>\n And The received object should include the field <field> with value <value> under <element>\n And The received object should include the field <field2> with value <value2> under <element>\n Examples:\n | userApi | taskExecution_path | value2 | task_code | field | value | element | status_code1 | status_code2 | field2 |\n | TAR_api.user | task-executions | 1 skipped lines | TASK_Import_xml_premapping | status | SUCCESS | execution | 201 | 200 | comment |" } ]
[ { "from": "human", "value": "Generate a Cucumber scenario to test create a screen with an unauthorized user" }, { "from": "gpt", "value": "Scenario Outline: Create a screen with an unauthorized user\n Given I am logged in as <user>\n And I switch to mode config\n When I open the user menu <user_menu>\n Then The create button is not displayed under the <user_menu> menu folders\n Examples:\n | user | user_menu |\n | unauthorized.user.EN | DataHub warehouse |\n | unauthorized.user.FR | DataHub factory |" } ]
End of preview. Expand in Data Studio

Gherkin BDD Test Scenarios Dataset

A dataset of Gherkin/Cucumber BDD test scenarios for fine-tuning language models to generate automated test cases.

Dataset Description

This dataset contains instruction-response pairs for training models to generate Gherkin test scenarios. The scenarios cover data management operations in enterprise software systems.

Domains Covered

  • Data Management: CSV/JSON/Excel import and export
  • Navigation: UI screens, search, filters
  • API Testing: REST and SOAP web services
  • Job Scheduling: Task execution and reporting
  • IBOR: Investment Book of Record operations

Dataset Structure

Format

ShareGPT conversational format:

{
  "conversations": [
    {"from": "human", "value": "Write a Gherkin scenario for testing CSV file import"},
    {"from": "gpt", "value": "Scenario Outline: Import CSV...\n    Given I am logged..."}
  ]
}

Statistics

  • Total Examples: 726
  • Training Split: 653 (90%)
  • Validation Split: 73 (10%)
  • Source Files: 88 Gherkin feature files

Example

{
  "conversations": [
    {
      "from": "human",
      "value": "Create a BDD test scenario for advanced search using text filter"
    },
    {
      "from": "gpt", 
      "value": "Scenario Outline: Advanced Filter using one text field\n    Given I am logged as TAV_standard.user on <screen_name>\n    And I open advanced search tool\n    When I set an advanced text filter <field_name> = <field_value>\n    And I click on Search button\n    Then The query grid shows all rows having <field_name> equal to <field_value>\n\n    Examples:\n      | screen_name   | field_name | field_value |\n      | My Securities | Name       | Test_Value  |"
    }
  ]
}

Usage

Load with Datasets Library

from datasets import load_dataset

dataset = load_dataset("Ghaythfd/gherkin-scenarios")

For Fine-tuning

from datasets import load_dataset

dataset = load_dataset("Ghaythfd/gherkin-scenarios", split="train")

# Format for training
def format_prompt(example):
    conversation = example["conversations"]
    text = f"### Instruction:\n{conversation[0]['value']}\n\n### Response:\n{conversation[1]['value']}"
    return {"text": text}

dataset = dataset.map(format_prompt)

Creation Process

  1. Collected 88 Gherkin .feature files from test automation suites
  2. Parsed scenarios using regex extraction
  3. Generated instruction variations for each scenario
  4. Created completion examples from partial scenarios
  5. Formatted into ShareGPT conversational structure

Intended Use

  • Fine-tuning LLMs for Gherkin scenario generation
  • Training test automation assistants
  • BDD/TDD tooling development

License

Apache 2.0

Downloads last month
20

Models trained or fine-tuned on Ghaythfd/gherkin-scenarios