Sei sulla pagina 1di 1

II.

USER INTERFACE ACCESSIBILITY Accessibility is nothing but collecting information about a particular user interface controls from an online running page. Then only we can do UI Automation. If we can not able to access any controls then we can not do UI Automation. The image below shows a typical view from UI Spy over Silverlight page. Automated Testing of Silverlight and Moonlight Applications Figure 1.

UI SPY with UI Properties UI Spy allows easy search for the exact element of interest by just hovering the control on the page and holding CTRL key. We can also locate the element on the demo by enabling the location option (the tool surrounds your element with red boundaries as shown in the picture). UI Spy can be used in conjunction with advanced UI Automation testing. Back in March 2008, the MS UI Automation team posted their testing framework on Code Plex as well. It is called UI Automation Verify (UIA Verify) and comes with a complete test library and GUI tool. Every Control is arranged properly in a tree structure with the user interface controls as nodes. Using UI Spy Accessibility of controls is very easy.

Potrebbero piacerti anche