Getting Error when Executing List containing test as steps

2 posts, 0 answers
  1. sonal
    sonal avatar
    6 posts
    Member since:
    Jun 2011

    Posted 11 Aug 2011 Link to this post

    Hi,
     I am getting the following Error while execution test as List.
    This test works fine while running as test  but it gives error when Executing as List.....
    It is show stoper for me now so Please help me out with this issue..
    Find the attached Log for more detail.
    ------------------------------------------------------------
    '8/11/2011 2:06:08 PM' - Detected custom code in test. Locating test assembly: Automation.dll.
    '8/11/2011 2:06:08 PM' - Assembly Found: C:\Automation1\bin\Automation.dll
    '8/11/2011 2:06:08 PM' - Loading code class: 'Automation.ChartOfAccount'.
    ------------------------------------------------------------
    '8/11/2011 2:06:48 PM' - Error attempting to execute a Test As Step. Details:
    '8/11/2011 2:06:48 PM' - System.NullReferenceException: Object reference not set to an instance of an object.
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteDataDrivenTest(Test test, BaseWebAiiTest codeInstance)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(Test test)
  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 12 Aug 2011 Link to this post

    Hello Sonal,

    Thank you for the provided stack trace and log file. Does this error occur every time you execute the test list? From the log I see there is a test as step inside the 'Automation.ChartOfAccount' test, which i believe is the main reason for the error. Unfortunately this error is generic and we won't be able to troubleshoot your problem based on it alone. We need to reproduce the problem locally. So would you please send the test project along with a description of  the necessary reproduction steps.    

    If you consider this information to be too sensitive for a public forum. Please go ahead and open a support ticket. Unlike a forum thread support ticket is completely confidential, just make sure the support ticket contains a reference to this forum thread. 

    Hope to here from you soon!

    Best wishes,
    Plamen
    the Telerik team
    Vote for Telerik Test Studio at the Annual Automation Honors Voting!
Back to Top