Skip to content

Checking of selected radio button #279

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

Closed
abeora opened this issue Sep 30, 2022 · 2 comments
Closed

Checking of selected radio button #279

abeora opened this issue Sep 30, 2022 · 2 comments

Comments

@abeora
Copy link

abeora commented Sep 30, 2022

The result is not consistent and even the radio button is not selected it returns true, Hope this will be fixed as I need to use it on my testing.

@abeora
Copy link
Author

abeora commented Sep 30, 2022

`${is_checkbox_selected}     RUN KEYWORD AND RETURN STATUS    EXECUTE JAVASCRIPT       document.getElementById('${key}').checked
LOG TO CONSOLE      ${key} = ${is_checkbox_selected}
${actual_checkbox}     RUN KEYWORD IF    '${is_checkbox_selected}' == 'False'               SET VARIABLE    Inactive
...                   ELSE IF    '${is_checkbox_selected}' == 'True'                        SET VARIABLE    Active
SET TO DICTIONARY   ${actual holder}        ${key}          ${actual_checkbox}
LOG TO CONSOLE      ${actual_checkbox}`

@Noordsestern
Copy link
Member

Hi,

this github project contains only the website of https://robotframework.org . If you require assistance for the tool Robot Framework, please use one of the support channels: https://robotframework.org/#community

Kind regards

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

No branches or pull requests

2 participants