| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _mY5uUKEgEeKX8e34E6tWIg,_rr2EEFpSEeKcnaHGSt8OwA,_IuFcgFpZEeKcnaHGSt8OwA,_f3qEUVpSEeKcnaHGSt8OwA |
| Element-Name: UpperBoundValidation |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _JxwwQHkgEeO9Ja8zvRhhOQ |
| Q7-Runtime-Version: 1.3.10.201312200736 |
| Save-Time: 3/7/14 10:13 AM |
| Testcase-Type: ecl |
| |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| get-view "Model Explorer" | get-tree | get-menu "Create new project" | click |
| with [get-window "Create Project"] { |
| get-editbox -after [get-label "Project Name:"] | set-text Project |
| get-button Finish | click |
| } |
| get-view "Model Explorer" | get-tree | select Project | get-menu "New Model Element" | click |
| get-window "Add new model element" | try { get-tree | select "Matchup" } -catch { get-tree | select "bowling/Matchup" } | double-click |
| |
| with [get-editor Matchup | get-label -after [get-label Games]] { |
| get-property "getImage().getBounds().toString()" | equals "Rectangle {0, 0, 16, 17}" | verify-true |
| get-property "getToolTipText()" | contains "with 0 values must have at least 2 values" | verify-true |
| } |
| |
| get-editor Matchup | get-button "Add an instance of Game" | click |
| with [get-editor Matchup | get-label -after [get-label Games]] { |
| get-property "getImage().getBounds().toString()" | equals "Rectangle {0, 0, 16, 17}" | verify-true |
| get-property "getToolTipText()" | contains "with 1 values must have at least 2 values" | verify-true |
| } |
| get-editor Matchup | get-button "Add an instance of Game" | click |
| with [get-editor Matchup] { |
| get-label -after [get-label Games] | get-property "getToolTipText()" | equals "" | verify-true |
| get-button "Add an instance of Game" | get-property enablement | equals false | verify-true |
| } |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |