UnitTestRunner Run test as user

Posted by Community Admin on 04-Aug-2018 19:14

UnitTestRunner Run test as user

All Replies

Posted by Community Admin on 03-Feb-2016 00:00

Is there any easy way to have a test run as a specific user?

Posted by Community Admin on 08-Feb-2016 00:00

Is this just not possible?

Posted by Community Admin on 11-Feb-2016 00:00

Hi Steve,

This is supported scenario.

More information could be found here:
https://github.com/Sitefinity-SDK/Telerik.Sitefinity.Samples.IntegrationTests#different-user-execution-support

I hope this helps.

Regards,
Svetoslav Manchev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 11-Feb-2016 00:00

Oh good, I thought I remembered seeing that somewhere, but it's not in the docs...didn't check the git page.

SF can log users in w/out their passwords... is the PW optional here?

I don't want to store PWs in the tests

Posted by Community Admin on 12-Feb-2016 00:00

Hello Steve,

You can create user/s through the API before the tests running and then delete it/them.

Regards,
Svetoslav Manchev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed