当运行fitnesse测试时,我看到它被忽略(而不是运行)。我不明白为什么。代码如下:
#!include .ActionDefinitions
!path C:\Users\rdixit\Documents\Visual~3\Projects\LearningTestAutomation\LearningTestAutomation\bin\Debug\LearningTestAutomation.dll
|!SpecFlow.ActionIO|
|start browser| firefox| of version|36|
|navigate to url|https://csb-qaprod.cornerstoneondemand.com/learning|
|login|你能告诉我为什么这个页面被忽略了吗?
根页面如下:
!define TEST_SYSTEM {fit}
#!define COMMAND_PATTERN {java -cp %p %m}
#!define TEST_RUNNER {fitlibrary.suite.FitLibraryServer}
!define COMMAND_PATTERN {%m -r fitnesse.fitserver.FitServer %p}
!define TEST_RUNNER {C:\fitnesse\fitSharp\runner.exe}
#!define TEST_RUNNER {C:\fitnesse\dotnet\FolderRunner.exe}
!path C:/fitnesse/fitlibrary-2.0.jar
#!path ../bin
!path C:/fitnesse/fitnesse-standalone.jar
!path C:/fitnesse/lib/*.jar
!path C:/fitnesse/fitSharp/*.dll
!path C:/fitnesse/dotnet/*.dll
!path C:\Users\rdixit\Documents\Visual~3\Projects\LearningTestAutomation\LearningTestAutomation\bin\Debug\LearningTestAutomation.dll
!define COLLAPSE_SETUP {true}
!define COLLAPSE_TEARDOWN {true}
!include .ActionDefinitions
|Import|
|SpecFlow.ActionIO|发布于 2015-04-02 04:32:31
调用时,我发现了错误
|!SpecFlow.ActionIO|,我把!在列中。它应该是:
!|SpecFlow.ActionIO|
现在起作用了。
https://stackoverflow.com/questions/29399918
复制相似问题