| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _vp_JkIHtEeC8fpRZXBpN8g,_EyiWsMomEeCVO9X7TqWdlg |
| Element-Name: ClosedProjectInQ7Explorer |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: http://jira4.xored.com/browse/QS-1098 |
| Id: _VRu8AMmBEeCVO9X7TqWdlg |
| Q7-Runtime-Version: 1.5.0.201406131029 |
| Save-Time: 6/13/14 7:04 PM |
| Tags: Q7Explorer, Project |
| 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. Select project and close this project |
| 2. Make sure that no error is not displayed in Problem view |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| with [get-view "Test Explorer" | get-tree] { |
| get-item p1 | get-property caption | equals p1 | verify-true |
| get-item p1 | get-property childCount | equals 4 | verify-true |
| } |
| get-view "Test Explorer" | get-tree | select p1 | get-menu "Close Project" | click |
| with [get-view "Test Explorer" | get-tree] { |
| get-property itemCount | equals 3 | verify-true |
| get-item p1 | get-property caption | equals p1 | verify-true |
| get-item p1 | get-property childCount | equals 0 | verify-true |
| } |
| get-view "Test Explorer" | get-tree | select p1 |
| |
| with [get-view "Test Explorer" | get-tree] { |
| select p3 | get-menu "Close Project" | click |
| select p1 | get-menu "Open Project" | click |
| } |
| with [get-view "Test Explorer" | get-tree] { |
| get-item p1 | get-property caption | equals p1 | verify-true |
| get-item p1 | get-property childCount | equals 4 | verify-true |
| get-item "p1/context1" | get-property caption | equals context1 | verify-true |
| get-item "p1/group1" | get-property caption | equals group1 | verify-true |
| get-item "p1/scenario1" | get-property caption | equals scenario1 | verify-true |
| } |
| get-view "Test Explorer" | get-tree | select p3 |
| get-view "Error Log" | get-tree |
| | get-item ".*" | get-property columns -index 0 | contains "Resource.* is not open" | verify-false |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |