blob: 35d82db40b78a21a88158bd8da79ca357f97e477 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _ymiyse5IEeCU6db9MgIBkA
Element-Name: ControlPanel
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _Ec6dgCnPEeSkIPEBgXDIwQ
Runtime-Version: 1.5.2.201408180747
Save-Time: 9/10/14 3:40 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. Start recording;
2. Change preferences in options tab;
3. Stop recording;
4. Open Preferences/RCP Testing Tool and make sure that preferences are changed;
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-button "Record a Snippet" | click
try {
get-window "Select an Application Under Test" | get-button Cancel | click
} -catch {}
with [get-window "Control Panel.*"] {
get-tab-folder | get-tab-item Options | click
get-group "Core Features" | get-button "Kill AUT on connect error" | check
with [get-group "Runtime Features"] {
get-button "Allow status dialogs" | check
get-section "Diagram mouse options" | get-combo -after [get-label "Mouse move recording mode"] | select Always
get-section "Figure identity recording" | get-editbox
-after [get-label "Use following EMF features for part identity"] | set-text id
}
close
}
get-preferences-menu | click
with [get-window Preferences] {
get-tree | select "RCP Testing Tool"
get-section "Advanced options" | click
}
with [get-window Preferences | get-section "Advanced options"] {
get-group "Core Features" | get-button "Kill AUT on connect error" | get-property selected | equals true
| verify-true
with [get-group "Runtime Features"] {
get-button "Allow status dialogs" | get-property selected | equals true | verify-true
get-section "Diagram mouse options" | get-combo -after [get-label "Mouse move recording mode"]
| get-property selection | equals Always | verify-true
}
}
get-window Preferences | get-section "Advanced options" | get-group "Runtime Features"
| get-section "Figure identity recording" | get-editbox
-after [get-label "Use following EMF features for part identity"] | get-property text | equals id | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--