SeleniumHQ / selenium-ide

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

Locators can not be changed #1852

Open supidupicoder2 opened 3 months ago

supidupicoder2 commented 3 months ago

🐛 Bug Report

When an alternative locator is chosen in the UI for a step, it will be displayed correctly until the UI for that step is reloaded. The locator is now blank and cannot be restored

To Reproduce

Steps to reproduce the behavior:

  1. Start recording a testcase
  2. Click any element that could have more that 1 locator
  3. Stop recording
  4. Select the step where multiple selectors are possible
  5. Change that selector to something else
  6. Select any other step
  7. Select the initial step
  8. The selector is now blank

Video: electron_e0fUW9b381

Expected behavior

The Selector can be changed

Project file reproducing this issue (highly encouraged)

selectorReproduction.zip

Environment

OS: Win 10 Selenium IDE Version: 4.0.1-beta.14 Selenium SIDE Runner Version: 4.0.12 Please note that selenium-side-runner supports Node.js 16+ Node version: v20.14.0 Browser: - Browser Version: -

AuCourDe commented 3 months ago

Reproduced: OS: Win 11 Selenium IDE Version: 4.0.1-beta.14 Selenium SIDE Runner Version: 4.0.12 Node version: v22.3.0