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

How to refer to an array element in Selenium IDE Version 4 #1846

Open
heandping opened this issue Jul 9, 2024 · 5 comments
Open

How to refer to an array element in Selenium IDE Version 4 #1846

heandping opened this issue Jul 9, 2024 · 5 comments
Labels
top priority Issues where the user helped on the codebase or this blocks the main user groups.

Comments

@heandping
Copy link

Hi Support,
Im running a simple side file which is using assert against an array element, this command runs well in version 3, but fails in version 4, I may guess there is a different way to refer to an array.

Command is assert text | locator | ${${thaiLang[1]}} -- thaiLang is an array which has been defined already

as you can see, same command running in V3 pass.
image

but running in v4 fail.
image

Error details as below:
5:29:43 PM [error] [
r [Error]: Actual value 'รหัสองค์กร' did not match '${thaiLang[1]}' during assert:codePlace:${thaiLang[1]}
at g.call (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/webdriver.ts:1102:13)
at g.existingCommandName (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/preprocessors.ts:52:19)
at executor (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/playback-tree/command-node.ts:140:33)
at t.CommandNode._executeCommand (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/playback-tree/command-node.ts:152:24)
at t.CommandNode.execute (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/playback-tree/command-node.ts:112:31)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at t.default.result [as _executeCommand] (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/playback.ts:562:7)
at t.default.next [as _executionLoop] (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/playback.ts:438:9)
at t.default.next [as _executionLoop] (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/playback.ts:493:42)
at t.default.next [as _executionLoop] (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/playback.ts:493:42)
at t.default.next [as _executionLoop] (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/playback.ts:493:42)
at t.default.next [as _executionLoop] (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/playback.ts:493:42)
at t.default.next [as _executionLoop] (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/playback.ts:493:42)
at t.default.next [as _executionLoop] (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/playback.ts:493:42)
at t.default.next [as _executionLoop] (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/playback.ts:493:42)
at t.default._executionLoop (/Applications/Selenium IDE.app/Contents/Resources/app.asar/build/webpack:/side-runtime/src/playback.ts:493:42)

@toddtarsi toddtarsi added the top priority Issues where the user helped on the codebase or this blocks the main user groups. label Jul 12, 2024
@toddtarsi
Copy link
Contributor

This should be resolve in latest later, letting it go through CI here first:

#1847

@toddtarsi
Copy link
Contributor

@heandping - This failed the CI so I'll need to get back to it later tonight

@heandping
Copy link
Author

@toddtarsi - how is the progress of it, will we get the fixed version recently?

@toddtarsi
Copy link
Contributor

Unfortunately, I haven't been able to do OSS for a month or so now. I know things aren't easy for anyone right now, but I don't think I can make many promises. When I have an evening to myself, I basically just immediately sleep for as long as possible.

@heandping
Copy link
Author

Sad to hear this, try to find good things in such beautiful world and pull yourself together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
top priority Issues where the user helped on the codebase or this blocks the main user groups.
Projects
None yet
Development

No branches or pull requests

2 participants