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

Issue in click(True) Function when run from Jenkins #68

Open
nam212121 opened this issue Jun 29, 2023 · 1 comment
Open

Issue in click(True) Function when run from Jenkins #68

nam212121 opened this issue Jun 29, 2023 · 1 comment

Comments

@nam212121
Copy link

nam212121 commented Jun 29, 2023

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 nam212121 changed the title Issue in the click Function Issue in click(True) Function when run from Jenkins Jul 13, 2023
@gaozhao1989
Copy link
Owner

Is Java application running under visible window of Jenkins machine

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

2 participants