Open gigi199596 opened 5 years ago
@gigi199596 , could you attach sikuli log here, the console output of java process is stored in log files(not Robot Framework log).
Hello @rainmanwy,
Solution for this was to use Process library in my script with:
*** Settings ***
...
Library Process
...
*** Variables ***
${APP_LOADING_TIME} 5s
#Kill app to close it. If not it takes a while...
${DO_KILL} ${TRUE}
*** Keywords ***
Start App
Run Keyword If ${INDIVIDUAL_TESTING} == ${FALSE} Return From Keyword
${lst_process_handle}= Start Process %{LST_PATH}
Set Global Variable ${lst_process_handle}
Sleep ${APP_LOADING_TIME}
Close App
Run Keyword If ${INDIVIDUAL_TESTING} == ${FALSE} Return From Keyword
Terminate Process ${lst_process_handle} kill=${DO_KILL}
I have this file: Sikuli_java_stdout_1552639191.2049863.txt And the [Sikuli_java_stderr_1552639191.2049863.txt]() is empty...
I have the same problem.
@gigi199596 , @PauloGoncalvesBH, so this problem only related with "App" related keywords? Or whole library do not work?
@gigi199596 , @PauloGoncalvesBH, so this problem only related with "App" related keywords? Or whole library do not work?
Only Open Application
and Close Application
. Not the whole library 😹
Btw @rainmanwy have a look at my PR 😀
@gigi199596 , @PauloGoncalvesBH, so this problem only related with "App" related keywords? Or whole library do not work?
With me is occurring with the whole library. The first Sikuli method in my tests is Screen Should Contain.
Hello,
With all my tests I have a .bat script that calls robot:
SET "LST_PATH=%HOMEDRIVE%\Program Files (x86)\Atlas Copco\LinuxSupportTool 2.0.0.8\LinuxSupportTool.exe"
robot --include open_close LST2.0.0.0/
And in my code I call:
INDIVIDUAL_TESTING
is set to true. I get:What could be the reason for that problem? Thanks a lot for your help :)