Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    pip install robotframework-selenium2library

    test.txt:
    *** Settings ***
    Library           Selenium2Library

    *** Test Cases ***
    Google The Night Watch
        [Setup]    Open Browser    https://google.com
        Title Should Be    Google
        Input Text    q    nightwatch
        Click Button    Google Search
        Wait Until Page Contains    The Night Watch
        [Teardown]    Close All Browsers


    pybot test.txt
Still haven't found anything that beats Robotframework when it comes to test automation. It's not just for web testing, it has many ready made libraries and creating your own is really easy.

Check it out http://robotframework.org/



All of the web testing over here at SMART is done via Robot Framework. It's verbose and tricky to use sometimes, but it's entirely accessible to a number of people who are not developers and can be very productive in it.


This looks interesting thanks!.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: