Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

test was re-written

  • Loading branch information...
commit c77d58ca2e71463efa3e4ba9bfb7daabaa78922e 1 parent d78eeb2
@anastya anastya authored
View
51 Tests/Open New Perspective In New Window.test
@@ -1,51 +0,0 @@
---- Q7 testcase ---
-Format-Version: 1.0
-Q7-vendor: www.xored.com/q7
-Contexts: _hcIFcC1oEeKgx4EWM9YkNw
-Element-Name: Open New Perspective In New Window
-Element-Type: testcase
-Element-Version: 3.0
-External-Reference:
-Id: _yGDmwWCaEeKo8JIwYOQJmg
-Save-Time: 1/17/13 6:53 PM
-Tags: Platform/Workbench
-Testcase-Type: ecl
-
-------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
-Content-Type: text/plain
-Entry-Name: .description
-
-TEST STEPS:
-
-1. Open "Preferences\General\Perspectives"
-2. Set "In a new window" radio-button in "Open a new perspective" section
-3. Make sure that perspective is opened in new window
-------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
-------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
-Content-Type: text/ecl
-Entry-Name: .content
-
-get-preferences-menu | click
-with [get-window Preferences] {
- get-tree | select "General/Perspectives"
- get-group "Open a new perspective" | get-button "In a new window" | click
- get-button Apply | click
- get-button OK | click
-}
-get-button "Open Perspective" | click
-with [get-window "Open Perspective"] {
- get-table | select "Team Synchronizing"
- get-button OK | click
-}
-get-eclipse-window -index 1 | get-tab-folder | get-property activePage | equals Synchronize | verify-true
-get-tab-folder | get-property activePage | equals "Project Explorer" | verify-true
-get-eclipse-window -index 1 | close
-get-tab-folder | get-property activePage | equals "Project Explorer" | verify-true
-get-menu "Window/Show View/Other..." | click
-with [get-window "Show View"] {
- get-editbox | set-text bo
- get-tree | select "General/Bookmarks"
- get-button OK | click
-}
-get-tab-folder | get-property activePage | equals Bookmarks | verify-true
-------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--
View
54 Tests/Set Default Perspective In Preference.test
@@ -0,0 +1,54 @@
+--- Q7 testcase ---
+Format-Version: 1.0
+Q7-vendor: www.xored.com/q7
+Contexts: _hcIFcC1oEeKgx4EWM9YkNw
+Element-Name: Set Default Perspective In Preference
+Element-Type: testcase
+Element-Version: 3.0
+External-Reference:
+Id: _yGDmwWCaEeKo8JIwYOQJmg
+Save-Time: 1/18/13 1:18 PM
+Tags: Platform/Workbench
+Testcase-Type: ecl
+
+------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
+Content-Type: text/plain
+Entry-Name: .description
+
+TEST STEPS:
+
+1. Open "Preferences\General\Perspectives"
+2. Set "Team Synchronizing" in available perspectives as default
+3. Make sure that this perspective is default in Open Perspective dialog
+------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
+------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
+Content-Type: text/ecl
+Entry-Name: .content
+
+get-preferences-menu | click
+with [get-window Preferences] {
+ get-tree | select "General/Perspectives"
+ get-table | select "Team Synchronizing"
+ get-button "Make Default" | click
+}
+with [get-window Preferences | get-table] {
+ get-property itemCount | equals 3 | verify-true
+ get-item "Team Synchronizing \\(default\\)" | get-property caption | equals "Team Synchronizing (default)"
+ | verify-true
+}
+get-window Preferences | get-button OK | click
+get-button "Open Perspective" | click
+with [get-window "Open Perspective" | get-table] {
+ get-property itemCount | equals 3 | verify-true
+ get-item "Team Synchronizing \\(default\\)" | get-property caption | equals "Team Synchronizing (default)"
+ | verify-true
+}
+with [get-window "Open Perspective"] {
+ get-table | select "Team Synchronizing \\(default\\)"
+ get-button OK | click
+}
+with [get-tab-folder] {
+ get-property activePage | equals Synchronize | verify-true
+ get-property tabCount | equals 1 | verify-true
+}
+------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--
Please sign in to comment.
Something went wrong with that request. Please try again.