DevOps
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

How to Create GitLab Labels Automatically with python-gitlab
· ☕ 2 min read
Using GitLab issues for project management is a very Dev-friendly thing. Entering issues, opening Merge Requests, creating milestones — these all advance dynamically during development. But creating a pile of Labels for every new project is a headache. This article is mainly about solving that problem. 1. GitLab Label Before

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 可能会报