Hello Madhhi,
Is your issue resoved? If not, could you please offer more detailed information about your scenario so the community members could help you better and quicker.
In addition, here is an article offers detailed information about Coded UI Test you can refer to:
http://msdn.microsoft.com/en-us/library/dd286726.aspx
You could also post your issue on the Visual Studio UI Automation Testing (includes CodedUI) Forum which will also be beneficial to other community members.
Thanks.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Send us any feedback you have about the help from MSFT at
fbmsdn@microsoft.com.