pip install robotframework pip install robotframework-seleniumlibrary robotframework *** Settings *** Library SeleniumLibrary *** Variables *** ${BROWSER} Chrome ${URL} https://example.com *** Test Cases *** Example Test Open Browser ${URL} ${BROWSER} Input Text id=username example@test.com Input Text id=password password123 Click Button css=button[type="submit"] Page Should Contain Welcome Close Browser robot ui_test.robot


上一篇:
下一篇:
切换中文