| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Contexts: _4zI9AWpgEeCzId1Gnkds9A,_bbpo0a2vEeCqpoE1MJ1fFQ,_2rRwEa6lEeCKALiC9hLN7A |
| Element-Name: ListFeatures |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _nZDtgIGUEeKRQ-O0Mh9igg |
| Runtime-Version: 2.4.3.201906070001 |
| Save-Time: 6/7/19 6:10 PM |
| Tags: selfAUT, q7commands |
| 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. Create q7-test with "list-features" command |
| 2. Run this q7-test |
| 3. Make sure that test is passed and feature list of AUT is saved in report |
| ------=_.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/test" | double-click |
| with [get-editor test] { |
| with [get-section Script | get-text-viewer] { |
| type-text "list-" |
| show-content-assist |
| type-text "features " |
| show-content-assist |
| type-text "| " |
| show-content-assist |
| type-text "foreach " |
| show-content-assist |
| type-text "{get id " |
| show-content-assist |
| type-text "| " |
| show-content-assist |
| type-text "log}" |
| key-type "M1+s" |
| } |
| get-button Replay | click |
| } |
| try -times 30 -delay 1000 -command{ |
| get-view "Execution View" | get-label "1/1" -after [get-label "Runs:"] |
| } |
| get-view "Execution View" | get-button "Details..." | click |
| get-window "Execution details" | get-editbox | get-property text | contains "list-features" | verify-true |
| get-window "Execution details" | get-editbox | get-property text | contains "org.eclipse.rcptt.tesla.ecl" | verify-true |
| get-window "Execution details" | get-button OK | click |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |