Q7

Unable to replay setting conditions in For activity after condition in Decision activity is set

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.2.14
  • Fix Version/s: 1.2.x
  • Component/s: Launching (Runtime)
  • Labels:
  • Test Mode:
    Q7
  • Q7 test:
    VSD086_Modify properties directly in activity diagram (Invoke activity to be added)

Description

Steps to reproduce

  1. Use workspace attached, start recording
  2. Open SO/operation, add Decision activity, set condition (newVar="qq")
  3. Add For activity, set condition (newVar from 1 to 5, step by default)
  4. Replay

Note: if no activity was added before For activity, script works ok

Test result
See screen attached

with [get-editor SO] {
    with [get-palette] {
        with [get-palette-entry Decision] {
            mouse-move 21 14 button1 -height 23 -width 125
            mouse-press 21 14 button1 -height 23 -width 125
            mouse-release 21 14 button1 524288 -height 23 -width 125
            mouse-move 10 8 -height 23 -width 125
        }
    }
    with [get-diagram | get-edit-part -className ProcessEditPart | get-figure "0/1"] {
        mouse-move 507 93 button1 -height 200 -width 1032
        mouse-press 507 93 button1 -height 200 -width 1032
        mouse-release 507 93 button1 524288 -height 200 -width 1032
    }
    with [get-diagram | get-edit-part -className ProcessEditPart | get-edit-part -name Decision1 | get-edit-part 
        -className DecisionBranchListEditPart | get-edit-part -name "Decision 1"] {
        mouse-hover 131 29 -height 153 -width 161
        with [get-edit-part -text Condition] {
            mouse-move 54 5 button1 -height 21 -width 64
            mouse-press 54 5 button1 -height 21 -width 64
        }
        get-edit-part -className SWTExpressionEditPart | mouse-release 54 5 button1 524288 -height 21 -width 64
        mouse-hover 100 35 -height 153 -width 161
    }
    with [get-text-viewer] {
        key-type "M1+SPACE"
        key-type Enter
        type-text "=\"qq"
    }
    get-diagram | get-edit-part -className ProcessEditPart | get-edit-part -name Decision1 | get-edit-part 
        -className DecisionBranchListEditPart | get-edit-part -name "Decision 1" | get-edit-part -text "newVar=\"qq\"" 
        | mouse-move 57 18 -height 21 -width 81
    with [get-palette] {
        with [get-palette-entry For] {
            mouse-move 29 8 button1 -height 23 -width 125
            mouse-press 29 8 button1 -height 23 -width 125
            mouse-release 29 8 button1 524288 -height 23 -width 125
            mouse-move 12 22 -height 23 -width 125
        }
        get-palette-entry "For Each" | mouse-move 9 1 -height 23 -width 125
    }
    with [get-diagram | get-edit-part -className ProcessEditPart | get-figure "0/1"] {
        mouse-move 518 260 button1 -height 277 -width 1032
        mouse-press 518 260 button1 -height 277 -width 1032
        mouse-release 518 260 button1 524288 -height 277 -width 1032
    }
    with [get-diagram | get-edit-part -className ProcessEditPart] {
        get-figure "0/1" | mouse-hover 646 324 -height 465 -width 1032
        with [get-edit-part -name For1 | get-edit-part -className SWTExpressionEditPart] {
            mouse-move 9 16 button1 -height 21 -width 20
            mouse-press 9 16 button1 -height 21 -width 20
            mouse-release 9 16 button1 524288 -height 21 -width 20
            mouse-move 13 18 -height 21 -width 20
            mouse-hover 13 18 -height 21 -width 20
        }
    }
    with [get-text-viewer] {
        key-type "M1+SPACE"
        key-type Enter
    }
    with [get-diagram | get-edit-part -className ProcessEditPart | get-edit-part -name For1] {
        with [get-edit-part -text 0] {
            mouse-move 10 13 button1 -height 21 -width 20
            mouse-press 10 13 button1 -height 21 -width 20
        }
        get-edit-part -className SWTExpressionEditPart -index 1 | mouse-release 10 13 button1 524288 -height 21 
            -width 20
    }
    get-text-viewer | key-type "NUMPAD_1" 1
    get-diagram | get-edit-part -className ProcessEditPart | get-edit-part -name For1 | get-edit-part -text 1 
        | mouse-move 19 15 -height 21 -width 20
    get-text-viewer | show-content-assist
    with [get-diagram | get-edit-part -className ProcessEditPart | get-edit-part -name For1] {
        with [get-edit-part -text 0] {
            mouse-move 8 11 button1 -height 21 -width 20
            mouse-press 8 11 button1 -height 21 -width 20
        }
        get-edit-part -className SWTExpressionEditPart -index 2 | mouse-release 8 11 button1 524288 -height 21 -width 20
    }
    with [get-text-viewer] {
        key-type "NUMPAD_5" 5
        show-content-assist
    }
}

Activity

There are no comments yet on this issue.

People

  • Assignee:
    sergey
    Reporter:
    lena.platova
Vote (0)
Watch (0)

Dates

  • Created:
    21/Jan/13 4:08 PM
    Updated:
    27/Aug/13 8:50 PM
    Resolved:
    27/Aug/13 8:50 PM