by Donovan Brown
19. January 2011 22:26
Problem
I have a span nested inside an anchor tag and I cannot reach it with CodedUI Test Builder.
Solution
Use the control navigation button in the Add Assertions dialog.

Explanation
While trying to check the attributes on a link in a web application I could never see the font style to determine if it was bold or not. After further investigation I realized the style I was looking for was not on the link but actually on the span inside the link. However, whenever I used the cross-hair icon I was only able to select the hyperlink and never the span. Then I noticed that there is a button in the Add Assertions dialog on the far right that allows you to move to other controls relative to the one currently selected. Once I clicked the down arrow on the button I was moved to the nested span inside the hyperlink.

by Donovan Brown
19. January 2011 04:08
Problem
I was trying to learn how to create a custom Project Template and now I can't get rid of it!
Solution
Make sure all the .zip files for your Project Template have been deleted and run
devenv /setup
Explanation
Running devenv /setup will force Visual Studio to reset all the Project Templates and also get rid of old ones.
by Donovan Brown
14. January 2011 00:53
Problem:
I can’t get code coverage results on a 64 bit Windows 2008 Server running IIS 7. I only get the following message:
“Empty results generated: none of the instrumented binary was used. Look at test run details for any instrumentation problems.”
Resolution:
If you are getting the following entry in the event log:
“Unable to connect to monitor. Make sure the monitor is started and in the correct mode.”
Update the properties of the AppPool running your app. Right click on the AppPool running your application under test and select Advanced Settings. Change the value of Enable 32-Bit Applications to True.
