@@ -31,6 +31,17 @@ Choose File With Grid
3131 Textfield Value Should Be file_to_upload C:\\fakepath\\temp2.txt
3232 [Teardown] Remove File ${CURDIR }${/ } temp2.txt
3333
34+ Choose File With Grid From Library Using SL choose_file method
35+ [Documentation]
36+ ... LOG 4:6 DEBUG GLOB: POST*/session/*/file*"file": "*
37+ [Tags] OnlyGrid
38+ [Setup] Go To Page "forms/file_upload_form.html"
39+ Touch ${CURDIR }${/ } temp42.txt
40+ Import Library ${CURDIR } /../../resources/testlibs/ChooseFileLib.py
41+ ChooseFileLib.my_choose_file file_to_upload ${CURDIR }${/ } temp42.txt
42+ Textfield Value Should Be file_to_upload C:\\fakepath\\temp42.txt
43+ [Teardown] Remove File ${CURDIR }${/ } temp42.txt
44+
3445Input Text Should Work Same Way When Not Using Grid
3546 [Documentation]
3647 ... LOG 2:5 DEBUG GLOB: POST*/session/*/clear {"*
@@ -51,32 +62,6 @@ Input Text Should Work Same Way When Using Grid
5162 Textfield Value Should Be file_to_upload C:\\fakepath\\temp3.txt
5263 [Teardown] Remove File ${CURDIR }${/ } temp3.txt
5364
54- Running Keyword Is Saved Correctly
55- ${keyword_method } = get_running_keyword
56- Should Be Equal get_running_keyword ${keyword_method }
57- ${keyword_method } = Get Running Keyword
58- Should Be Equal get_running_keyword ${keyword_method }
59- ${keyword_method } = Get Running Keyword By Decorator
60- Should Be Equal Get Running Keyword By Decorator ${keyword_method }
61- ${keyword_method } = get_running_keyword_by_decorator
62- Should Be Equal Get Running Keyword By Decorator ${keyword_method }
63-
64- Running Keyword Is Cleared Correctly
65- ${sl } = Get Library Instance SeleniumLibrary
66- Should Be Equal ${sl._running_keyword } ${None }
67- ${keyword_method } = Get Running Keyword
68- Should Be Equal get_running_keyword ${keyword_method }
69- ${sl } = Get Library Instance SeleniumLibrary
70- Should Be Equal ${sl._running_keyword } ${None }
71-
72- Running Keyword Is Cleared Correctly When Error
73- ${sl } = Get Library Instance SeleniumLibrary
74- Should Be Equal ${sl._running_keyword } ${None }
75- Run Keyword And Expect Error Page should have contained text 'Is not here' but did not.
76- ... Page Should Contain Is not here
77- ${sl } = Get Library Instance SeleniumLibrary
78- Should Be Equal ${sl._running_keyword } ${None }
79-
8065*** Keywords ***
8166Navigate To File Upload Form And Create Temp File To Upload
8267 Cannot Be Executed in IE
0 commit comments