ReadyAPI oAuth2 Token handoff to testcomplete
We have automatee the OAuth2 token retrieval and we use Implicit grant method.
We are wanting to execute this token retrieval api from testcomplete. we are able to create the link to this api via testcomplete.
The ask here is how can we retrieve this access token in testcomplete? This token needs to be put into a gui field on the mobile device app we created internally.
The key is to retrieve the token into a variable. If you have any suggestions please share them.
I am not sure I got the question...
Do you need to pass token from ReadyAPI to TestComplete? You can assign a token to some environment variable in ReadyAPI and then get the value of this environment variable in TestComplete test.
Or you need to port your ReadyAPI token retrieval sequence into TestComplete? Can you provide a relevant piece of ReadyAPI test in this case?
/Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
We created a test in readyapi to get our token. We are using testcomplete to execute the test case in readyapi. What we need to do is identify the flow needed to be done for us to capture the access token in readyapi and pass it as an output to testcomplete.