最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Cucumber: Can't convert DataTable to List<java.lang.String>. Can anyone tell me how to solve this? - Stack

programmeradmin0浏览0评论
Scenario: IF a component is already existing in the database THEN the SW shall inform the user

    #SRS-4 Notify user about an existing component
    Given The database contains the following files
      | refId          | Name                |
      | symbollibrary  | Symbol_Library      |
      | font           | FONT                |
    And The database does not contains the following files
      | RefID           | Name              |
      | sensorvideoclut | Sensor_Video_CLUT |
      | nomapoffmap     | NoMap_OffMap      |
      | rastermap       | Raster_Map        |
    When the user attempt to create a new "DMG Load"
    And select the following components for inclusion
      | Name              |
      | Symbol_Library    |
      | FONT              |
      | Sensor_Video_CLUT |
      | NoMap_OffMap      |
      | Raster_Map        |
    Then the system should check for duplicate components in the database
    And identify that the following components already exist
      | Component            | Status          |
      | Symbol library       | Duplicate found |
      | Font                 | Duplicate found |
    And display a notification to the user
            """
            The following components already exist in the database
                   - Symbol_library
                   - Font
            """

Error:

  • There was a table cell transformer for java.lang.String but the table was too wide to use it. Please reduce the table width to use this converter.

  • There was no table entry or table row transformer registered for java.lang.String. Please consider registering a table entry or row transformer.

  • There was no default table entry transformer registered to transform java.lang.String. Please consider registering a default table entry transformer.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论