| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Contexts: _ymiyse5IEeCU6db9MgIBkA,_XltvoIKaEeC_2txVMvPWLQ,_ZQYygK2sEeCqBbDEJWufvQ |
| Element-Name: EnterTestDescriptionInControlPanel |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _F8k5sO_-EeCXWfaP50PILw |
| Runtime-Version: 2.4.3.201905141211 |
| Save-Time: 5/15/19 1:28 PM |
| 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; |
| 2. Set some text into Description panel; |
| 3. Stop recording and save test; |
| 4. Switch to Q7 mode and check that description has been saved into test editor. |
| ------=_.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 |
| get-editor "Test scenario" | get-button Record | click |
| try -command { |
| take-screenshot |
| with [get-window "Control Panel - Test scenario (TestQ7Prj) - selfQ7 [Recording]"] { |
| get-tab-folder | get-tab-item Description | click |
| get-text-viewer | set-text "test description" |
| get-button Stop | click |
| } |
| } -times 60 -delay 1000 |
| with [get-window "Control Panel - Test scenario (TestQ7Prj) - selfQ7"] { |
| get-button Save | click |
| get-button "Return to RCPTT" | click |
| } |
| get-editor "Test scenario" | get-section Description | click |
| get-editor "Test scenario" | get-section Description | get-editbox | get-property value | equals "test description" |
| | verify-true |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |