This is a migrated thread and some comments may be shown as answers.

Getting Error when Executing List containing test as steps

1 Answer 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
sonal
Top achievements
Rank 1
sonal asked on 11 Aug 2011, 07:35 PM
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)

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 12 Aug 2011, 09:23 AM
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!
Tags
General Discussions
Asked by
sonal
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or