pyjab icon indicating copy to clipboard operation
pyjab copied to clipboard

Issue in click(True) Function when run from Jenkins

Open nam212121 opened this issue 1 year ago • 1 comments

When I run the test locally from the machine , everything works fine but when I use Jenkins to run the testcases, I get exception on click(True) function (jabelement.py line 635) File "C:\Test\Python38\lib\site-packages\pyjab\common\win32utils.py", line 271, in _set_window_foreground win32gui.SetForegroundWindow(hwnd) pywintypes.error: (0, 'SetForegroundWindow', 'No error message is available')

It seems like the application can't be taken to foreground

nam212121 avatar Jun 29 '23 12:06 nam212121