Forum Discussion

Fox87's avatar
Fox87
New Contributor
9 years ago

How can I run a test containing oAuth without manual input?

I have a GET request, and I have added some automation code in the Auth window (login with other service - added user, password and clicked on the sign in button), in order to be able to get the token.

If I open the project and click on run I kind of expected to have the automation code executed with the token generated and used in the get request. But for my case it is not working. I have to manually open the Auth tab, go to Automation, run the code and the token will be generated. After that I can run the test suite.

 

How can I remove these steps that I'm doing manually in order to have everything automated?