blob: 3c1e7c492022df07553512d10704e41a5ff0e4fd [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _4zI9AWpgEeCzId1Gnkds9A,_2LwxoOmBEeC7a6yzjqCVag,_ZQYygK2sEeCqBbDEJWufvQ
Element-Name: RunTestsFromTagsView_TC1
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _tmYUYel6EeC7a6yzjqCVag
Runtime-Version: 1.5.0.201407290252
Save-Time: 7/30/14 4:00 PM
Tags: Runtime, selfAUT, Tags, TagsView
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 tag in the Tags view
2. Select "Replay" in the context menu
3. Make sure that test with this tag are run
4. Press on "Apply" button in Tags view
5. Make sure that tests are replayed
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
with [get-view Tags] {
click -nowait
get-tree | select "t3 \\(5\\)" | get-menu Replay | click
}
wait 100
with [get-view "Execution View"] {
get-label "3/3" | get-property caption | equals "3/3" | verify-true
with [get-tree] {
get-property itemCount | equals 3 | verify-true
get-item "test1.*" | get-property caption | equals "test1.*" | verify-true
get-item "test1.*" | get-property caption | equals "test1.*" | verify-true
get-item "test2.*" | get-property caption | equals "test2.*" | verify-true
}
}
with [get-view Tags] {
get-tree | select "t3 \\(5\\)/t31 \\(3\\)"
get-button Replay | click
}
wait 100
with [get-view "Execution View"] {
get-label "1/1" | get-property caption | equals "1/1" | verify-true
with [get-tree] {
get-item "test2.*" | get-property caption | equals "test2.*" | verify-true
get-property itemCount | equals 1 | verify-true
}
}
with [get-view Tags | get-tree] {
select "t1 \\(3\\)" "t2 \\(5\\)"
get-menu Replay | click
}
wait 100
with [get-view "Execution View"] {
get-label "4/4" | get-property caption | equals "4/4" | verify-true
with [get-tree] {
get-property itemCount | equals 4 | verify-true
get-item "test2.*" | get-property caption | equals "test2.*" | verify-true
get-item "test4.*" | get-property caption | equals "test4.*" | verify-true
get-item "test5.*" | get-property caption | equals "test5.*" | verify-true
get-item "test6.*" | get-property caption | equals "test6.*" | verify-true
}
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--