blob: fc5f158eba1c0a6fed2c131f26bc88413bae072f [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _ymiyse5IEeCU6db9MgIBkA,_EyiWsMomEeCVO9X7TqWdlg
Element-Name: ColumnRegExpTitleClickRecording
Element-Type: testcase
Element-Version: 3.0
External-Reference: http://jira4.xored.com/browse/QS-872
Id: __op1cKu2EeGxwqO33ZLSaw
Q7-Runtime-Version: 1.5.0.qualifier
Save-Time: 5/14/14 6:45 PM
Tags: Recording, Sorting
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. Clear error log
2. Add two enries
3. Set column title as regexp, sort entries by clicking on this column
4. Make sure entries are sorted
TEST RESULT
It is possible to sort entries ascending/descending by clicking on column with regexp title
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
clear-log-view
log string1
log string2
log string3
with [get-view "Error Log" | get-tree] {
get-item string3 | get-property index | equals 0 | verify-true
get-item string2 | get-property index | equals 1 | verify-true
get-item string1 | get-property index | equals 2 | verify-true
}
get-view "Error Log" | get-tree | click-column "Mes.*"
with [get-view "Error Log" | get-tree] {
get-item string1 | get-property index | equals 0 | verify-true
get-item string2 | get-property index | equals 1 | verify-true
get-item string3 | get-property index | equals 2 | verify-true
}
get-view "Error Log" | get-tree | click-column "Mes.*"
with [get-view "Error Log" | get-tree] {
get-item string3 | get-property index | equals 0 | verify-true
get-item string2 | get-property index | equals 1 | verify-true
get-item string1 | get-property index | equals 2 | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--