Execute Test Set from UiPath Studio WorkFlow


I’m using UiPath API to execute test set from the UiPath Studio, but I have a problem when using OAuth2 as the image above.

Please help guide me how to get OAuth2Token?
Thank you so much

Hi @loi.nguyen,

To obtain an OAuth2 token, you need to register your application with the service provider, obtain OAuth2 credentials (client ID and client secret), request an authorization code, exchange the authorization code for an access token, and then use the access token to make requests to the service provider’s API.

1 Like

@loi.nguyen

Welcome to the community

If you are using UiPath api from studio…then directly use orchestrator http request activity which does not need all these

Hope this helps

Cheers

1 Like

Thank you for your help.
I have registered new app and tried to get its token as the image below:

But still get error as below:

image
Any advise to me about this error?
Thank you

@loi.nguyen

This error comes when either the auth url or the access token url is wrong…please check the same

cheers

1 Like

I do not know how to trigger a test set from Orchestrator. I’m using Test Manager API to call it.

I have an issue relate to getting OAuth2Token, how to get it?

@loi.nguyen

Please check

Official documentation

https://docs.uipath.com/orchestrator/v0/docs/test-sets#execute-test-set

cheers

2 Likes

Thank you so much.
Let me view them.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.