- Interface detailed
- Project, Suite pages
- Project structure: The display of all structure display and related reference files in the renovation project, and the tree-type result display. Optional execution for partial testcase
- References: Adding external reference packages, resources, variables, failed help
- Parameters: adding variables, arrays
- Data: When using TDD, you can add some test reference data here
- TestCase page
- Setup area: used primarily to formulate operations for this testcase execution phase
- Documentation: Description, can add testcase description, Context, parameter description, business, etc. No content restrictions
- Setup: Some settings that can be performed before the use case, data initialization, context data restore
- Teardown: Perform a partial operation after the end of the use case. Data destruction, context data restore
- Timeout: Timeout setting, maximum execution time for this use case. If this time is exceeded, the failure
- Template: Templates
- Tags: tags, can be used to set the priority of TestCase, marking use cases.
- Script area: Regions that write specific test cases
- Text Edit Page
- Script writing area: Used to write scripts directly. However, when scripting here, you need to pay attention to the processing of whitespace, we recommend using the script area on the test Case page to complete the script
- Run page
- Execute Settings Area: Set the configuration at execution time
- Pybot: Set this to execute script using Pybot/jybot/custom script
- Report: After the execution, click here to view the reports directly
- LOG: After execution, click to view log log file
- Autosave: When checked, all changes will be saved automatically before execution
- Pause On Failure: When checked, automatically stops when execution fails
- Show Message log: When checked, the message "System run Record" message is displayed automatically upon execution
- Arguments: Some parameters that can be formulated at execution time
- Only run tests with tags: when formulated, only the test case will be executed with the tag here. Can be formulated multiple, using "," separated
- Skip tests with Tags: after compounding, the test case is automatically skipped with the tag tag. Can be formulated multiple, using "," separated
- Script run record display area: Record information during execution
- System Operation record Display area: The related system record information during the sweep line
- Application test Scenario: Open Baidu Homepage
- New project: Open Ride, in the menu bar file, select "New Project". In the "Name" entry in the pop-up box, enter "Demo", "type" select "Directory", "Format" select "TXT", select "OK"
- New Suite: Right-click "Demo" in the left-hand column and select "New Suite". In the pop-up box, enter "Openbaidu" in the "Name" key and select "OK"
- Add Selenium2library to your suite: select "Openbaidu" in level two directory and add Selenium2library package to "Settings" in the configuration on the right
- New testcase: Right-click "Openbaidu", select "New Test case", enter Testbaidu.
- Add execute test Script: Enter in Testbaidu's foot.
- Save everything: Select "Save All" to save all scripts and content
- Run the script: Toggle the tab bar to "Run",
- View results: Click "Start" to run the script. Will pop up the browser, and automatically open the Baidu home page, the ride interface will show the implementation of TestCase
- After the completion of the above content, the entire scene of the automated test script has been written and executed.
Robot framework-Tools Introduction and simple use