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

Checking of selected radio button #279

Open
abeora opened this issue Sep 30, 2022 · 1 comment
Open

Checking of selected radio button #279

abeora opened this issue Sep 30, 2022 · 1 comment

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}`

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

1 participant