Skip to content

Instantly share code, notes, and snippets.

@wingyplus
Created November 23, 2016 17:15
Show Gist options
  • Save wingyplus/b625f2488b3afa6f83b5833993f9c578 to your computer and use it in GitHub Desktop.
Save wingyplus/b625f2488b3afa6f83b5833993f9c578 to your computer and use it in GitHub Desktop.
TodoMVC with Robot Framework
*** Settings ***
Library Selenium2Library
*** Test Cases ***
เพิ่ม Todo เข้าไปใน List
[Setup] Open Browser http://todomvc.com/examples/polymer/index.html browser=gc
พิมพ์ Learn AngularJs
กด Enter
ผู้ใช้จะเห็น Learn AngularJs อยู่ใน List
[Teardown] Close Browser
*** Keywords ***
พิมพ์ Learn AngularJs
Wait Until Keyword Succeeds 10 1 Input Text id=new-todo Learn AngularJs
กด Enter
Press Key id=new-todo \\13
ผู้ใช้จะเห็น Learn AngularJs อยู่ใน List
Wait Until Element Contains css=#todo-list > li > div > label Learn AngularJs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment