| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _ymiyse5IEeCU6db9MgIBkA,_OKTjMYxiEeK4jYsIiM8Vnw |
| Element-Name: CannotRemoveDefaultContextsFromTest |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _DKB9sIrjEeKe4NooVEYS9Q |
| Q7-Runtime-Version: 1.5.0.201406131029 |
| Save-Time: 6/13/14 7:04 PM |
| Tags: Context, DefaultContext |
| 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 test cases with Default Context |
| 2. Make sure that default context cannot be removed from test case |
| ------=_.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 "MyProject/WorkspaceIsEmpty" | double-click |
| get-editor WorkspaceIsEmpty | get-section Contexts | click |
| get-editor WorkspaceIsEmpty | get-section Contexts | get-table |
| | get-item "Reset Perspective \\(MyProject - default context\\)" | get-property caption |
| | equals "Reset Perspective (MyProject - default context)" | verify-true |
| get-editor WorkspaceIsEmpty | get-section Contexts | get-table |
| | select "Reset Perspective \\(MyProject - default context\\)" |
| with [get-editor WorkspaceIsEmpty | get-section Contexts] { |
| with [get-button Remove] { |
| get-property enablement | equals false | verify-true |
| get-property tooltip | equals Remove | verify-true |
| } |
| with [get-table] { |
| get-menu Remove | get-property enablement | equals false | verify-true |
| get-menu Cut | get-property enablement | equals false | verify-true |
| } |
| } |
| get-editor WorkspaceIsEmpty | get-section Contexts | get-table |
| | select "Reset Perspective \\(MyProject - default context\\)" | get-menu Open | click |
| get-tab-folder -index 1 | get-property activePage | equals "Reset Perspective" | verify-true |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |