当前位置:网站首页>[TestLink] testlink1.9.18 solutions to common problems
[TestLink] testlink1.9.18 solutions to common problems
2022-07-05 17:52:00 【bulabula2022】
Preface
TestLink It can effectively manage the whole process of testing , Because testing follows the whole life cycle of software until the end , So using TestLink To manage the testing process .
TestLink You can talk to Redmine Of the project ,testllink Problems found during the execution of use cases can be recorded redmine in , So choose TestLink Can improve Redmine Project process management system .
Solutions to common problems
I'm building testlink1.9.18 Solutions to problems encountered in the process , Now let's share
Built by myself testlink Detailed service process :win10 System testlink1.9.18 Environmental operation steps .doc-Web Server document class resources -CSDN download
The following content mainly depends on modifying the file config.inc.php Solved , The file directory is in testlink Under the document .
1. Change the size of the imported test suite and test case file
A、 open config.inc.php, lookup $tlCfg->import_file_max_size_bytes, The following data ‘409600’ Change to the expected data value .
B、$tlCfg->import_max_row = '10000' Is the size limit of one line of the imported file .
2. Ban TestLink Safety warning output
A、 open config.inc.php, Get into LOGGING term ;
B、 take $tlCfg->config_check_warning_mode in 'FILE' Change it to ' SILENT';
3. Prohibit users from registering
open config.inc.php, find $tlCfg->user_self_signup , Will follow true Change it to false, The login interface is cancelled New User link .
4. When solving execution TestLink The test case set shows the problem of garbled code
A) Get into ..\Testlink\lib\execute, Edit the file execSetResults.php,
B) lookup :$str .= htmlentities($elem) . ‘/’;
Replace with : $str .= htmlentities($elem, ENT_QUOTES, 'UTF-8') . '/';
5. Solution results are being viewed TestLink The chart shows the problem of garbled code
A) Will download or from Windows Fonts extracted from SIMYOU.TTF copy to Testlink Medium Pchart Font directory for , Path is :
..\testlink\third_party\pchart\Fonts
notes : If the font is downloaded , You need to copy the font file to c:/windows/fonts Folder directory
B) modify config.inc.php: take
$tlCfg->charts_font_path = TL_ABS_PATH . “third_party/pchart/Fonts/tahoma.ttf”;
Reset the font in :
$tlCfg->charts_font_path = “c:/windows/fonts/SIMYOU.TTF“;
6.TestLink Time zone problem
TestLink The server time is different from Beijing time 8 In hours or so , It can be solved according to the following methods :
A) stay php.ini( stay C:\WINDOWS Under the table of contents ) Set in date.timezone The value of is PRC, Set the future as :date.timezone=PRC;
B) At the same time, uncomment this line of code , That is, remove the semicolon in front of it ;
C) restart Apache The server .
7.testlink apache The server sets the method of Internet access ( The server )
find apache The configuration file httpd.conf, Find the configuration :
Modify to allow remote access , The code is shown as follows :
<directory />
options followsymlinks
allowoverride none
order deny,allow
allow from all
</directory>
And then , open windows A firewall —— Advanced settings —— Inbound rules —— New rules —— choice “ port ”—— next step —— choice tcp、 Specific local port ( Fill in 80)—— next step —— next step —— name —— complete
边栏推荐
- Cartoon: how to multiply large integers? (next)
- MySQL之知识点(六)
- Count the running time of PHP program and set the maximum running time of PHP
- How to modify MySQL fields as self growing fields
- Daily exercise: a series of dates
- Independent development is a way out for programmers
- 2022年信息系统管理工程师考试大纲
- Cartoon: how to multiply large integers? (I) revised version
- 为什么阳历中平年二月是28天
- "Xiaodeng in operation and maintenance" is a single sign on solution for cloud applications
猜你喜欢
随机推荐
删除数组中的某几个元素
Tita 绩效宝:如何为年中考核做准备?
Flask solves the problem of CORS err
神经网络自我认知模型
力扣解法汇总729-我的日程安排表 I
CVPR 2022 best student paper: single image estimation object pose estimation in 3D space
数据访问 - EntityFramework集成
QT console printout
Ordinary programmers look at the code, and top programmers look at the trend
Check the WiFi password connected to your computer
Thesis reading_ Chinese NLP_ LTP
ICML 2022 | Meta提出魯棒的多目標貝葉斯優化方法,有效應對輸入噪聲
Compter le temps d'exécution du programme PHP et définir le temps d'exécution maximum de PHP
证券网上开户安全吗?证券融资利率一般是多少?
Leetcode daily question: merge two ordered arrays
Disorganized series
Anaconda中配置PyTorch环境——win10系统(小白包会)
提高应用程序性能的7个DevOps实践
Zabbix
ELK日志分析系统