blob: 6f6caba0a10e812756e088c1b575686e1bb4a581 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: __-YhkIaBEeC4JayVkWEegA,_4zI9AWpgEeCzId1Gnkds9A,_ZQYygK2sEeCqBbDEJWufvQ
Element-Name: ContextSelectionDialog_Capturing
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _2bz_IYaBEeC4JayVkWEegA
Q7-Runtime-Version: 1.5.0.201406131029
Save-Time: 6/13/14 7:10 PM
Tags: Dialog, 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
--------------------------------------------------------------------------------
Pre-conditions:
1. Open "context" context
2. Press Aply button
Steps:
3. Open scenarion
4. Press "Add" button in Context section
5. Press "Capture" button in Select Context
6. Insert name in New Context Wizard and press Finish button
7. Verify that context is created and is added in 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 "Q7Project/context" | double-click -nowait
get-editor context | get-button Apply | click
get-window "Save Resource" | get-button Yes | click
wait 5000 // Wait while context applying
get-view "Test Explorer" | get-tree | select "Q7Project/scenario" | double-click -nowait
get-editor scenario | get-section Contexts | get-button "Add..." | click
with [get-window "Select context"] {
get-table | select "context \\(Q7Project\\)"
get-button "Capture..." | click
with [get-window "New Context Wizard"] {
get-editbox -after [get-label "Name:"] | set-text captured
get-button Finish | click
}
}
get-editor scenario | get-section Contexts | get-table | select "captured \\(Q7Project\\)" | double-click -nowait
get-editor captured | get-section Workspace | get-tree | select project
with [get-editor captured | get-section Workspace | get-tree | get-item project] {
get-property caption | equals project | verify-true
get-property childCount | equals 2 | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--