title: Using the output of a [ValueSourceAttribute] Nunit Test in the following Test
body: <p>I am developing a unit test project where I create an item in a test, then create sub items for it in the following test.</p>
  
  <p>These tests are parameterized tests, and these parameters are collected in the runtime, so when the project starts it starts. It fails to retrieve the parent item from the database because they are not created yet "as I haven't run the first test yet".</p>
  
  <p>Is there a workaround for this?</p>
  
  <p><em>The first function:</em></p>
  
  <pre><code>[Test, Sequential]
  public void AddInitiative([ValueSourceAttribute("Get_AddInitiatives_Data_FromExcel")]AddInitiative Initiative_Object)
  {
          string URL = "http://" + Server_name + Port_number + "/IntegrationHub/IntegrationHub.svc/RestUnsecure/AddInitiative";
          string Token = Get_Security_token("gpmdev\\administrator", "Xyz7890", TenantID_Input);
          var Response = POST_Request(Initiative_Object, URL, Token);
          Guid Returned_GUID = GenericSerializer&lt;Guid&gt;.DeserializeFromJSON(Response);
          DataBase_Queries DB = new DataBase_Queries();
          List&lt;StrategyItem&gt; StrategyItemsFromDB=DB.GetStrategyItemByID(Returned_GUID.ToString());
          Assert.AreEqual(Initiative_Object.Initiative.Name_En, StrategyItemsFromDB[0].Name_En);
  } 
  </code></pre>
  
  <p><em>The second function that fails:</em></p>
  
  <pre><code>[Test, Sequential]
  public void AddInitiativeMilestones([ValueSourceAttribute("Get_AddInitiativeMilestones_Data_FromExcel")]AddMilestone Milestone_Object)
  {
          string URL = "http://" + Server_name + Port_number + "/IntegrationHub/IntegrationHub.svc/RestUnsecure/AddInitiativeMilestones";
          string Token = Get_Security_token("gpmdev\\administrator", "Xyz7890", TenantID_Input);
          var Response = POST_Request(Milestone_Object, URL, Token);
          List&lt;Milestone&gt; Returned_Milestone = GenericSerializer&lt;List&lt;Milestone&gt;&gt;.DeserializeFromJSON(Response);
          DataBase_Queries DB = new DataBase_Queries();
          List&lt;StrategyItem&gt; StrategyItemsFromDB = DB.GetStrategyItemByID(Returned_Milestone[0].ID.ToString());
          Assert.AreEqual(Milestone_Object.Milestones[0].Name_En, Returned_Milestone[0].Name_En);
          Assert.AreEqual(Milestone_Object.Milestones[0].Name_En,StrategyItemsFromDB[0].Name_En);
  }
  </code></pre>
  
  <p><strong>Update: When I clicked from the GUI on Clear fixture the test data was reloaded, but it there a way to do that without the GUI?</strong></p>