SeleniumHQ / selenium-ide

Open Source record and playback test automation for the web.
https://selenium.dev/selenium-ide/
Apache License 2.0
2.8k stars 762 forks source link

Script with the Times command fails when run with selenium-side-runner v4 #1680

Closed Pun-slinger closed 1 year ago

Pun-slinger commented 1 year ago

🐛 Bug Report

The times command fails when run with the selenium-side-runner. Happen in both cases when command value is a hard coded number and when it comes from a variable

This error does not happen when the script is run directly from the IDE, only with selenium-side-runner

To Reproduce

  1. Create a script that use a time command to loop run echo command for any amount of times. Amount can either be hard coded or come from a variable with store command
  2. Run the script in the IDE and it runs successfully to completion
  3. Run the script in the selenium-side-runner

Expected behavior

When run via the selenium-side-runner, the script successfully to completion with no error

Project file reproducing this issue (highly encouraged)

The script fails immediately after being started.

Here are some screenshots

  1. Times command with value come from a variable with store command (FAILED) image

  2. Times command with value hard coded (FAILED) image

  3. While command (SUCCESS) image

Environment

OS: Selenium IDE Version: Selenium SIDE Runner Version: Node version: Browser: Browser Version:

toddtarsi commented 1 year ago

@Pun-slinger - Resolved in latest and has a test 👍

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.