RobotFramework
How to Package a Robot Framework Docker Image
· โ˜• 2 min read
To make it easier for CI to integrate UI automation tests, the Robot Framework runtime needs to be packaged as a Docker image. This post covers the configuration and scripts involved in the packaging process. 1. Packaging Directory Structure 1 2 3 4 5 6 tree . โ”œโ”€โ”€

Robot Framework Advanced (2)
· โ˜• 2 min read
Settings Table The settings table in Robot Framework mainly serves two purposes. For a detailed explanation, see here. Import test, resource, and variable files. Define metadata. In the Setting table: 1 2 3 4 5 Library ๅผ•ๅ…ฅๅบ“ Resource ๅผ•ๅ…ฅ่ต„ๆบๆ–‡ไปถ Variables ๅผ•ๅ…ฅๅ˜

Robot Framework Common Libraries
· โ˜• 4 min read
1. Standard Libraries The libraries that Robot Framework can import and use directly, found in the directory python\Lib\site-packages\robot\libraries. For details, see the documentation. Builtin, contains the keywords that are needed most often. It is imported automatically without an import, so it is always available. Dialogs, provides ways to pause test execution and to take input from the user.

Robot Framework Advanced (1)
· โ˜• 2 min read
pybot Command Run all test cases 1 pybot . Run a certain test suite 1 pybot testsuite.txt Run a test case in a certain test suite 1 pybot --test case_name testsuit.txt Output the test results to a fixed path 1 pybot --ouputdir your_ouput_dir testsuit.txt Run test cases that contain a

Jenkins Integrated Robot Framework Automated Testing
· โ˜• 2 min read
1. Installing a Headless Browser 1.1 Installing PhantomJS on CentOS Download and extract Visit Phantomjs, find the download link for Download phantomjs-2.1.1-linux-x86_64.tar.bz2, and copy it. Run the following commands on CentOS: 1 2 3 4 5 wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 # ๅฆ‚ๆžœๆฒกๆœ‰ๅฎ‰่ฃ… bzip2 ๅฏ่ƒฝไผšๆŠฅ