blob: 054885428413da44b7a3cb69e581f6f710ed13b7 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _ymiyse5IEeCU6db9MgIBkA,_ZQYygK2sEeCqBbDEJWufvQ,_XltvoIKaEeC_2txVMvPWLQ
Element-Name: CloseControlPanel
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _nMf1QPL-EeCE19s6EOk3LA
Runtime-Version: 1.5.0.201407281253
Save-Time: 7/29/14 8:01 AM
Tags: selfAUT, ControlPanel
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. Start Recording to open Control Panel;
2. Click "X" button in the right upper corner;
3. Recording should be stopped, controlPanel should be closed and you should return to main Q7;
4. Start recording again. Add some ECL command, stop recording;
5. Press "X" button, make sure that "Save" dialog has appeared;
6. Press "Yes" in Save Dialog. controlPanel should be closed and you should return to main Q7.
------=_.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 "TestQ7Prj/Test scenario" | double-click -nowait
get-editor "Test scenario" | get-button Record | click
get-window "Control Panel.*" | close
get-editor "Test scenario" | get-section Script | get-editbox | get-property value | equals "" | verify-true
get-editor "Test scenario" | get-button Record | click
//wait 500
get-window "Control Panel.*" | get-button Stop | click
with [get-window "Control Panel - Test scenario (TestQ7Prj) - selfQ7"] {
get-editbox | type-text qqq
close
get-window "Save Test Case" | get-button Yes | click
}
get-editor "Test scenario" | get-section Script | get-editbox | get-property value | equals qqq | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--