blob: cc0dcae2c85e9264e20eaaf1cbe5e7527c45b510 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _ymiyse5IEeCU6db9MgIBkA,_ZQYygK2sEeCqBbDEJWufvQ,_SrzGMC9CEeS6jLApChUV4Q
Element-Name: DisplayingDetailsCheckDecorators
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _xofzcC84EeS6jLApChUV4Q
Runtime-Version: 1.5.2.201408180747
Save-Time: 9/10/14 3:21 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
--------------------------------------------------------------------------------
1. Run failed test
2. After execution this test, press "Details..." button in Execution View
3. Make sure that "Description" tab contains "ControlDecoration"
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
with [get-view "Test Explorer" | get-tree] {
select q7project | double-click
}
// Decorator exists
get-view "Test Explorer" | get-tree | select "q7project/failedWithDecorators" | double-click
get-editor failedWithDecorators | get-button Replay | click
try -times 50 -delay 100 -command{
get-view "Execution View" | get-button "Details..." | click}
get-window "Execution details" | get-tab-folder | get-tab-item Description | click
get-window "Execution details" | get-editbox | get-property text | contains "ControlDecoration(Name must be non-blank string.)" | verify-true
get-window "Execution details" | get-button OK | click
// No decorators
get-view "Test Explorer" | get-tree | select "q7project/failedWithoutDecorators" | double-click
get-editor failedWithoutDecorators | get-button Replay | click
try -times 50 -delay 100 -command{
get-view "Execution View" | get-button "Details..." | click}
get-window "Execution details" | get-tab-folder | get-tab-item Description | click
get-window "Execution details" | get-editbox | get-property text | contains "ControlDecoration(Name must be non-blank string.)" | verify-false
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--