| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _ymiyse5IEeCU6db9MgIBkA,_ksxMcEMsEeGEmKn4hFNAmQ |
| Element-Name: LaunchingAnUnsavedTestCase |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: http://jira4.xored.com/browse/QS-1886 |
| Id: _4FwpUeH8EeGmmNL_Et_Etg |
| Q7-Runtime-Version: 1.5.0.201406131029 |
| Save-Time: 6/13/14 7:04 PM |
| Tags: Dialog, TestCase |
| 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. Open test case editor |
| 2. Make any changes |
| 3. Do not save |
| 4. Launch test case |
| |
| EXPECTED RESULT |
| |
| Q7 prompts for save before launching |
| ------=_.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 "MyProject/WorkspaceIsEmpty" | double-click |
| with [get-editor WorkspaceIsEmpty] { |
| with [get-section Script | get-text-viewer] { |
| type-text " " |
| key-type BackSpace |
| } |
| get-button Replay | click |
| } |
| with [get-window "Save Resource"] { |
| get-label "\'WorkspaceIsEmpty\' has been modified. Save changes?" |
| with [get-button Yes] { |
| get-property enablement | equals true | verify-true |
| get-property caption | equals "&Yes" | verify-true |
| } |
| with [get-button No] { |
| get-property enablement | equals true | verify-true |
| get-property caption | equals "&No" | verify-true |
| } |
| with [get-button Cancel] { |
| get-property enablement | equals true | verify-true |
| get-property caption | equals Cancel | verify-true |
| } |
| } |
| get-window "Save Resource" | get-button Cancel | click |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |