blob: 500955c1289bc5831cf69bda429c82bbb05ae9d1 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _ymiyse5IEeCU6db9MgIBkA,_ZQYygK2sEeCqBbDEJWufvQ,_XltvoIKaEeC_2txVMvPWLQ
Element-Name: SwitchToAssertionMode
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _EgTa4e_8EeCXWfaP50PILw
Q7-Runtime-Version: 1.5.0.qualifier
Save-Time: 6/15/14 11:55 AM
Tags: selfAUT, ControlPanel, AssertionMode
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;
2. Press Alt+Shift+7;
3. Make sure that Assertion mode is switched on;
4. Press Esc button.
5. Make sure that Recording mode is switched on.
------=_.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
with [get-window "Control Panel - Test scenario (TestQ7Prj) - selfQ7 [Recording]"] {
get-button "Switch to Recording Mode" | get-property selected | equals true | verify-true
get-button "Switch to Assertion Mode" | get-property selected | equals false | verify-true
}
with [get-window "Control Panel - Test scenario (TestQ7Prj) - selfQ7 [Recording]"] {
get-button "Switch to Recording Mode" | click
get-button "Switch to Assertion Mode" | click
}
with [get-window "Control Panel - Test scenario (TestQ7Prj) - selfQ7 [Asserting]"] {
get-button "Switch to Assertion Mode" | get-property selected | equals true | verify-true
get-button "Switch to Recording Mode" | get-property selected | equals false | verify-true
}
get-window "Control Panel - Test scenario (TestQ7Prj) - selfQ7 [Asserting]" | get-button Record | click
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--