You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: atest/acceptance/keywords/elements.robot
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ Get DOM Attribute
90
90
Should Be Equal ${id} some_id
91
91
# Test custom attribute
92
92
${existing_custom_attr}= Get DOM Attribute id:emptyDiv data-id
93
-
Should Be Equal ${existing_custom_attr} my_id
93
+
Should Be Equal ${existing_custom_attr} my_id
94
94
${doesnotexist_custom_attr}= Get DOM Attribute id:emptyDiv data-doesnotexist
95
95
Should Be Equal ${doesnotexist_custom_attr}${None}
96
96
# Get non existing DOM Attribute
@@ -156,7 +156,7 @@ Get Element Attribute And Element Attribute Value Should Be Should have same res
156
156
Element Attribute Value Should Be css=#second_div class ${attribute_value}
157
157
158
158
Get Element Attribute Value Should Be Should Be Succesfull with non-ascii characters
159
-
Element Attribute Value Should Be link=Link with Unicode äöüÄÖÜß href http://localhost:7000/html/index.html
159
+
Element Attribute Value Should Be link=Link with Unicode äöüÄÖÜß href ${FRONT_PAGE}index.html
160
160
161
161
Get Element Attribute Value Should Be Should Be Succesfull error and error messages
162
162
Run Keyword And Expect Error
@@ -169,8 +169,8 @@ Get Element Attribute Value Should Be Should Be Succesfull error and error messa
169
169
... Element with locator 'id=non_existing' not found.
170
170
... Element Attribute Value Should Be id=non_existing href http://non_existing.com
171
171
Run Keyword And Expect Error
172
-
... Element 'link=Target opens in new window' attribute should have value 'http://localhost:7000/html/indéx.html' (str) but its value was 'http://localhost:7000/html/index.html' (str).
173
-
... Element Attribute Value Should Be link=Target opens in new window href http://localhost:7000/html/indéx.html
172
+
... Element 'link=Target opens in new window' attribute should have value '${FRONT_PAGE}indéx.html' (str) but its value was '${FRONT_PAGE}index.html' (str).
173
+
... Element Attribute Value Should Be link=Target opens in new window href ${FRONT_PAGE}indéx.html
0 commit comments