The error happens in the following scenario.
First I have a test I will call him Test A he is 343 steps. At his 50 step I call other test (Test A') with Test as Step which is 1300 steps.
The purpose of the test is to register a large form of data with 10 companies and some other data. The registration of these 10 companies is in Test A'.
After I save the form, a unique record number is generated that needs to be used later in the other tests. Also I take with extraction steps, all the infromation for this 10 companys and other data which is saved in the form. I use these extraction steps later in the other tests to verify the data.
Test B - This test calls as first step Test A. Test B have 696 steps inside him. Its purpose is to edit the saved form that was made by Test A and to add more data to the form and save it again .
Test C - This test calls as first step Test B. The purpose of this test is to verify the data after the editing is done by Test B and to generate a document in the form with unique number.The test have 548 steps.
Test D - This test calls as first step Test C. The purpose of this test is generate 3 documents in the form with unique numbers and status. For the last three steps of the test I call three more tests (Test D', Test D'', Test D'').
After the first 3 documents are generated, three new buttons are activated and with them I have to generate other 3 documents. Test D have 186 steps.
Test D' have 451 steps, Test D'' have 511 and Test D''' have 486 steps.
When I start Test D, the tests A, B, C, D, D', D'' are executed successfully but when runs the last test (Test D''') gives me the error System.OutOfMemoryExeption.
Тhe total number of steps for all tests is 4518 steps.
My question is is there any limitation on how many steps I can perform when using Test as Step feature? Аnd whether in the new version will give me the same error?
Is it possible to give me this error because it's expected to generate a large result?
My Computer parametes:
System type: 64-bit
Using Telerik Test Studio Version 2014.3.903.0 - 32 bit.
I also read this artical.
Option 1 is to break the test to have steps less then 800 steps. I did that with the tests, only Test A' has 1300 steps, this is the minimum I can leave.
Option 2 I use 64-bit operating system
Option 3: Оnly this option I have't tried. And I'm not sure if this option will help me?
I attach files with the error and the memory used before test to trow this exception.
Thank you in advance for the answer.