| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _ymiyse5IEeCU6db9MgIBkA,_IeEQkPSUEeCE1L2j6bYoFw |
| Element-Name: FilterSearchContextByDescription |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _HEP1gPVmEeCsI4NSS6tu2Q |
| Q7-Runtime-Version: 1.5.0.201406131029 |
| Save-Time: 6/13/14 7:04 PM |
| Tags: SearchReplace, Context, Description |
| 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. Enter "escr" in Filter Searh field; |
| 2. Make sure that all contexts are displayed; |
| 3. Type "description1"; |
| 4. Make sure that context with description1 description is displayed only. |
| |
| ------=_.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/DebugContext" | double-click -nowait |
| with [get-editor DebugContext | get-section Description] { |
| click -nowait |
| with [get-editbox] { |
| set-text description1 |
| key-type "M1+s" |
| } |
| } |
| get-view "Test Explorer" | get-tree | select "Q7Project/EclContext" | double-click -nowait |
| with [get-editor EclContext | get-section Description] { |
| click -nowait |
| with [get-editbox] { |
| set-text description2 |
| key-type "M1+s" |
| } |
| } |
| get-view "Test Explorer" | get-tree | select "Q7Project/GroupContext" | double-click -nowait |
| with [get-editor GroupContext | get-section Description] { |
| click -nowait |
| with [get-editbox] { |
| set-text description3 |
| key-type "M1+s" |
| } |
| } |
| get-view "Test Explorer" | get-tree | select "Q7Project/PreferenceContext" | double-click -nowait |
| with [get-editor PreferenceContext | get-section Description] { |
| click -nowait |
| with [get-editbox] { |
| set-text description4 |
| key-type "M1+s" |
| } |
| } |
| get-view "Test Explorer" | get-tree | select "Q7Project/WorkbenchContext" | double-click -nowait |
| with [get-editor WorkbenchContext | get-section Description] { |
| click -nowait |
| with [get-editbox] { |
| set-text description5 |
| key-type "M1+s" |
| } |
| } |
| get-view "Test Explorer" | get-tree | select "Q7Project/WorkspaceContext" | double-click -nowait |
| with [get-editor WorkspaceContext | get-section Description] { |
| click -nowait |
| with [get-editbox] { |
| set-text description6 |
| key-type "M1+s" |
| } |
| } |
| get-view "Test Explorer" | get-editbox | set-text escr |
| with [get-view "Test Explorer" | get-tree] { |
| get-property itemCount | equals 1 | verify-true |
| get-item Q7Project | get-property childCount | equals 6 | verify-true |
| get-item "Q7Project/DebugContext" | get-property caption | equals DebugContext | verify-true |
| get-item "Q7Project/EclContext" | get-property caption | equals EclContext | verify-true |
| get-item "Q7Project/GroupContext" | get-property caption | equals GroupContext | verify-true |
| get-item "Q7Project/PreferenceContext" | get-property caption | equals PreferenceContext | verify-true |
| get-item "Q7Project/WorkbenchContext" | get-property caption | equals WorkbenchContext | verify-true |
| get-item "Q7Project/WorkspaceContext" | get-property caption | equals WorkspaceContext | verify-true |
| } |
| get-view "Test Explorer" | get-editbox | set-text description1 |
| with [get-view "Test Explorer" | get-tree] { |
| get-property itemCount | equals 1 | verify-true |
| get-item Q7Project | get-property childCount | equals 1 | verify-true |
| get-item "Q7Project/DebugContext" | get-property caption | equals DebugContext | verify-true |
| } |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |