I want update field "Results" (UI) for the one of scenario steps defined to element, but its not working. Method "Update()" (API) updated filed "results" instead "result". Only the value from "result" (database, t_objectscenarios.XMLContent=>result) is shown in UI. It is true? It is another way to updated field "Results" (UI) using API?
foreach (EA.IDualScenario es in element.Scenarios)
{
foreach (EA.IDualScenarioStep ess in es.Steps)
{
if (ess.Name.Trim().Length == 0 &&
ess.Uses.Trim().Length == 0 &&
ess.Results.Trim().Length == 0
)
{
ess.Name = "TEST_Name";
ess.Uses = "TEST_Uses";
ess.Results = "TEST_Results";
ess.Update();
}
}
es.Update();
}
element.Update();