Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Piotr123

Pages: [1]
1
Thanks Geert for that idea.
I'll try to do that this way.

Piotr

2
I must do it automatically. I have some hundreds of use case do process. I can't spend months on it >:(

3
Hi,
How can I add/remove Context References elements in use case (tab Context References in scenarios)
I can add that context reference manually (pop up menu: "Insert Context Reference" in "Uses" field) but I can't find any API (VBScript) to add/remove such references.

Piotr

4
Thanks for answer
I reported a bug.

5
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

Pages: [1]