Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Window Handle Name" instead of windowHandleName in .side project #1865

Open
webrod opened this issue Sep 28, 2024 · 4 comments
Open

"Window Handle Name" instead of windowHandleName in .side project #1865

webrod opened this issue Sep 28, 2024 · 4 comments

Comments

@webrod
Copy link

webrod commented Sep 28, 2024

🐛 Bug Report

When you manually enter a window handle, the IDE saves with the wrong attribute name.
It sets in the project.side file:
"Window Handle Name": "win1066"
instead of "windowHandleName": "win1066",

To Reproduce

image
then save the project

Expected behavior

the IDE should save:
"windowHandleName": "win1066"
And when you run, it should switch focus to the new window to take action on.

Current behavior

the IDE saves: "Window Handle Name": "win1066"
image

Project file reproducing this issue (highly encouraged)

new-win-repro.zip

Environment

OS: Windows 11
Selenium IDE Version: 4.0.1-beta.14

Browser:
Browser Version: I use the IDE...

@webrod webrod changed the title "Window Handle Name" insetad of windowHandleName .side project "Window Handle Name" instead of windowHandleName in .side project Sep 28, 2024
@shbenzer
Copy link

shbenzer commented Oct 9, 2024

I am unable to replicate this issue with the current Selenium IDE version.

Steps I tried:

  1. create new ide project
  2. enter https://google.com as website
  3. start recording
  4. search test in google
  5. click first link
  6. close
  7. add new window configuration to click command
  8. check "New Window Configuration Enabled
  9. enter "win1066" as Window Name
  10. Confirm
  11. Save Project
  12. Check created .side file for issue

@webrod
Copy link
Author

webrod commented Oct 9, 2024

Can you please tell me which exact version you tested to be sure?

@shbenzer
Copy link

shbenzer commented Oct 9, 2024

Can you please tell me which exact version you tested to be sure?

My apologies. I was testing in a much earlier version it seems (3.17), I can recreate it now in current dev

shbenzer added a commit to shbenzer/selenium-ide that referenced this issue Oct 9, 2024
@shbenzer shbenzer mentioned this issue Oct 9, 2024
8 tasks
@shbenzer
Copy link

shbenzer commented Oct 18, 2024

I'm struggling to find the source of the added spaces, but this is also the first time I've ever looked at the ide code so it was never guaranteed... @toddtarsi you got any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants