Click Image keywords - simulate a click on a picture;
The keyword receiving [Locator] parameter, locator may be positioned by id, src, alt the like;
================================================================
Open Browser http://www.baidu.com chrome
Click Image Locator
Sleep 10
Close Browser
Click Button Keywords: Analog click the button for the page;
Accepts a parameter [locator], locator parameter refers to the positioning of the elements of an interface;
================================================================
Example: Open the Baidu page, enter "robot framework", then click "Baidu it" button to search.
Open Browser http://www.baidu.com chrome
Input Text id=kw robot framework
Click Button id=su
Sleep 10
Close Browser
Click Link Keywords: Analog click a link;
Accepts a parameter [locator], locator parameter refers to the positioning of the elements of an interface;
==========================================================
Example: Click the Baidu home page map links;
Open Browser http://www.baidu.com chrome
Click Link http://map.baidu.com // click the link, link by positioning
Sleep 2
Close Browser
-------------------------------------------------------------------------------------------------------------------
Open Browser http://www.baidu.com chrome
Click Link name = tj_trmap // click the link to locate by name
Sleep 2
Close Browser