blob: f96c854deea679ebdca071941323711b0c2cee82 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _4zI9AWpgEeCzId1Gnkds9A,_bbpo0a2vEeCqpoE1MJ1fFQ
Element-Name: WorkspaceContextCaptureTests
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _7r_KYa20EeClLPYnwKXU_A
Q7-Runtime-Version: 1.5.0.201406131029
Save-Time: 6/13/14 7:10 PM
Tags: Runtime, selfAUT, Create, WorkspaceContext
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
--------------------------------------------------------------------------------
Pre-conditions:
1. Open "defaultWS" context
2. Press Aply button
Steps:
3. Create new workspace
4. Press "Capture" button
5. Verify that q7project is displayed in Workspace section
6. Press Apply button
7. Verify that context is implemented
------=_.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/defaultWS" | double-click
with [get-editor defaultWS] {
get-section Workspace | get-tree | select q7project
get-button Apply | click
get-window "Save Resource" | get-button Yes | click
}
get-view "Test Explorer" | get-tree | select q7project | get-menu "New/Context" | click
with [get-window "New Context Wizard"] {
get-editbox -after [get-label "Name:"] | set-text MyWorkspace
get-button Finish | click
}
with [get-editor MyWorkspace | get-button Capture] {
click
key-type "M1+s"
}
get-editor MyWorkspace | get-section Workspace | get-tree | get-item q7project | get-property caption
| equals q7project | verify-true
get-editor MyWorkspace | close
get-editor defaultWS | click
get-view "Test Explorer" | get-tree | select q7project | get-menu "New/Context" | click
with [get-window "New Context Wizard"] {
get-editbox -after [get-label "Name:"] | set-text myworkspace2
get-button Finish | click
}
with [get-editor myworkspace2] {
get-button Capture | click
get-button Apply | click
get-window "Save Resource" | get-button Yes | click
get-section Workspace | get-tree | select q7project | key-type "M1+s"
get-button Apply | click
}
with [get-view "Execution View" | get-tree] {
key-type "M1+w"
key-type "M1+s"
key-type "M1+w"
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--