blob: 520ad8d633aba2ca461841e9a3d8777a070d6fb8 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _4zI9AWpgEeCzId1Gnkds9A,_bbpo0a2vEeCqpoE1MJ1fFQ,_18rr8K25EeCZfrGRg7GXDg
Element-Name: CancelRemoveHistory
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _T3R8UDBwEeGucNTOi0GihQ
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 "Execution History..." button in toolbar of Execution View
3. Make sure that Execution View is not empty
4. Press on "Remove All" button
5. Make sure that this window is empty
6. Press on "Cancel" button
7. Executions window is closed
8. Make sure that Executions View is not closed
------=_.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
get-window Executions | get-table | get-property itemCount | equals 0 | verify-false
get-window Executions | get-button "Remove All" | click
get-window Executions | get-table | get-property itemCount | equals 0 | verify-true
get-window Executions | get-button Cancel | click
with [get-view "Execution View"] {
get-tree | get-property itemCount | equals 1 | verify-true
get-label "1/1" | get-property caption | equals "1/1" | verify-true
get-label 1 | get-property caption | equals 1 | verify-true
}
get-view "Execution View" | get-button "Execution History..." | click -arrow
get-menu "History..." | click
get-window Executions | get-table | get-property itemCount | equals 0 | verify-false
get-window Executions | close
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--