I’ve developed an pywinauto automation script to automate an desktop application and pushed it to a repo in order to execute it through a pipeline in an agent machine, when I try to execute manually it in the agent machine its working good. But when I try to execute it directly from pipeline the script is not able to identify the elements.
I’ve tried the traditional method of executing a pipeline and it failed as I guess pywinauto requires the application to be in its field of view to access the elements. Kindly help me on how to execute my code directly from pipeline
File "featuresstepslaunch_app_steps.py", line 16, in step_given_User_is_logged_to_BOSS_with_SSO_login 2024-05-22T06:22:39.8642301Z wait_until(timeout=55, retry_interval=0.7, func=lambda: context.signinWindow.exists()) 2024-05-22T06:22:39.8643588Z File "C:AgentPythonLibsite-packagespywinautotimings.py", line 375, in wait_until 2024-05-22T06:22:39.8643885Z raise err 2024-05-22T06:22:39.8644165Z pywinauto.timings.TimeoutError: timed out