blob: 3d24c787c03cbaa5f857c1675db12fc4cd6a4322 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _ymiyse5IEeCU6db9MgIBkA
Element-Name: RunnerArg
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _3xvEACnREeSkIPEBgXDIwQ
Runtime-Version: 1.5.0.201406020630
Save-Time: 8/22/14 3:35 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 Preferences/RCP Testing Tool;
2. Select "Advanced options";
3. Click "Runner Arg";
4. Make sure that dialog will be opened with message "All options are set as default ..."
5. Change advanced prefrences and click "Runner Arg" again
6. Make sure that opened dialog has message "-testOptions ..."
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-preferences-menu | click
with [get-window Preferences] {
get-tree | select "RCP Testing Tool"
with [get-section "Advanced options"] {
click
get-link "<a>Runner arg</a>" | click-link
}
}
get-window Preferences | get-window "-testOptions arg for RCPTT Runner"
| get-label "All options are set to defaults, no need to specify -testOptions arg" | get-property caption
| equals "All options are set to defaults, no need to specify -testOptions arg" | verify-true
with [get-window Preferences] {
get-window "-testOptions arg for RCPTT Runner" | get-button Close | click
with [get-section "Advanced options"] {
get-group "Core Features" | get-button "Kill AUT on connect error" | check
get-group "Runtime Features" | get-button "Allow status dialogs" | check
}
get-button Apply | click
get-section "Advanced options" | get-link "<a>Runner arg</a>" | click-link
}
get-window Preferences | get-window "-testOptions arg for RCPTT Runner"
| get-label "-testOptions runtimeStatusDialogAllowed=true;launchingKillAutOnConnectError=true"
| get-property caption | equals "-testOptions runtimeStatusDialogAllowed=true;launchingKillAutOnConnectError=true"
| verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--