Skip to content

Cannot use variables in Selenium IDE #1690

Closed
@Lumios64

Description

@Lumios64

💥 Regression Report

A clear and concise description of what the regression is.

The keyword to call variables ${} is no longer recognized by Selenium, and is treated as a string of text instead.
Encountered this issue while testing an automated bot after following a tutorial.

Last working version

Worked up to version:
Unknown given I haven't used Selenium up until recently, but based on third-party sources, it worked at least until 02/28/2023.
https://learn.microsoft.com/en-us/power-automate/desktop-flows/inputs-outputs-web
https://www.ibm.com/docs/en/cloud-app-management/2019.3.0?topic=test-passing-variable-values-selenium-script

Stopped working in version:
3.17.4

To Reproduce

Steps to reproduce the behavior:

Add a store command with a target variable and a number of your choice, then an echo command that is supposed to call the variable.
Like so :

Command|Target|Value
store | number | 1
echo |${number}|

In the example above, the output is "${number}".

Screenshot_20230808_141429

Expected behavior

A clear and concise description of what you expected to happen.

The echo command should return the number "1".

Project file reproducing this issue (highly encouraged)

Please provide a project file .side that reproduces this issue.

Github would not let me post the file, so I changed the filetype to txt.
probtrimmed.txt

It was trimmed down to include only the code that errored, and I added comments to describe what the code does.

Environment

OS: Ubuntu Studio 22.04
Selenium IDE Version: 3.17.4
Selenium SIDE Runner Version: None, using only the WebExtension
Node version: None
Browser: Firefox
Browser Version: 115.0.2 (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions