| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _ymiyse5IEeCU6db9MgIBkA,_1DeDkPVYEeCsI4NSS6tu2Q |
| Element-Name: CompareTestCasesByComparingProjects |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _Lb8SsPVfEeCsI4NSS6tu2Q |
| Q7-Runtime-Version: 1.5.0.201406131029 |
| Save-Time: 6/13/14 7:04 PM |
| Tags: Compare, 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. Have two projects with same-named test cases in each other; |
| 2. Select both projects Q7 explorer, right click them and click "Compare With -> Each other" command; |
| 3. Make sure that Test Comparison tree is represented for Test Cases; |
| 4. Make sure that all differences are displayed. |
| ------=_.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 "Q7Project2/TestCase3" | key-type F2 |
| with [get-window "Rename Resource"] { |
| get-editbox -after [get-label "New name:"] | set-text TestCase1 |
| get-button OK | click |
| } |
| with [get-view "Test Explorer" | get-tree] { |
| select Q7Project1 Q7Project2 |
| get-menu "Compare With/Each Other" | click |
| } |
| with [get-editor "Compare (\'Q7Project1\' - \'Q7Project2\')"] { |
| get-tree | select "TestCase1.test" | double-click -nowait |
| get-tree -after [get-label "Test Case Structure Compare"] | select "Test Case/Description" | double-click -nowait |
| } |
| with [get-editor "Compare (\'Q7Project1\' - \'Q7Project2\')"] { |
| get-editbox -after [get-label Q7Project2] | get-property value | equals description1 | verify-true |
| get-editbox -index 1 | get-property value | equals description3 | verify-true |
| } |
| get-editor "Compare (\'Q7Project1\' - \'Q7Project2\')" | get-tree -after [get-label "Test Case Structure Compare"] |
| | select "Test Case/Script" |
| with [get-editor "Compare (\'Q7Project1\' - \'Q7Project2\')"] { |
| get-editbox -after [get-label Q7Project2] | get-property value | equals script1 | verify-true |
| get-editbox -index 1 | get-property value | equals script3 | verify-true |
| } |
| get-editor "Compare (\'Q7Project1\' - \'Q7Project2\')" | get-tree -after [get-label "Test Case Structure Compare"] |
| | select "Test Case/Tags" |
| with [get-editor "Compare (\'Q7Project1\' - \'Q7Project2\')"] { |
| get-editbox -after [get-label Q7Project2] | get-property value | equals tag1 | verify-true |
| get-editbox -index 1 | get-property value | equals tag3 | verify-true |
| } |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |