| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _ymiyse5IEeCU6db9MgIBkA,_bbpo0a2vEeCqpoE1MJ1fFQ,_18rr8K25EeCZfrGRg7GXDg |
| Element-Name: DisplayingDetailsForFailedTest |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _UFtloVebEeGwW6ZL2iq1MA |
| Q7-Runtime-Version: 1.5.0.201406131029 |
| Save-Time: 6/13/14 7:10 PM |
| Tags: Runtime, selfAUT |
| 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. Run failed test |
| 2. After execution this test, press "Details..." button in Execution View |
| 3. Make sure that "Execution details" window contains two tabs |
| ------=_.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/simpleTest2" | get-menu "Run As/.* Test Cases" | click |
| with [get-view "Execution View"] { |
| get-tree | select "simpleTest2.*" |
| get-button "Details..." | click |
| } |
| with [get-window "Execution details"] { |
| with [get-tab-folder] { |
| get-property pages -index 0 | equals Screenshots | verify-true |
| get-property pages -index 1 | equals Description | verify-true |
| get-property tabCount | equals 2 | verify-true |
| } |
| get-label "Assertion of caption failed: expected:<test.txt2> but was:<test.txt>.*" | get-property caption |
| | equals "Assertion of caption failed: expected:<test.txt2> but was:<test.txt>.*" | verify-true |
| } |
| get-window "Execution details" | get-tab-folder | get-tab-item Description | click |
| get-window "Execution details" | get-editbox | get-property text | contains "Report:\n" | verify-true |
| get-window "Execution details" | get-button OK | click |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |