| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _UQDtMKPdEeCEMaDRGDaqpQ,_4zI9AWpgEeCzId1Gnkds9A |
| Element-Name: DeleteMiddleSubTag |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _t3snAKZUEeCCb4Kro3P2sQ |
| Q7-Runtime-Version: 1.5.0.201406131029 |
| Save-Time: 6/13/14 7:04 PM |
| Tags: Tags, Delete |
| 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 |
| -------------------------------------------------------------------------------- |
| |
| 1. Delete tag t32 |
| 2. Verify changes |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| // Verify preconditions |
| /* |
| get-view "Test Explorer" | get-tree | select "Q7Project/context" | double-click -nowait |
| with [get-editor context] { |
| get-editbox -after [get-label "Tags:"] | get-property rawValue | equals "t1,t2, t3/t31/t32/t33" | verify-true |
| close |
| } |
| get-view "Test Explorer" | get-tree | select "Q7Project/group" | double-click -nowait |
| with [get-editor group] { |
| get-editbox -after [get-label "Tags:"] | get-property rawValue | equals "t3/t31/t32, t1" | verify-true |
| close |
| } |
| get-view "Test Explorer" | get-tree | select "Q7Project/test1" | double-click -nowait |
| with [get-editor test1] { |
| get-editbox -after [get-label "Tags:"] | get-property rawValue | equals " t3 " | verify-true |
| close |
| } |
| get-view "Test Explorer" | get-tree | select "Q7Project/test2" | double-click -nowait |
| with [get-editor test2] { |
| get-editbox -after [get-label "Tags:"] | get-property rawValue | equals " t2, t3/t31/t32, t2" | verify-true |
| close |
| } |
| */ |
| // Delete tag t32 |
| get-view Tags | get-tree | select "t3 (4)/t31 (3)/t32 (3)" | get-menu Delete | click |
| get-window "Delete Tag" | get-button OK | click |
| |
| // Verify changes |
| get-view "Test Explorer" | get-tree | select "Q7Project/context" | double-click -nowait |
| with [get-editor context] { |
| // Before refactoring was "t1,t2, t3/t31/t32/t33" |
| get-editbox -after [get-label "Tags:"] | get-property rawValue | equals "t1,t2, t3/t31" | verify-true |
| close |
| } |
| get-view "Test Explorer" | get-tree | select "Q7Project/group" | double-click -nowait |
| with [get-editor group] { |
| // Before refactoring was "t3/t31/t32, t1" |
| get-editbox -after [get-label "Tags:"] | get-property rawValue | equals "t3/t31, t1" | verify-true |
| close |
| } |
| get-view "Test Explorer" | get-tree | select "Q7Project/test1" | double-click -nowait |
| with [get-editor test1] { |
| // Before refactoring was " t3 " |
| get-editbox -after [get-label "Tags:"] | get-property rawValue | equals " t3 " | verify-true |
| close |
| } |
| get-view "Test Explorer" | get-tree | select "Q7Project/test2" | double-click -nowait |
| with [get-editor test2] { |
| // Before refactoring was " t2, t3/t31/t32, t2" |
| get-editbox -after [get-label "Tags:"] | get-property rawValue | equals " t2, t3/t31, t2" | verify-true |
| close |
| } |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |