blob: c09d9d4a158cd59519001dff3656c4c9cbbd4645 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _ymiyse5IEeCU6db9MgIBkA,_n1a-kfriEeCQa9Xqo-1T3A
Element-Name: ImportFromFileAddMissingReferences
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _USqUUPsIEeCQa9Xqo-1T3A
Q7-Runtime-Version: 1.5.0.qualifier
Save-Time: 6/14/14 2:11 PM
Tags: ImportExport, File
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
--------------------------------------------------------------------------------
------=_.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/TC1" | get-menu "Export/Test Portable Format" | click
with [get-window "Export"] {
get-button "Export to File" | click
set-dialog-result File "platform:/resource/q.test"
get-button "Browse..." | click
get-button Finish | click
}
get-view "Test Explorer" | get-tree | select Q7Project3 | get-menu "Import/Test Portable Format" | click
with [get-window "Import"] {
get-button "Import from File" | click
get-editbox -after [get-label "Testcase name:"] | set-text q
set-dialog-result File "platform:/resource/q.test"
get-button "Browse..." -index 1 | click
get-button Finish | click
}
get-view "Test Explorer" | get-tree | select "Q7Project3/TC1" | double-click -nowait
with [get-editor TC1 | get-section Contexts] {
click -nowait
get-table | select "GroupContext \\(Q7Project3\\)" | double-click -nowait
}
get-tab-folder -index 1 | get-property activePage | equals GroupContext | verify-true
get-editor GroupContext | get-section Contexts | get-table | get-property itemCount | equals 5 | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--