RobotFramework actual case
1. Create a project
2. Create a use case set
Click the project name, right-click, and click the New Site button
3. Create a test case
Click the use case set name, right-click, and click the New Test Case button
4. Import the package for UI automation in the test set
( 1) Click the button to add a package
(2) Enter the registration to be imported
(3) The interface shows a black mark that the package was successfully imported
5. Write test cases The
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
7. View the script running results