How to find ProjectID, TestsetID and TestcaseID in uipath

Hi,
I am not able to find projectId,testsetId and testcaseId in UiPath and i want to call api to executing the testsets in orchestrator.

Can some please provide any help on this.

Thanks,
Aman

@Aman_Tiwari

If you do get test sets then you can get the id of both test case and test set from there

I hope you are aware of swagger…can check there…

Hope this helps

cheersl

Hi Anil,

I have check the swagger documentation and trying to make a python script for executing the test sets or testcases but for that i need the parameters like testsetId and testcaseId and am not able to find that from test manager orchestrator , in the swagger documentation there is only data type showing what should i do?

Thanks,
Aman
image

@Aman_Tiwari

To get these values…first you need to do a get request…and in the returned request you will have these values…

You have to extract them and then use them in the further api calls you make

Cheers

can you please provide an example for that, that will help

Thanks

@Aman_Tiwari

Did youa utheticate you swagger…if yes then click on try it out and click execute it should give you a response…if you need filters add some…else no other configuration is needed

https://docs.uipath.com/orchestrator/v0/reference/authorizing-api-calls-in-swagger

cheers

HI,

while authorising the orchestrator apis, i am getting the error page shown below.

Can you provide any help on this.

Thanks

@Aman_Tiwari

I cant see the error you are getting…can you tell me what details you provided ?

Are the api details in authurize proper…please verify

Cheers

Sorry for the glitch

@Aman_Tiwari

Can you tell what details you gave to authorize swagger?

Cheers


what is client secret key here?

@Aman_Tiwari

First try with blank value only…keep your or hestrator open on the next tab

Cheers

Still same error is coming.

https://<your_test_manager_url>/testsets/<test_set_id>

How to give access to this end point in UiPath

@Aman_Tiwari

You need to give write access on test sets and the user should have access to test manager

in the swagger at the top of each api you will have the permission set needed as well in the scope

cheers