@@ -28,7 +28,7 @@ Get Window Bounds
28
28
29
29
Get Scene Bounds
30
30
[Tags] smoke
31
- ${SCENE } Get Nodes Scene \# blue
31
+ ${SCENE } Get Scene id= blue
32
32
${TARGET_X } Evaluate ${X_OFFSET } + ${L_DECORATION_WIDTH }
33
33
${TARGET_Y } Evaluate ${Y_OFFSET } + ${T_DECORATION_HEIGHT }
34
34
${TARGET_BOUNDS } Create Bounds ${TARGET_X } ${TARGET_Y } 600 600
@@ -37,7 +37,7 @@ Get Scene Bounds
37
37
38
38
Get Node Bounds (BLUE)
39
39
[Tags] smoke
40
- ${BLUE } Find \# blue
40
+ ${BLUE } Find id= blue
41
41
${NODE_BOUNDS } Get Bounds ${BLUE }
42
42
${TARGET_Y } Evaluate ${Y_OFFSET } + ${T_DECORATION_HEIGHT } + ${300 }
43
43
${TARGET_X } Evaluate ${X_OFFSET } + ${L_DECORATION_WIDTH }
@@ -46,7 +46,7 @@ Get Node Bounds (BLUE)
46
46
47
47
Get Node Bounds (PINK)
48
48
[Tags] smoke
49
- ${PINK } Find \# pink
49
+ ${PINK } Find id= pink
50
50
${NODE_BOUNDS } Get Bounds ${PINK }
51
51
${TARGET_X } Evaluate ${X_OFFSET } + ${L_DECORATION_WIDTH } + ${450 }
52
52
${TARGET_Y } Evaluate ${Y_OFFSET } + ${T_DECORATION_HEIGHT } + ${75 }
@@ -62,7 +62,7 @@ Get Point Bounds
62
62
63
63
Get Query Bounds
64
64
[Tags] smoke
65
- ${BOUNDS } Get Bounds \# blue
65
+ ${BOUNDS } Get Bounds id= blue
66
66
${TARGET_Y } Evaluate ${Y_OFFSET } + ${T_DECORATION_HEIGHT } + ${300 }
67
67
${TARGET_X } Evaluate ${X_OFFSET } + ${L_DECORATION_WIDTH }
68
68
${TARGET } Create Bounds ${TARGET_X } ${TARGET_Y } 600 300
@@ -79,8 +79,8 @@ Get Bounds Using XPath Query
79
79
Get Bounds Of Id That Does Not Exist
80
80
[Tags] smoke negative
81
81
Set Timeout ${1 }
82
- ${MSG } Run Keyword And Expect Error * Get Bounds \# idThatDoesNotExist
83
- Should Be Equal ${MSG } Given element "\# idThatDoesNotExist" was not found within given timeout of 1 SECONDS
82
+ ${MSG } Run Keyword And Expect Error * Get Bounds id= idThatDoesNotExist
83
+ Should Be Equal ${MSG } Given element "id= idThatDoesNotExist" was not found within given timeout of 1 SECONDS
84
84
Set Timeout ${5 }
85
85
86
86
*** Keywords ***
@@ -114,14 +114,14 @@ Set Decoration Values
114
114
Get Left Decoration Width
115
115
[Arguments] ${WINDOW }
116
116
${ROOT } Get Root Node Of ${WINDOW }
117
- ${SCENE } Get Nodes Scene ${ROOT }
117
+ ${SCENE } Get Scene ${ROOT }
118
118
${WIDTH } Call Object Method ${SCENE } getX
119
119
[Return] ${WIDTH }
120
120
121
121
Get Right Decoration Width
122
122
[Arguments] ${WINDOW }
123
123
${ROOT } Get Root Node Of ${WINDOW }
124
- ${SCENE } Get Nodes Scene ${ROOT }
124
+ ${SCENE } Get Scene ${ROOT }
125
125
${WINDOWWIDTH } Call Object Method ${WINDOW } getWidth
126
126
${SCENEX } Call Object Method ${SCENE } getX
127
127
${SCENEWIDTH } Call Object Method ${SCENE } getWidth
@@ -131,14 +131,14 @@ Get Right Decoration Width
131
131
Get Top Decoration Height
132
132
[Arguments] ${WINDOW }
133
133
${ROOT } Get Root Node Of ${WINDOW }
134
- ${SCENE } Get Nodes Scene ${ROOT }
134
+ ${SCENE } Get Scene ${ROOT }
135
135
${HEIGHT } Call Object Method ${SCENE } getY
136
136
[Return] ${HEIGHT }
137
137
138
138
Get Bottom Decoration Height
139
139
[Arguments] ${WINDOW }
140
140
${ROOT } Get Root Node Of ${WINDOW }
141
- ${SCENE } Get Nodes Scene ${ROOT }
141
+ ${SCENE } Get Scene ${ROOT }
142
142
${WINDOWHEIGHT } Call Object Method ${WINDOW } getHeight
143
143
${SCENEY } Call Object Method ${SCENE } getY
144
144
${SCENEHEIGHT } Call Object Method ${SCENE } getHeight
0 commit comments