blob: 940888123fca1800f5e727bbb834eee3e1466e78 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _ymiyse5IEeCU6db9MgIBkA,_bD7OYe5zEeCWFp5-_cxtIw
Element-Name: SearchTextInTags
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _FuR_IO52EeCWFp5-_cxtIw
Q7-Runtime-Version: 1.5.0.qualifier
Save-Time: 5/14/14 6:45 PM
Tags: SearchReplace, Tags
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. Open Q7Search dialog;
2. Select "Tags";
3. Enter containing text, press "Search" button;
4. Make sure that all test cases containing this text in Tags have been found;
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-button Search | click -arrow
get-menu "1 Q7 Search" | click
with [get-window Search] {
get-group "Search in" | get-button Tags | click
get-combo -after [get-label "Containing text:"] | set-text key
get-button Search | click
}
get-view Search | get-button "Expand All" | click
with [get-view Search | get-tree] {
get-property itemCount | equals 2 | verify-true
get-item Q7Project1 | get-property childCount | equals 2 | verify-true
get-item "Q7Project1/TestCase1.test/1: tags_key" | get-property caption | equals "1: tags_key" | verify-true
get-item "Q7Project1/TestCase2.test/1: tags_key" | get-property caption | equals "1: tags_key" | verify-true
get-item Q7Project2 | get-property childCount | equals 1 | verify-true
get-item "Q7Project2/Folder" | get-property childCount | equals 2 | verify-true
get-item "Q7Project2/Folder/TestCase1.test" | get-property childCount | equals 1 | verify-true
get-item "Q7Project2/Folder/TestCase1.test/1: tags_key" | get-property caption | equals "1: tags_key" | verify-true
get-item "Q7Project2/Folder/TestCase2.test/1: tags_key" | get-property caption | equals "1: tags_key" | verify-true
get-item "Q7Project2/Folder/TestCase2.test" | get-property caption | equals "TestCase2.test" | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--