对要素文件中的testdata列数量是否有任何限制 - selenium java

时间:2018-06-06 03:34:35

标签: java maven selenium selenium-webdriver cucumber

我在示例部分中有一个包含大约28列的功能文件。当我使用mvn命令从cmd运行我的代码时,方案成功运行,但控制台内的日志卡在了一个点

1 Scenarios (passed)
8 Steps (passed)
0m51.054s

Running | Test Name | No| Yes| Neurology | abc name | data | test desc | Template | Yes| No | 20| 30 | Thursday | Yes | Yes | Yes | No | No | No | Yes | Yes | Yes | No | No |No | Yes | Yes 

|

但是,只要我删除任何列,即将其减少到27列,它就会完全运行并且控制台中的日志会以正确的消息结束:

1 Scenarios (1 passed)
8 Steps (8 passed)
0m43.964s

Running | Test Name | No| Yes| Neurology | abc name | data | test desc | Template | Yes| No | 20| 30 | Yes | Yes | Yes | No | No | No | Yes | Yes | Yes | No | No |No | Yes | Yes |
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.979 sec - in
Running | Test Name | No| Yes| Neurology | abc name | data | test desc | Template | Yes| No | 20| 30 | Yes | Yes | Yes | No | No | No | Yes | Yes | Yes | No | No |No | Yes | Yes |

Results :

Tests run: 9, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 53.205 s
[INFO] Finished at: 2018-06-05T23:05:32-04:00
[INFO] Final Memory: 14M/552M
[INFO] ------------------------------------------------------------------------

有人能说出为什么会出现这种情况吗?

0 个答案:

没有答案