RobotFramework actual case

RobotFramework actual case

1. Create a project
Create project
2. Create a use case set
Click the project name, right-click, and click the New Site button
Create a use case
3. Create a test case
Click the use case set name, right-click, and click the New Test Case button
Test case
4. Import the package for UI automation in the test set
( 1) Click the button to add a package
Import
(2) Enter the registration to be imported
Sign up
(3) The interface shows a black mark that the package was successfully imported
daoru chng
5. Write test cases The
Write test cases
script content is as follows:

BaiDuTest
    open browser    https:www.baidu.com    Chrome
    Maximize Browser Window
    Sleep    1
    Input Text    kw    selenium
    Sleep    1
    Click Button    su
    Sleep    3
    Close Browser

6. Run the script
script
7. View the script running results
Result 1Insert picture description here
Outcome 2

Guess you like

Origin blog.csdn.net/qq_38484679/article/details/115349281