blob: 60e051c8d6d8a80d4263f95971f048a9cfa9f65a [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _ymiyse5IEeCU6db9MgIBkA,_tlWZcGphEeCzId1Gnkds9A
Element-Name: CreateTestSuiteViaContextMenu
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _R0ydMENVEeGEmKn4hFNAmQ
Q7-Runtime-Version: 1.5.0.201406131029
Save-Time: 6/13/14 7:04 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 q7 project and choose "New\Test Suite" from context menu
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-view "Test Explorer" | get-tree | select TestQ7Prj | get-menu "New/Test Suite" | click
with [get-window "New Test Suite"] {
get-editbox -after [get-label "Location:"] | get-property text | equals "/TestQ7Prj" | verify-true
get-editbox -after [get-label "Test Suite"] | get-property text | equals "Name cannot be empty" | verify-true
get-button Finish | get-property caption | equals "&Finish" | verify-true
}
with [get-window "New Test Suite"] {
get-editbox -after [get-label "Name:"] | set-text testSuite
get-button Finish | click
}
with [get-view "Test Explorer" | get-tree] {
get-item TestQ7Prj | get-property caption | equals TestQ7Prj | verify-true
get-item TestQ7Prj | get-property childCount | equals 2 | verify-true
get-item "TestQ7Prj/testSuite" | get-property caption | equals testSuite | verify-true
get-item "TestQ7Prj/testSuite" | get-property childCount | equals 0 | verify-true
}
with [get-tab-folder -index 1] {
get-property activePage | equals testSuite | verify-true
get-property tabCount | equals 1 | verify-true
}
with [get-editor testSuite] {
get-editbox -after [get-label "Name:"] | get-property text | equals testSuite | verify-true
get-section "Test Cases" | get-table | get-property itemCount | equals 0 | verify-true
}
get-editor testSuite | get-section Description | click
get-editor testSuite | get-section Description | get-editbox | get-property text | equals "" | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--