blob: bac3ec1649964ec80d5d45d2e1cafa4cd602701f [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _4zI9AWpgEeCzId1Gnkds9A,_9yaIUI3LEeCIpuRG91DDQQ
Element-Name: CreateProjectWithDuplicateName
Element-Type: testcase
Element-Version: 3.0
External-Reference: http://jira4.xored.com/browse/QS-1097
Id: _mt-RwMlzEeCVO9X7TqWdlg
Q7-Runtime-Version: 1.5.0.qualifier
Save-Time: 6/15/14 4:07 PM
Tags: Project, 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
--------------------------------------------------------------------------------
1. Open "New Project" window
2. Set duplicate name ("Q7Project")
3. Make sure that "Finish" button is disabled and
------=_.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 | get-menu "New/Other..." | click
with [get-window New] {
get-tree | select "RCP Testing Tool/RCP Testing Tool Project"
get-button "Next >" | click
}
get-window "New Project" | get-editbox -after [get-label "Project name:"] | set-text Q7Project
with [get-window "New Project"] {
get-editbox -after [get-label "RCP Testing Tool Project"] | get-property value
| equals "A project with that name already exists in the workspace." | verify-true
get-button Finish | get-property enablement | equals false | verify-true
get-button "Next >" | get-property enablement | equals false | verify-true
get-button Cancel | get-property enablement | equals true | verify-true
}
get-window "New Project" | get-button Cancel | click
with [get-view "Test Explorer" | get-tree] {
get-property itemCount | equals 1 | verify-true
get-item Q7Project | get-property caption | equals Q7Project | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--