--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _wTZJsDblEeaeH4-rLFMbKA,_CkEGoDx2EeaeH4-rLFMbKA,_VGhGcDx8EeaeH4-rLFMbKA
Element-Name: IntegratedImageViewerCanBeOpened
Element-Type: testcase
Element-Version: 3.0
External-Reference: 
Id: _7uFAwJqwEeadSNrqTD40Fg
Runtime-Version: 2.0.0.201506120617
Save-Time: 10/25/16 2:49 PM
Testcase-Type: ecl

------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description

Checks if integrated image viewer works.

- image is opened
- editor is of correct class
- editor is enabled
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content

// precondition
get-view "Project Explorer" | get-tree | select "MyProject/MyFolder/image.jpg" | get-menu "Open With/QuickImage Editor" 
    | click
// verification
get-tab-folder | get-property activePage | equals "image.jpg" | verify-true
with [get-editor "image.jpg" | get-canvas] {
    get-property className | equals "nu.psnet.quickimage.widgets.QuickImageCanvas" | verify-true
    get-property enablement | equals true | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--
