当前位置:网站首页>[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
边栏推荐
- Operation before or after Teamcenter message registration
- Redis基础
- 较文心损失一点点性能提升很多
- leetcode每日一练:旋转数组
- Please tell me why some tables can find data by writing SQL, but they can't be found in the data map, and the table structure can't be found
- 毫无章法系列
- GFS分布式文件系统
- 「运维有小邓」用于云应用程序的单点登录解决方案
- This 17-year-old hacker genius cracked the first generation iPhone!
- Cartoon: interesting pirate problem (full version)
猜你喜欢
随机推荐
Oracle recovery tools -- Oracle database recovery tool
Webapp development - Google official tutorial
Mask wearing detection based on yolov3
排错-关于clion not found visual studio 的问题
ITK Example
漏洞复现----48、Airflow dag中的命令注入(CVE-2020-11978)
“12306” 的架构到底有多牛逼?
解决“双击pdf文件,弹出”请安装evernote程序
tkinter窗口预加载
解读:如何应对物联网目前面临的安全问题?
GFS distributed file system
Why is February 28 in the Gregorian calendar
Tkinter window preload
ICML 2022 | Meta propose une méthode robuste d'optimisation bayésienne Multi - objectifs pour faire face efficacement au bruit d'entrée
删除数组中的某几个元素
rsync
Action avant ou après l'enregistrement du message teamcenter
EPM related
Leetcode daily question: the first unique character in the string
Zabbix