blob: 5c99eb52f8b3f9f4594385448c3113d9325e4f51 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _4zI9AWpgEeCzId1Gnkds9A,_bbpo0a2vEeCqpoE1MJ1fFQ,_18rr8K25EeCZfrGRg7GXDg
Element-Name: ClearExecutionHistory
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _U8HPsDBrEeGucNTOi0GihQ
Q7-Runtime-Version: 1.5.0.201406131029
Save-Time: 6/13/14 7:04 PM
Tags: History, selfAUT
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. Run tests
2. Press "Clear Terminated" button in toolbar of Execution View
3. Make sure that Execution View is empty
4. Open Executions window
5. Make sure that this window is empty
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Test Explorer" | get-tree | select "q7project/simpleTest1" | get-menu "Run As/\\d+ Test Cases" | click
wait 5000
get-view "Test Explorer" | get-tree | select "q7project/simpleTest3" | get-menu "Run As/\\d+ Test Cases" | click
wait 5000
get-view "Test Explorer" | get-tree | select "q7project/simpleTest2" | get-menu "Run As/\\d+ Test Cases" | click
wait 5000
get-view "Execution View" | get-button "Execution History..." | click -arrow
get-menu "Clear Terminated" | click
with [get-view "Execution View"] {
get-tree | get-property itemCount | equals 0 | verify-true
get-label "0/0" | get-property caption | equals "0/0" | verify-true
get-label 0 | get-property caption | equals 0 | verify-true
get-label 0 -after [get-label "Stops:"] | get-property caption | equals 0 | verify-true
}
get-view "Execution View" | get-button "Execution History..." | click -arrow
get-menu "History..." | click
with [get-window Executions] {
get-table | get-property itemCount | equals 0 | verify-true
with [get-button Remove] {
get-property enablement | equals false | verify-true
get-property caption | equals Remove | verify-true
}
}
get-window Executions | get-button OK | click
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--