How to reach nested controls using Coded UI Test Builder 19 January 2011 Donovan-Brown Work (0) 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.
I can't get Code Coverage to work on IIS7 13 January 2011 Donovan-Brown Work (0) How to get code coverage on IIS7. [More]
Where do I place pre-conditions for test cases in MTM 24 September 2010 Donovan-Brown Work (0) Problem: I have preconditions for a test case in Microsoft Test Manager (MTM) but I don’t know where to store or how to notify the tester before executing the test. Solution: Attach a preconditions document to the first step of your test case or create the preconditions as a shared step. Explanation: When creating a Test Case in MTM you can have attachments on each test step in a test case. One solution to the problem of preconditions is to attach a document that contains the preconditions to the first step of your test case. Now when the tester begins the test case the first step will be presented with a link to the preconditions document. From there the tester can simply click the link to open the document and perform the necessary preconditions for the test case. This same method can be used for any post conditions as well be attaching a document to the final step of the test case. Another option is to create the preconditions as shared steps and include them as the first step in the test case.
Writing Custom Conditional Rule for Visual Studio 2010 07 November 2009 Donovan-Brown Work (3) How to write a Custom Conditional Rule for Visual Studio 2010 [More]
Add validation rule to every request. 19 July 2009 Donovan-Brown Work (1) I need to apply the same validation rule to every request of my web test to test for forbidden text. [More]
I need dates in my WebTest to always be in the future. 25 June 2009 Donovan-Brown Work (1) Shows how to create a VSTS WebTest Plug-in to generate dates in the future. [More]
Neptune (future features) 27 October 2008 Donovan-Brown Work (10) This post describes new features for the next release of Neptune. [More]
Neptune (personal SMTP testing server) 20 October 2008 Donovan-Brown Work (12) This post describes a testing tool that allows automated testing of code that sends email. [More]