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

RPA.Desktop.Open File keyword fails to find default application on Windows 11 #1136

Open
mikahanninen opened this issue Dec 5, 2023 · 0 comments
Labels
bug Bad or unexpected behaviour

Comments

@mikahanninen
Copy link
Member

mikahanninen commented Dec 5, 2023

Keyword works on Windows 10, but fails on Windows 11.

error message
ValueError: No default application associated for 'this.txt'

example code

*** Settings ***
Library             RPA.Desktop

*** Tasks ***
Minimal task
    Open File    ${CURDIR}/this.txt
    Log    Done.

workaround

*** Settings ***
Library             RPA.Windows

*** Tasks ***
Minimal task
    ${wait}=    Set Wait Time    0.01
    Windows Run    ${CURDIR}/this.txt
    Set Wait Time    ${wait}
    Log    Done.
@mikahanninen mikahanninen added the bug Bad or unexpected behaviour label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bad or unexpected behaviour
Projects
None yet
Development

No branches or pull requests

1 participant