| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _ymiyse5IEeCU6db9MgIBkA,_bbpo0a2vEeCqpoE1MJ1fFQ,_18rr8K25EeCZfrGRg7GXDg |
| Element-Name: RunTestsWhenStopOnFirstFailureSet_TC1 |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: http://jira4.xored.com/browse/QS-1685 |
| Id: _ZlO2ETBOEeGucNTOi0GihQ |
| 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. Press on "Stop on First Failure" button in execution view |
| 2. Run several tests with failed test |
| 3. Make sure that on the first failed test the running of tests is stopped |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| get-view "Execution View" | get-button "Stop on First Failure" | click |
| with [get-view "Test Explorer" | get-tree] { |
| select "q7project/simpleTest1" "q7project/simpleTest2" "q7project/simpleTest3" |
| get-menu "Run As/.* Test Cases" | click |
| } |
| try -times 60 -delay 500 -command { |
| with [get-view "Execution View"] { |
| get-label "2/3" | get-property caption | equals "2/3" | verify-true |
| } |
| } |
| with [get-view "Execution View"] { |
| get-label "2/3" | get-property caption | equals "2/3" | verify-true |
| get-label 1 | get-property caption | equals 1 | verify-true |
| get-label 1 -after [get-label "Stops:"] | get-property caption | equals 1 | verify-true |
| } |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |