Test cases are breaking and not able to perform XClick.
This sounds strange. As @newuserkantu mentioned, Kantu runs inside a virtual machine without problems. But important: Make sure that the screen of the VM is not locked and the screen saver is not turned on. XClick can not control the mouse if the desktop is locked (no software can do this, since then the desktop is no longer active).
For more details see the table at How-to: Windows Task Scheduler, Automate RPA tasks and the “Autologin” tip in the paragraph below.