blob: 0ce7b4ab3e9e909468336c4c8458d828496925ca [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.0.0.201505181625
Save-Time: 5/19/15 1:06 PM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
Copyright (c) 2009, 2014 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 v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.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 OK | 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--