-
Notifications
You must be signed in to change notification settings - Fork 4
/
ADI-10_ReadTreeFromBackgroundShell.test
38 lines (33 loc) · 1.34 KB
/
ADI-10_ReadTreeFromBackgroundShell.test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _2jXpEHTyEeKQnp4qYEvDRA
Element-Name: ADI-10_ReadTreeFromBackgroundShell
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _c4hoINclEeaScIX8fKgtPQ
Runtime-Version: 2.5.0.201912100818
Save-Time: 12/19/19 11:57 AM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
On Windows, a window should be brought to foreground before taking a snapshot or performin a view manipulation.
This should happen even if the window is overllapped by another one.
This test
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
with [get-view "Q7 Quality Mockups"] {
get-tree | select "swt/shell/Overlapping Shell tools"
with [get-group "Overlapping Shell tools"] {
get-button "Create shell" | click // Creates a maximized window obstructing a tree
}
// click // Activates a window with the tree, is this is not done, this test will fail on Windows
with [get-group "Overlapping Shell tools"] {
get-tree | get-item -path "root2/child5" | get-property childCount | equals 1 | verify-true
get-tree | select "root2/child5/child6"
}
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--