/
Link Test.test
50 lines (48 loc) · 2.79 KB
/
Link Test.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
39
40
41
42
43
44
45
46
47
48
49
50
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _2jXpEHTyEeKQnp4qYEvDRA
Element-Name: Link Test
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _NKKVUJw7EeK6Fo_2xChiPA
Runtime-Version: 1.5.6.qualifier
Save-Time: 4/1/15 12:04 PM
Tags: swt
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
with [get-view "Q7 Quality Mockups" | get-tree] {
select "swt/link" | double-click
select "swt/link/Link"
}
with [get-view "Q7 Quality Mockups" | get-group Link
| get-link "The SWT component is designed to provide <a>efficient</a>, <a>portable</a> <a href=\"native\">access to the UI facilities of the OSs</a> on which it is implemented."] {
get-property className | equals "org.eclipse.swt.widgets.Link" | verify-true
get-property caption
| equals "The SWT component is designed to provide <a>efficient</a>, <a>portable</a> <a href=\"native\">access to the UI facilities of the OSs</a> on which it is implemented."
| verify-true
}
with [get-view "Q7 Quality Mockups" | get-group Link
| get-link "The SWT component is designed to provide <a>efficient</a>, <a>portable</a> <a href=\"native\">access to the UI facilities of the OSs</a> on which it is implemented."] {
click-link efficient
click-link portable
click-link native
}
get-view "Q7 Quality Mockups" | get-group Link | get-editbox
-after [get-link "The SWT component is designed to provide <a>efficient</a>, <a>portable</a> <a href=\"native\">access to the UI facilities of the OSs</a> on which it is implemented."]
| get-property text | equals native | verify-true
get-view "Q7 Quality Mockups" | get-group Link
| get-link "The SWT component is designed to provide <a>efficient</a>, <a>portable</a> <a href=\"native\">access to the UI facilities of the OSs</a> on which it is implemented."
| click-link portable
get-view "Q7 Quality Mockups" | get-group Link | get-editbox
-after [get-link "The SWT component is designed to provide <a>efficient</a>, <a>portable</a> <a href=\"native\">access to the UI facilities of the OSs</a> on which it is implemented."]
| get-property text | equals portable | verify-true
get-view "Q7 Quality Mockups" | get-group Link
| get-link "The SWT component is designed to provide <a>efficient</a>, <a>portable</a> <a href=\"native\">access to the UI facilities of the OSs</a> on which it is implemented."
| click-link efficient
get-view "Q7 Quality Mockups" | get-group Link | get-editbox
-after [get-link "The SWT component is designed to provide <a>efficient</a>, <a>portable</a> <a href=\"native\">access to the UI facilities of the OSs</a> on which it is implemented."]
| get-property text | equals efficient | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--