Geeks With Blogs
Abhishek Lohani HP Accredited Integartion Specialist ALM


Hi First of all know the defination of the object

Step  to be Performmed :-

 1 Edit with the code UI test builder and place the Cross hair control to know the defination of the Control

 2 Record the control and know the defination when you will know the object defination then add or modify the defination in UIMap.cs or UIMap.Designer.cs

Example how to implement above step

1.    I have Recorded the Login windows  control using vs2010 code ui test and pass the credentilas and add a Assert method and generate the Code . 

2.    From UIMap.Designer.cs copy the function in UIMap.cs and parametarized  the function with custom credentials using Resource file. and call the Function from the test .


Abhishek kumar lohani

Note :- i have assumed person may know how to record the test using coded ui test in vs2010


Posted on Thursday, August 16, 2012 1:47 AM Testing | Back to top

Comments on this post: VS2010 Coded UI Test :Add or modify object properties Coded UI manually

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © AbhishekLohani | Powered by: