| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Contexts: _ymiyse5IEeCU6db9MgIBkA,_ZQYygK2sEeCqBbDEJWufvQ,_zyoccGk6EeOVJ9Fi6d7JYQ |
| Element-Name: Set AUT in Launch Configuration |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _k9D1gG3_EeOpKr7OsF8P0g |
| Runtime-Version: 1.5.0.qualifier |
| Save-Time: 6/15/14 10:19 PM |
| Tags: 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 |
| -------------------------------------------------------------------------------- |
| ------=_.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" | get-menu "Run As/1 Test Cases" | click |
| with [get-view Applications] { |
| click |
| get-tree | select "selfQ7.*" |
| get-button Stop | click |
| } |
| get-button Run | click -arrow |
| get-menu "Run Configurations..." | click |
| get-window "Run Configurations" | get-tree | select "RCPTT Test Suite/Test" |
| with [get-window "Run Configurations" | get-combo -after [get-label "AUT:"]] { |
| get-property "values[0]" | equals "" | verify-true |
| get-property "values[1]" | equals selfQ7 | verify-true |
| } |
| with [get-window "Run Configurations"] { |
| get-combo -after [get-label "AUT:"] | select selfQ7 |
| get-button Apply | click |
| get-button Run | click |
| } |
| with [get-view Applications] { |
| click |
| get-tree | select "selfQ7.*" |
| get-button Stop | click |
| } |
| get-button Run | click -arrow |
| get-menu "Run Configurations..." | click |
| with [get-window "Run Configurations"] { |
| get-tree | select "RCPTT Test Suite/Test" |
| get-combo -after [get-label "AUT:"] | select "" |
| get-button Apply | click |
| get-button Run | click |
| } |
| with [get-window "Select an Application Under Test"] { |
| get-tree | select "selfQ7.*" |
| get-button OK | click |
| } |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |