blob: df0cadb3f1ee9cdf9cdbcbfe20a7debe36f19bb4 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _4zI9AWpgEeCzId1Gnkds9A,_vp_JkIHtEeC8fpRZXBpN8g
Element-Name: GoIntoInQ7Explorer
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _LzVrkMlYEeCVO9X7TqWdlg
Q7-Runtime-Version: 1.5.0.201406131029
Save-Time: 6/13/14 7:04 PM
Tags: Q7Explorer
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 in Q7 Explorer
2. Select "Go Into" in context menu
3. Make sure that objects from project are displayed in Q7 Explorer
------=_.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 p1 | get-menu "Go Into" | click
with [get-view "Test Explorer"] {
with [get-tree] {
get-item context1 | get-property caption | equals context1 | verify-true
get-item group1 | get-property caption | equals group1 | verify-true
get-item scenario1 | get-property caption | equals scenario1 | verify-true
}
with [get-button "Up to Workspace"] {
get-property enablement | equals true | verify-true
get-property tooltip | equals "Up to Workspace" | verify-true
}
with [get-button "Back to Workspace"] {
get-property enablement | equals true | verify-true
get-property tooltip | equals "Back to Workspace" | verify-true
}
with [get-button Forward] {
get-property enablement | equals false | verify-true
get-property tooltip | equals Forward | verify-true
}
}
get-view "Test Explorer" | get-button "Up to Workspace" | click
with [get-view "Test Explorer"] {
with [get-button Up] {
get-property enablement | equals false | verify-true
get-property tooltip | equals Up | verify-true
}
with [get-button Forward] {
get-property enablement | equals false | verify-true
get-property tooltip | equals Forward | verify-true
}
with [get-tree] {
get-property itemCount | equals 3 | verify-true
get-item p1 | get-property caption | equals p1 | 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-item p2 | get-property caption | equals p2 | verify-true
get-item p3 | get-property caption | equals p3 | verify-true
}
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--