vmi / selenese-runner-java

Selenium IDE native format (selenese and side) interpreter.
Other
140 stars 83 forks source link

Selenese doesn't support to comment out a command which can work on IDE #307

Closed JackJiaJJ closed 5 years ago

JackJiaJJ commented 5 years ago

Selenese doesn't support to comment out a command which can work on IDE

Firefox 60.8.0 ESR selenese-runner: 3.25.0 geckodriver : 0.23.0 selenium: 3.14.59

script:

  "targets": [],
  "value": "srcs"
}, {
  "id": "c41eb38f-e6f2-4a21-add3-ae953cbf8884",
  "comment": "",
  **"command": "//echo",**
  "target": "${srcs}",
  "targets": [],
  "value": ""
}, {

I got below error:

[2019-08-01 22:40:26.051 -07:00] [ERROR] jp.vmi.selenium.selenese.SeleneseRunnerRuntimeException: No such command: //echo Build info: version: '3.141.59', revision: 'unknown', time: 'unknown' System info: host: 'apm-agent-0021.fyre.ibm.com', ip: '10.21.4.59', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-862.14.4.el7.x86_64', java.version: '1.8.0_191' Driver info: driver.version: unknown [2019-08-01 22:40:26.053 -07:00] [INFO] End(0.000sec): TestSuite[Default Suite] (/root/IBMCLOUDFOREACH.side) [2019-08-01 22:40:26.054 -07:00] [INFO] End(0.000sec): TestProject[KVATests] (/root/IBMCLOUDFOREACH.side) console.log: Accessibility service init or shutdown observer does not exist. *** UTM:SVC TimerManager:registerTimer called after profile-before-change notification. Ignoring timer registration for id: telemetry_modules_ping [2019-08-01 22:40:26.784 -07:00] [INFO] Quit: FirefoxDriver [2019-08-01 22:40:26.785 -07:00] [INFO] Exit code: 3 (ERROR)

vmi commented 5 years ago

I added this feature and released 3.26.0. Please test it.

JackJiaJJ commented 5 years ago

I verified that 3.26.0 could fix this issue, thanks a lot !