From last two week I am facing problem in VS CodeUI test project. Actually, I create one Test project and add CodedUI class template in that. then I records action for windows application. but for each click on GUI control application shows me 'Access is Denied' message and when I create code on recorded action it show same error message.
I have run my application under administrator privilages. but still same results.
Even I add all required thrid party controls's reference dll but still not get success.

Can anyone help me to over come this problem.