Steps to reproduce: 1. Execute the test in the attached project. Expected behavior: Test passes Actual behavior: The coded step throws the following exeption: Failure Information: ~~~~~~~~~~~~~~~ Exception thrown executing coded step: '[WebTest1_CodedStep] : New Coded Step'. InnerException: System.NullReferenceException: Object reference not set to an instance of an object. at TestProject.WebTest_1_.WebTest1_CodedStep() in c:\Users\ittodorov\Desktop\work files\3.04.2015\TestProject\WebTest(1).tstest.cs:line 54