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: test/acceptance/keywords/forms_and_buttons.txt
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -53,10 +53,10 @@ Click button created with <button> by tag content
53
53
54
54
Choose File
55
55
[Setup] Navigate To File Upload Form And Create Temp File To Upload
56
-
Choose File file_to_upload ${TEMPDIR}${/}temp.txt
56
+
Choose File file_to_upload ${CURDIR}${/}temp.txt
57
57
${dep_browser}= Set Variable If '${BROWSER}'.lower() == 'ff' or '${BROWSER}'.lower() == 'firefox' temp.txt C:\\fakepath\\temp.txt #Needs to be checked in Windows and OS X
58
58
Textfield Value Should Be name= file_to_upload ${dep_browser}
59
-
[Teardown] Remove File ${TEMPDIR}${/}temp.txt
59
+
[Teardown] Remove File ${CURDIR}${/}temp.txt
60
60
61
61
Click Image With Submit Type Images
62
62
[Setup] Go To Page "forms/form_with_image_submit.html"
@@ -73,4 +73,3 @@ Navigate To File Upload Form And Create Temp File To Upload
0 commit comments