Book a Demo

Author Topic: Can't update Results field in ScenarioStep object  (Read 3160 times)

Piotr123

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Can't update Results field in ScenarioStep object
« on: August 03, 2012, 07:35:55 pm »
Does anyone knows why I can't update Results field in ScenarioStep object?
My code can update other ScenarioStep fields (Name, Uses, State) but Results can't.
I'm using Automation Interface (VBScript), here is a part of my program

            ...
            dim k
            dim steps as EA.Collection
            set steps = currentScenario.Steps
            
            for k = 0 to steps.Count - 1
                  dim aStep as EA.ScenarioStep
                  set aStep = steps.GetAt(k)
                  
                  aStep.Name = modifyString(aStep.Name)
                  aStep.Uses = modifyString(aStep.Uses)
                  aStep.Results = modifyString(aStep.Results)
                  aStep.State = modifyString(aStep.State)
                  aStep.Update()
            next
            ...
            
Piotr

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Can't update Results field in ScenarioStep obj
« Reply #1 on: August 03, 2012, 08:00:44 pm »
I guess, because it's not working. I asked the same question here, but got no response. I have no need in this. So in case you have to report this as a bug.

q.

P.S.: see here: http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1340620538
« Last Edit: August 03, 2012, 08:02:58 pm by qwerty »

Piotr123

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Can't update Results field in ScenarioStep obj
« Reply #2 on: August 03, 2012, 08:28:10 pm »
Thanks for answer
I reported a bug.