blob: a22880d84236b93b964a714ed636ed559b7cd8f5 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _ymiyse5IEeCU6db9MgIBkA,_n1a-kfriEeCQa9Xqo-1T3A
Element-Name: ExportToClipboardTwoTestCasesSelection
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _tewMUPrnEeCQa9Xqo-1T3A
Runtime-Version: 1.5.0.qualifier
Save-Time: 6/15/14 5:01 PM
Tags: ImportExport, Clipboard
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. Select two different test cases and export them in clipboard;
2. Export them from a clipboard in a different Q7 Project;
3. Make sure that only first selected.
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
with [get-view "Test Explorer" | get-tree] {
select "Q7Project/TC1" "Q7Project2/TC2"
get-menu "Export..." | click
}
with [get-window Export] {
get-tree | select "RCP Testing Tool/Test Portable Format"
get-button "Next >" | click
}
get-window "Export" | get-button Finish | click
get-view "Test Explorer" | get-tree | select Q7Project3 | get-menu "Import/Test Portable Format" | click
get-window -from "Window.createShell()" | get-button Finish | click
get-view "Test Explorer" | get-tree | get-item Q7Project3 | get-property childCount | equals 8 | verify-true
with [get-view "Test Explorer" | get-tree] {verify-error{select "Q7Project3/TC2"}}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--