blob: b531abfd3ab7a788f8887d14cd30b0460193f7ce [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Element-Name: Bug 465746 - Can't assert 'text' property for a canvas of Help view.
Element-Type: testcase
Element-Version: 3.0
External-Reference: https://bugs.eclipse.org/bugs/show_bug.cgi?id=465746
Id: _hkfQQP3sEeSiC7WK4Ocdig
Runtime-Version: 2.2.0.qualifier
Save-Time: 5/22/17 5:40 PM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
Copyright (c) 2009, 2019 Xored Software Inc and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-v20.html
Contributors:
Xored Software Inc - initial creation and/or initial documentation
--------------------------------------------------------------------------------
TEST STEPS
1. Open Help view;
2. Assert 'text' property of it.
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-menu "Window/Show View/Other..." | click
with [get-window "Show View"] {
get-tree | select "Help/Help"
get-button Open | click
}
with [get-view Help] {
get-link Search | click
with [get-combo] {
set-text "Test Case Editor"
}
get-button Go | click
}
get-view Help | get-section "Local Help.*" | get-canvas | get-property text
| contains "a" | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--