As a newbie,I struggled a bit when starting off with CodedUI tests, so now that I have a little bit of knowledge on Visual Studio and creating these CodedUI tests, I would like to share my knowledge with the group and maybe open up more discussions on this technology.
I am testing my silverlight 4 application with coded UI test builder. I am using VS ultimate version 2010 and feature pack 2 installed.
Now my problem is that it is capturing same event for all controls in my application bifuracated only by X,Y co-ordinates.
Mouse.Click(uIxyzWindowsInternClient, new Point(29, 249));
Mouse.Click(uIxyzWindowsInternClient, new Point(41, 311));
I also tried to see its properties in Coded UI TestEditor but there also it is only showing "Common Properties" and "Specific Properties" - (No Search Properties).
With Coded UI Test builder's Assertion facility, it is capturing whole named above, not specific control.
As it is only identifying controls by its co-ordinates I have to be at same location while playing back script.