Last active
July 23, 2018 07:39
-
-
Save nobiki/5b2db8cdeb56b20c42496e86491c1ce2 to your computer and use it in GitHub Desktop.
robotframework dictionary for vim (built-in, seleniumlibrary)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set dictionary=~/.vim/dict/robot-built-in.dict | |
set dictionary=~/.vim/dict/robot-selenium-library.dict | |
fun! CompleteSpace() | |
" Save cursor position | |
let l:save_cursor = getpos(".") | |
" Get word we just completed ('borrowed' from: http://stackoverflow.com/a/23541748/660921) | |
let l:word = matchstr(strpart(getline('.'), 0, col('.') - 1), '\k\+$') | |
" Replace _ with space | |
let l:new = substitute(l:word, "_", " ", "g") | |
" Run :s | |
exe "s/" . l:word . "/" . l:new . "/e" | |
" Restore cursor | |
call setpos(".", l:save_cursor) | |
endfun | |
au CompleteDone * call CompleteSpace() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Call_Method | |
Catenate | |
Comment | |
Continue_For_Loop | |
Continue_For_Loop_If | |
Convert_To_Binary | |
Convert_To_Boolean | |
Convert_To_Bytes | |
Convert_To_Hex | |
Convert_To_Integer | |
Convert_To_Number | |
Convert_To_Octal | |
Convert_To_String | |
Create_Dictionary | |
Create_List | |
Evaluate | |
Exit_For_Loop | |
Exit_For_Loop_If | |
Fail | |
Fatal_Error | |
Get_Count | |
Get_Length | |
Get_Library_Instance | |
Get_Time | |
Get_Variable_Value | |
Get_Variables | |
Import_Library | |
Import_Resource | |
Import_Variables | |
Keyword_Should_Exist | |
Length_Should_Be | |
Log | |
Log_Many | |
Log_To_Console | |
Log_Variables | |
No_Operation | |
Pass_Execution | |
Pass_Execution_If | |
Regexp_Escape | |
Reload_Library | |
Remove_Tags | |
Repeat_Keyword | |
Replace_Variables | |
Return_From_Keyword | |
Return_From_Keyword_If | |
Run_Keyword | |
Run_Keyword_And_Continue_On_Failure | |
Run_Keyword_And_Expect_Error | |
Run_Keyword_And_Ignore_Error | |
Run_Keyword_And_Return | |
Run_Keyword_And_Return_If | |
Run_Keyword_And_Return_Status | |
Run_Keyword_If | |
Run_Keyword_If_All_Critical_Tests_Passed | |
Run_Keyword_If_All_Tests_Passed | |
Run_Keyword_If_Any_Critical_Tests_Failed | |
Run_Keyword_If_Any_Tests_Failed | |
Run_Keyword_If_Test_Failed | |
Run_Keyword_If_Test_Passed | |
Run_Keyword_If_Timeout_Occurred | |
Run_Keyword_Unless | |
Run_Keywords | |
Set_Global_Variable | |
Set_Library_Search_Order | |
Set_Log_Level | |
Set_Suite_Documentation | |
Set_Suite_Metadata | |
Set_Suite_Variable | |
Set_Tags | |
Set_Test_Documentation | |
Set_Test_Message | |
Set_Test_Variable | |
Set_Variable | |
Set_Variable_If | |
Should_Be_Empty | |
Should_Be_Equal | |
Should_Be_Equal_As_Integers | |
Should_Be_Equal_As_Numbers | |
Should_Be_Equal_As_Strings | |
Should_Be_True | |
Should_Contain | |
Should_Contain_Any | |
Should_Contain_X_Times | |
Should_End_With | |
Should_Match | |
Should_Match_Regexp | |
Should_Not_Be_Empty | |
Should_Not_Be_Equal | |
Should_Not_Be_Equal_As_Integers | |
Should_Not_Be_Equal_As_Numbers | |
Should_Not_Be_Equal_As_Strings | |
Should_Not_Be_True | |
Should_Not_Contain | |
Should_Not_Contain_Any | |
Should_Not_End_With | |
Should_Not_Match | |
Should_Not_Match_Regexp | |
Should_Not_Start_With | |
Should_Start_With | |
Sleep | |
Variable_Should_Exist | |
Variable_Should_Not_Exist | |
Wait_Until_Keyword_Succeeds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add_Cookie | |
Add_Location_Strategy | |
Alert_Should_Be_Present | |
Alert_Should_Not_Be_Present | |
Assign_Id_To_Element | |
Capture_Page_Screenshot | |
Checkbox_Should_Be_Selected | |
Checkbox_Should_Not_Be_Selected | |
Choose_Cancel_On_Next_Confirmation | |
Choose_File | |
Choose_Ok_On_Next_Confirmation | |
Clear_Element_Text | |
Click_Button | |
Click_Element | |
Click_Element_At_Coordinates | |
Click_Image | |
Click_Link | |
Close_All_Browsers | |
Close_Browser | |
Close_Window | |
Confirm_Action | |
Create_Webdriver | |
Current_Frame_Contains | |
Current_Frame_Should_Contain | |
Current_Frame_Should_Not_Contain | |
Delete_All_Cookies | |
Delete_Cookie | |
Dismiss_Alert | |
Double_Click_Element | |
Drag_And_Drop | |
Drag_And_Drop_By_Offset | |
Element_Should_Be_Disabled | |
Element_Should_Be_Enabled | |
Element_Should_Be_Focused | |
Element_Should_Be_Visible | |
Element_Should_Contain | |
Element_Should_Not_Be_Visible | |
Element_Should_Not_Contain | |
Element_Text_Should_Be | |
Element_Text_Should_Not_Be | |
Execute_Async_Javascript | |
Execute_Javascript | |
Focus | |
Frame_Should_Contain | |
Get_Alert_Message | |
Get_All_Links | |
Get_Cookie | |
Get_Cookie_Value | |
Get_Cookies | |
Get_Element_Attribute | |
Get_Element_Count | |
Get_Element_Size | |
Get_Horizontal_Position | |
Get_List_Items | |
Get_Location | |
Get_Locations | |
Get_Matching_Xpath_Count | |
Get_Selected_List_Label | |
Get_Selected_List_Labels | |
Get_Selected_List_Value | |
Get_Selected_List_Values | |
Get_Selenium_Implicit_Wait | |
Get_Selenium_Speed | |
Get_Selenium_Timeout | |
Get_Source | |
Get_Table_Cell | |
Get_Text | |
Get_Title | |
Get_Value | |
Get_Vertical_Position | |
Get_WebElement | |
Get_WebElements | |
Get_Window_Handles | |
Get_Window_Identifiers | |
Get_Window_Names | |
Get_Window_Position | |
Get_Window_Size | |
Get_Window_Titles | |
Go_Back | |
Go_To | |
Handle_Alert | |
Input_Password | |
Input_Text | |
Input_Text_Into_Alert | |
Input_Text_Into_Prompt | |
List_Selection_Should_Be | |
List_Should_Have_No_Selections | |
List_Windows | |
Location_Should_Be | |
Location_Should_Contain | |
Locator_Should_Match_X_Times | |
Log_Location | |
Log_Source | |
Log_Title | |
Maximize_Browser_Window | |
Mouse_Down | |
Mouse_Down_On_Image | |
Mouse_Down_On_Link | |
Mouse_Out | |
Mouse_Over | |
Mouse_Up | |
Open_Browser | |
Open_Context_Menu | |
Page_Should_Contain | |
Page_Should_Contain_Button | |
Page_Should_Contain_Checkbox | |
Page_Should_Contain_Element | |
Page_Should_Contain_Image | |
Page_Should_Contain_Link | |
Page_Should_Contain_List | |
Page_Should_Contain_Radio_Button | |
Page_Should_Contain_Textfield | |
Page_Should_Not_Contain | |
Page_Should_Not_Contain_Button | |
Page_Should_Not_Contain_Checkbox | |
Page_Should_Not_Contain_Element | |
Page_Should_Not_Contain_Image | |
Page_Should_Not_Contain_Link | |
Page_Should_Not_Contain_List | |
Page_Should_Not_Contain_Radio_Button | |
Page_Should_Not_Contain_Textfield | |
Press_Key | |
Radio_Button_Should_Be_Set_To | |
Radio_Button_Should_Not_Be_Selected | |
Register_Keyword_To_Run_On_Failure | |
Reload_Page | |
Remove_Location_Strategy | |
Select_All_From_List | |
Select_Checkbox | |
Select_Frame | |
Select_From_List | |
Select_From_List_By_Index | |
Select_From_List_By_Label | |
Select_From_List_By_Value | |
Select_Radio_Button | |
Select_Window | |
Set_Browser_Implicit_Wait | |
Set_Focus_To_Element | |
Set_Screenshot_Directory | |
Set_Selenium_Implicit_Wait | |
Set_Selenium_Speed | |
Set_Selenium_Timeout | |
Set_Window_Position | |
Set_Window_Size | |
Simulate | |
Simulate_Event | |
Submit_Form | |
Switch_Browser | |
Table_Cell_Should_Contain | |
Table_Column_Should_Contain | |
Table_Footer_Should_Contain | |
Table_Header_Should_Contain | |
Table_Row_Should_Contain | |
Table_Should_Contain | |
Textarea_Should_Contain | |
Textarea_Value_Should_Be | |
Textfield_Should_Contain | |
Textfield_Value_Should_Be | |
Title_Should_Be | |
Unselect_All_From_List | |
Unselect_Checkbox | |
Unselect_Frame | |
Unselect_From_List | |
Unselect_From_List_By_Index | |
Unselect_From_List_By_Label | |
Unselect_From_List_By_Value | |
Wait_For_Condition | |
Wait_Until_Element_Contains | |
Wait_Until_Element_Does_Not_Contain | |
Wait_Until_Element_Is_Enabled | |
Wait_Until_Element_Is_Not_Visible | |
Wait_Until_Element_Is_Visible | |
Wait_Until_Page_Contains | |
Wait_Until_Page_Contains_Element | |
Wait_Until_Page_Does_Not_Contain | |
Wait_Until_Page_Does_Not_Contain_Element | |
Xpath_Should_Match_X_Times |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment