You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Keyword "Launch Application" fails with
TypeError: run_keyword() takes exactly 4 arguments (3 given)
This happens with versions 1.0.0 or 1.0.0.20181217.3.pre, with 0.0.0.20181204.3.pre everything was ok.
My setup is a bit complicated (White Library wrapped in PythonRemoteServer, tests run with Robot Framework Maven Plugin), but I believe the error also shows in a "normal" robot setup.
Robot Test file:
*** Settings ***
Library Remote http://127.0.0.1:8270
Suite Setup Starte Editor
Suite Teardown Beende Editor
*** Variables ***
${Nicht_speichern} CommandButton_7
*** Keywords ***
Starte Editor
Launch Application C:\\Windows\\System32\\notepad.exe
Attach Window Unbenannt - Editor
Beende Editor
#Close Application
# bei Close Application geht anscheinend die Verbindung zur Anwendung verloren, so dass man keine Aktionen mehr ausführen kann
Hold Special Key ALT
Press Special Key F4
Leave Special Key ALT
Sleep 1s
Click Button ${Nicht_speichern}
*** Test Cases ***
Hallo Welt
[Documentation] "Hallo Welt" in den Notepad-Editor schreiben
Input Text To Textbox 15 Hallo Welt
Verify Text In Textbox 15 Hallo Welt
Sleep 3s
The text was updated successfully, but these errors were encountered:
I was able to reproduce this with the PythonRemoteServer, Launch Application fails with "TypeError: run_keyword() missing 1 required positional argument: 'kwargs'". The error does not seem to occur with a direct library import.
Looks like there is an issue with run_keyword() in DynamicCore (it was not yet in use in 0.0.0.20181204.3.pre).
A fix has been merged to master and will be included in the next stable release. You can install the pre-release containing the fix with pip install -U --pre robotframework-whitelibrary.
The Keyword "Launch Application" fails with
TypeError: run_keyword() takes exactly 4 arguments (3 given)
This happens with versions 1.0.0 or 1.0.0.20181217.3.pre, with 0.0.0.20181204.3.pre everything was ok.
My setup is a bit complicated (White Library wrapped in PythonRemoteServer, tests run with Robot Framework Maven Plugin), but I believe the error also shows in a "normal" robot setup.
Robot Test file:
The text was updated successfully, but these errors were encountered: