Clean up

When the test finished we should clean all mess in this case is opening browser

  • Update 'google.robot'
*** Settings ***
Library     Selenium2Library

*** Test cases ***
Search by keywords
    Open browser    http://www.google.com    chrome
    Input text    name=q    thailand
    Wait Until Element Is Visible    name=btnK
    Click Element    name=btnK
    Page Should Contain    ประเทศไทย
    Close browser
  • After test finish browser should be closed automatically

results matching ""

    No results matching ""