| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _4zI9AWpgEeCzId1Gnkds9A,_bSzP0FE3EeGXgMWM5NtGXg |
| Element-Name: EditorCanBeOpenedBySingleClick(QS-1146) |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: http://jira4.xored.com/browse/QS-1146 |
| Id: _w-aMMLVGEeGHo51xlkPHGw |
| Q7-Runtime-Version: 1.5.0.201406131029 |
| Save-Time: 6/13/14 7:04 PM |
| Tags: Recording, skipExecution |
| 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. Set in "Preferences/General" the "Single click" check-box and save this change |
| 2. Click on the test case in Q7 Explorer |
| |
| EXPECTED RESULT |
| |
| Editor can be opened by single click |
| ------=_.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 |
| get-group "Open mode" | get-button "Single click" | click |
| get-button Apply | click |
| get-button OK | click |
| } |
| get-view "Test Explorer" | get-tree | get-item "MyProject" | expand |
| get-view "Test Explorer" | get-tree | select "MyProject" |
| get-view "Test Explorer" | get-tree | select "MyProject/BigTestCase" |
| get-view "Test Explorer" | get-tree | select "MyProject/P with F" |
| with [get-tab-folder -index 1] { |
| get-property pages -index 0 | equals BigTestCase | verify-true |
| get-property pages -index 1 | equals "P with F" | verify-true |
| get-property activePage | equals "P with F" | verify-true |
| get-property tabCount | equals 2 | verify-true |
| } |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |