What to do when my CUIT thows a PlaybackFailureException 09 October 2011 Donovan-Brown Work (0) Updated (Oct 11, 2011) Problem: I have a textbox that has a maximum length of five characters. I want to record a Data Driven CUIT to test that you cannot type in more than five characters. However, when I attempt to set the textbox to a six character value the CUIT throws a PlaybackFailureE... [More]
How to fail a TFS2010 Build from workflow 04 October 2011 Donovan-Brown Work (0) Problem: I have tried setting the BuildDetail.CompilationStatus and BuildDetail.Status but my build keeps Partially Succeeding. Solution: Use the SetBuildProperties activity to set the status to fail.
Build workspace folder already mapped. 03 October 2011 Donovan-Brown Work (0) Problem: My Team Build keeps failing with an error that my source folder is already mapped in another workspace. The path C:\Builds\1\Demo\Reports\Sources is already mapped in workspace 7_1_WIN-GS9GMUJITS8. Solution: Use the tf.exe tool to delete the workspace holding on to that location. Explan... [More]
How to enable code coverage in my Team Build 03 October 2011 Donovan-Brown Work (0) Problem: I am not getting code coverage results in my build. Solution: Ensure you have a test settings file selected in your build definition. Explanation: On the process tab of your build definition expand the Automated Testing section under Basic and make sure the TestSettings File is pointin... [More]
CUIT Demo of Feature Pack 2 Coded UI Test Editor 01 October 2011 Donovan-Brown Work (0) Problem: I have a Coded UI Test that is failing on Playback. Solution: Use the Coded UI Test Editor in Feature Pack 2 to adjust the UI Map and add actions to your test. Explanation: I felt a write up would be too hard to follow so I recorded a video instead which you can watch below. In this ... [More]