I have tried various solutions given in the links below to start, stop Windows Service (rabbitmq) in a PyTest without any admin rights prompt (so it can run continuously in a build server):
- os.system method --> The PyTest terminal asks for administrator password
- subprocess.run method --> I got
Access Deniederror message
Is it possible to start stop Windows service in the Pytest bypassing the admin rights? If yes, how can I do it?