I have several Silverlight interface tests that I automate using White. These tests are then run by the TFS build agent, which runs interactively, so it can access the desktop.
The assembly is performed if I have a remote desktop connection that opens to the build agent during tests; I see how the mouse cursor moves. When a test clicks on a HyperlinkButton navigation, occurs and is subsequently checked by statements in the test.
The build fails if I do not have a remote desktop connection that opens to the build agent when running the tests. An Internet Explorer window is created and the Silverlight application loads, but no clicks occur; the application remains on the original page, and subsequent claims checks are not performed.
Has anyone found a solution to this problem?
source
share