blob: 20236cb8ecd786d5937fdfc61b1072e1bfc0497c [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _ymiyse5IEeCU6db9MgIBkA,_tlWZcGphEeCzId1Gnkds9A
Element-Name: CreateTestSuiteByFileMenu
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _fkrMQILdEeGVWel_bIqsJQ
Q7-Runtime-Version: 1.5.0.201406131029
Save-Time: 6/13/14 7:10 PM
Tags: TestSuite, Create
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. Select "File->New\Test Suite"
2. Make sure that "Test Suite name" field is empty and "Finish" button is disabled
3. Enter name of Test Suite
4. Press "Finish" button
5. Make sure that test suite is created and this test suite is empty
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-menu "File/New/Test Suite" | click
with [get-window "New Test Suite"] {
get-editbox -after [get-label "Location:"] | get-property text | equals "" | verify-true
get-editbox -after [get-label "Name:"] | get-property text | equals "" | verify-true
get-button Finish | get-property enablement | equals false | verify-true
get-button Cancel | get-property enablement | equals true | verify-true
}
with [get-window "New Test Suite"] {
get-button "Browse..." | click
with [get-window "Select Location"] {
get-tree | select TestQ7Prj
get-button OK | click
}
}
get-window "New Test Suite" | get-button Finish | get-property enablement | equals false | verify-true
with [get-window "New Test Suite"] {
get-editbox -after [get-label "Name:"] | set-text TestSuite
get-button Finish | click
}
with [get-tab-folder -index 1] {
get-property pages -index 0 | equals TestSuite | verify-true
get-property activePage | equals TestSuite | verify-true
get-property tabCount | equals 1 | verify-true
}
get-view "Test Explorer" | get-tree | get-item TestQ7Prj | get-property childCount | equals 2 | verify-true
get-editor TestSuite | close
get-view "Test Explorer" | click
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--