测试用例管理之 TestLink

合集下载

Testlink测试用例导入模板

Testlink测试用例导入模板

Testlink测试用例导入模板垃圾回收(Garbage Collection,GC)是一种自动管理内存的机制,它负责在程序运行时自动识别和释放不再使用的内存资源,以便重新利用这些资源。

垃圾回收机制是现代编程语言中的一个重要特性,它可以显著减少程序员对内存管理的负担,提高程序的可靠性和安全性。

垃圾回收的原理是基于内存中存储的对象是否还有活跃的引用。

当一个对象没有任何引用指向它时,就被认为是垃圾,可以被垃圾回收机制回收。

垃圾回收机制通过周期性地扫描内存,找出不再使用的对象并进行回收。

在回收内存时,垃圾回收机制会先标记所有的活跃对象,然后将未标记的对象进行回收。

这种方式称为标记-清除算法。

垃圾回收机制的工作过程可以分为以下几个阶段:1.标记:垃圾回收机制会从根对象(如全局变量、活跃线程等)开始,递归地遍历所有的对象,标记出所有活跃的对象。

2.清除:在标记阶段完成后,垃圾回收机制会遍历整个内存空间,将未标记的对象进行回收,释放它们占用的内存资源。

3.压缩:在清除阶段完成后,垃圾回收机制可能会将内存中的对象进行压缩,以便更好地利用内存空间。

垃圾回收机制有以下几个优点:1.自动管理内存:程序员不需要手动分配和释放内存,减少了内存泄漏和野指针等问题的发生。

2.提高程序可靠性:垃圾回收机制可以避免因为内存相关错误导致程序崩溃或产生不可预测的行为。

3. 提使用Testlink进行测试用例导入时,可以使用以下模板来规范测试用例的编写。

该模板包括了测试用例的基本信息、测试步骤和预期结果等内容,以确保测试用例的准确性和可读性。

测试用例模板:1.用例编号:每个测试用例都应该有一个唯一的编号,以便于标识和管理。

2.用例名称:给测试用例起一个简洁明确的名称,以便于理解和查找。

3.测试目的:明确测试用例的目的,即要验证的功能或需求。

4.前置条件:指明执行该测试用例前需要满足的条件或环境。

5.测试步骤:详细描述执行该测试用例的步骤,包括输入数据、操作步骤等。

Testlink操作详解

Testlink操作详解

感谢下载
21
感谢下载
22
打印测试计划
打印测试计划,选择测试计划并勾选上测试用例场景,如下图,再点击下面的 “寻宝活动”即可可以显示打印预览。
感谢下载
23
测试计划打印结果(预览),如下图
感谢下载
24
打印执行结果:选择“测试报告”并勾选上测试用例场景、测试用例作者、关键字等
感谢下载
25
点击“寻宝活动”即为HTML 文档的打印预览,如下图
感谢下载
26
常规测试计划度量,显示测试计划的执行进度相关的信息,如下图
感谢下载
27
查询度量页面,如下图
感谢下载
28
如下图,测试报告列表显示每个测试用例的执行结果的报告列表
感谢下载
29
如下图,是执行失败的测试用例列表
感谢下载
30
如下图,是执行阻塞的测试用例列表
给测试人员,邮件将告之测试人员测试感谢用下例载 的列表
15
执行测试
现在使用tester 账号来登录
感谢下载
16
点击“执行测试”,如下图,为测试用例的执行页面,执行通过在选择“通过”并 保存执行结果即可
感谢下载
17
如下图,执行成功的测试用例页面。在图中可以看到“BUG 管理”那项,如果你 的Mantis 和TestLink 没有整合成功的话,这项是不会出来的
• 由于没有任何测试项目,TestLink 首次登录时总是打开创建新项目这 个页面,因此,只有创建好测试项目才能看到TestLink 的真正面目。
• 在页面中创建好一个测试项目,填写好名称、项目描述、测试用例ID
感谢下载
6
接上一步后点击创建按钮即可创建一个测试项目了

TestLink 基本介绍

TestLink 基本介绍
TestLink提供了两种状态来管理需求:合法的(Valid)、不可测试的(not testable)。如下图所示:
2.4 测试用例管理
TestLink 支持的测试用例的管理包含三层:分别为组件、分类、测试用例。
2.4.1 创建组件
点击主页上的“编辑测试用例”菜单,编写测试用例。在左侧可以看到建好的产品名称,而右侧则是操作说明文字,点击左 侧的产品名称,则右侧变换为具体操作页面,如下图所示:
及发布 · Admin: 一切权力,包括用户管理
2.2 初始设置
2.2.1 设置用户
2.2 初始设置
2.2.1 创建产品 TestLink 可以对多项目进行管理,只有admin 可以设置项目。Admin 进行项目设置后, 测试人员就可以进行测试需求、测试用例、测试计划等相关管理工作了。
2.3 测试需求管理
3.3 创建测试计划
第3步:在打开的窗口中填 写所有必要的信息,如名 称、说明、从现有的测试 计划创建等,并点击“创 建”。
3.3 创建测试计划
第4步:成功创建Gru 99测试计划。
3.4 创建构建
Build是一个特定的软件版本。 第1步:从主页的测试计划下点击“构建/发布”。
3.4 创建构建
• 3.7 将测试用例分配给测试计划 • 3.8在TestLink中创建用户和分配角色 • 3.9 执行测试用例 • 3.10 生成测试报告 • 3.11 导出测试用例/测试集 • 3.12 导入测试用例/测试集
3.1 登陆 TestLink
第1步:打开TestLink主页。 ① 输入用户名 admin; ② 输入密码; ③ 点击“登录”按钮。
TestLink 是sourceforge 的开放源代码项目之一,是基于PHP开发的、WEB方式的测 试管理系统,其功能可以分为两部分——管理和计划执行。

TestLink介绍与使用

TestLink介绍与使用

8.执行测试\报告Bug
8.1 执行测试 在测试计划中选中要执行测试的计划项, 然后点击导航条中的执行测试用例或选择测试 执行模块中的执行测试菜单进入执行测试界面, 在执行测试界面左侧测试用例树中选择要测试 的测试用例。 这里测试结果有以下四种情况:
通过:该测试用例通过; 失败:该测试用Байду номын сангаас没有执行成功,这个时候可 能就要向bugzilla提交bug了; 锁定:由于其它用例失败,导致此用例无法执 行,被阻塞; 尚未执行:如果某个该测试用例没有执行,则 在最后的度量中标记为“尚未执行”; 具体的如下图:
5.1 新建测试用例集 点击主页的测试用例管理菜单,在左侧选 中要新建测试用例集的产品,右侧提示具体的 操作,如图:
点击该页面右侧的“新用例集”按钮,弹 出新建用例集的窗口,如下图所示:
5.2 创建测试用例 点击主页的测试用例管理菜单,在左侧选 中要一个测试用例集,右侧提示具体的操作, 如图:
4.2 测试计划版本管理 点击主页“测试计划管理”模块下的“测 试计划版本管理”菜单,创建一个新的测试计 划版本。
4.3 指派用户角色 点击主页“测试计划管理”模块下的“指 派用户角色”菜单,为测试计划指派用户,如 下图:
在为测试计划分配用户角色页面,可以修 改测试计划,修改好测试计划后,点击更换按 钮,则可以更换测试计划。 选择好测试计划后,可以将该测试计划以 不同的角色分配给不同的用户,通过角色列表, 可以选择用户对该测试计划的操作角色。 选择好后,点击更新按钮,可以保存结果。
Senior Tester:允许编辑测试规范、关键词、需 求以及测试执行和创建发布 ; Leader:允许编辑测试规范、关键词、需求、 测试执行、测试计划(包括优先级、里程碑和 分配计划)以及发布 ; Admin:一切权力,包括用户管理 ;

TestLink测试用例管理软件简易安装说明

TestLink测试用例管理软件简易安装说明

TestLink 测试用例管理软件简易安装说明安装服务器组件1、运行 apache_php_mysql.exe 自动执行 apache 、 php 、 mysql 的安装。

(使用默认安装目录2、打开管理工具 -服务,确认 apache2与 mysql 服务已经启动。

安装 TestLink 软件 1、解压缩 TestLink 压缩包, 复制压缩包文件夹至第一步安装文件夹目录下的 web 文件夹内,并更名解压缩的文件夹名为 TestLink. 2、 2、解决界面中文乱码:编辑 TestLink 目录下 config.inc.php 文件, 找到 define('TL_TPL_CHARSET', DB_SUPPORTS_UTF8 ? 'UTF-8' :'ISO-8859-1' ;//define('TL_TPL_CHARSET', 'gb2312' ; // Chinese charset替换为 ://define('TL_TPL_CHARSET',DB_SUPPORTS_UTF8 ? 'UTF-8' :'ISO-8859-1' ; define ('TL_TPL_CHARSET', 'gb2312' ; // Chinese charset此时在页面配置选择简体中文,则可以正确显示中文字体了。

3、解决中文输出不正常:找到 lib/functions/logging.inc.php, 找到do_mysql_query函数,在 $nQuery++;下面加上,下面一行:mysql_query("SET NAMES 'latin1'"; 4、解决测试用例时间出现乱码:编辑:config.inc.php ,找到$g_locales_date_format这变量,把其对应的 'zh_CN' => "%Y? ê%m?? %dè? " 串乱码修改为 "%年 %m月 %d日 ".5、根据第 2条作出更改后,需要修改 testlink/install/installnewdb.php找到$sql_create = "CREATE DATABASE `" . mysql_escape_string($db . "` CHARACTER SET utf8 ";把它修改为 $sql_create = "CREATE DATABASE `" . mysql_escape_string ($db . "` CHARACTER SET latin1 ";。

推荐一款开源的测试用例管理工具Testlink用户手册

推荐一款开源的测试用例管理工具Testlink用户手册

User Manual TestLink 1.6Copyright © 2004,2005 TestLink Development TeamPermission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. The license is available in "GNU Free Documentation License" homepage.1. General informationTestLink is web based Test Management system. This manual should serve as source for users to understand processes and organization of testing with TestLink. See to Installation manual for more information about system requirements, installation steps and configuration. The latest documentation is available on or .See an example of TestLink workflow:1.Administrator create a product “Fast Foo” and a user Adam with rights“leader” and Bela with rights “Senior tester”.2.Adam imports Software Requirements and for part of these requirementsgenerates empty Test cases.3.Bela describe test sneario of these Test cases that are organizedaccording to Components and Categories.4.Adam creates Keyword: “Regression” and assignes this keyword to tenof these test cases.5.Adam creates a Test Plan “Fish & Chips”, Build “Fish 0.1” and addTest Cases with keywords “Regression”.6.Adam and Bela execute and record the testing with result: 5 passed, 1failed and 4 are blocked.7.Developers make a new build “Fish 0.2” and Bela tests the failed andblocked test cases only. Exceptionaly all these five Test cases passed.8.Manager would like to see results. Administrator explain him that he cancreate account himself on the login page. Manager do it. He has “Guest”rights and could see results and Test cases. He can see that everything passed in overal report ;-) and problems in build “Fish 0.1” in a report for particular Build. But he can change nothing.2. Overall structureThere are three cornerstones: Product, Test Plan and User. All other data are relations or attributes for this base. First, definition of a couple of terms that are used throughout the documentation.2.1 Products and Test PlansProduct: A product is something that will exist forever in TestLink. Products will undergo many different versions throughout their life times. Product includes Test Specification with Test Cases and should be sorted via Keywords.Test Plan: Test Plans are created when you'd like to execute test cases. Test plans can be made up of the test cases of one or many products. Test Plan includes Builds, Test Case Suite and Test Results.2.2 Test Case CategorizationTestLink breaks down the test case structure into three levels components, categories, and test cases. These levels are persisted throughout the application.Component: Components are the parents of categories. Each component can have many categories.Category: Categories are the parents of test cases. Each category can have many test cases.Test Case: Test cases are the fundamental piece of TestLink.Test Specification: All components, categories and test cases within Product. Test Case Suite: All components, categories and test cases within Test Plan.2.3 UsersAn User has a Role, that defines available TestLink features. See more in chapter User Administration.The next picture shows common activity according to user roles:Illustration 1: Functionality overview3. Test Specification3.1 Creating Test CasesTester must follow this structure: component, category and test case. At first you create component(s) for your product. You can fill description which can be printed then. Component includes categories. Category has the similar meaning but is second level of Test Specification and includes just Test Cases.User can also copy or move Test Cases.Test Cases has next parts:∙Title: could include either short description or abbreviation (e.g.TL-USER-LOGIN)∙Summary: should be really short; just for overview.∙Steps: describe test scenario (input actions); can also include precondition and cleanup information here.∙Expected results: describe checkpoints and expected behaviour a tested product or system.3.2 Deleting Test CasesTest cases, categories, and components may be deleted from a test plan by users with lead permissions from the "delete test cases" screen. Deleting data may be useful when first creating a test plan since there are no results. However, Deleting test cases will cause the loss of all results associated with them. Therefore, extreme caution is recommended when using this functionality.3.3 Requirements relationTest cases could be related with software/system requirements as n to n. The functionality must be enabled for a product. User can assign Test Cases and Requirements via link Assign Requirements in the main screen.4. Keywords4.1 Using keywordsKeywords were created to give users another level of depth when categorizing test cases. Keywords serve as a collection of Test cases with some attribute within a Test specification. You can use it to define e.g.∙Regression or Sanity set∙Reviewed Test cases∙Set of test cases valid for one platform4.2 Keyword CreationAt this time keywords can only be created by users with the mgt_modify_key rights. These rights are currently held only by Leaders. Once a keyword or grouping of keywords have been created users may assign them to test cases.4.3 Assigning KeywordsKeywords may be assigned to test cases either from the assign keyword screen (in batch) or via the test case management (individually).4.4 Filter by KeywordUsers have the ability to filter by Keywords for:∙Search Test Cases in Test Specification.∙Add groups of Test cases in a Test case Suite (Test plan).∙Execute test screen.5. Requirement based testing5.1 IntroductionTo proof that a system is build as specified, testers use requirement based testing. For every requirement, they design one or more test cases. At the end of the test execution a test manager reports on the tests that are executed and the requirements that are covered. Based on this information the client and the various stakeholders decide whether a system can be transferred to the next test phase or can go live. To ensure that a system is build as specified, test managers use a combination of risk and requiremetn-based testing to ensure that a system is build as specified from the customer and stakeholders perspective. As a result, this complete testing delivers the following advantages:∙Linking risks and requirements will reveal vague or missing requirements.This is especially interesting for risks with a high priority.∙Testing can be focused on the most important parts of an information system first: covering the risks with the highest priority.∙Communicating in the same language as the client and the stakeholders.This makes it easier to report on the status of the test project. Beside that a better founded decision can be made whether to invest more in testing or take the risk.∙The risks and their priority make negotiating on the test project in times of pressure easier. What risks have to be covered within this test project and which ones can be postponed. Risk and requirement-based testing results in a better controlled test project. The communication with the client and the stakeholders improved. The test manager begins testing with risks with the highest priority. The process is streamlined and the end result is higher quality.5.2 AvailabilityThe functionality is available on product level. I.e. Administrator should enable it for a specified product (Edit Product link in Main window). Otherwise links are not shown.There are two user levels for this feature. The most of roles can view requirement but not modify. Refer to User section for more.5.3 Requirements SpecificationRequirements are bunched to one or more System/Software/User Requirement Specifications.Illustration 2: Dependencies between requirement related objectsCreate a document with Requirements:1.Click Requirements Specification in Main window. The List of RequirementSpecification window is shown.2.Press Create button to create a document.3.Adjust Title, Scope and eventually Count of Test cases. The lastparameter is used for statistics. Use only if you have a valid Requirement document but not all requirements are available at the moment in TestLink.Default value 'n/a' means that the current count of requirements in a specification is used.4.Press Create button to add data to database. You can see the title ofyour new created document in the table of List of Requirement Specification window.5.Click the title of document for next work. The Requirement Specificationwindow is shown.Each Requirement Specification has own statistics and report related to included data.All Specification could be printed via Print button in the Requirement Specification window. Administrator can define company, copyright and confident text via configuration files.5.4 RequirementsEach requirement has Title, Scope (html format) and Status. Title must not be unique and has max. 100 characters. Scope paramter is text in HTML format. Status can have vale VALID or NOT_TESTABLE. A NOT_TESTABLE requirements are not counted to metrics.Requirements could be created/modified or deleted manually via TestLink interface or imported as CSV file.5.4.1 Import requirementsTestLink support two types of CSV. The first 'simple' is composed from title and scope in each row. The second 'Export from Doors' try to detect header and chooses correct fields. Import compare titles and allow to solve conflicts. There are three ways: update, create requirements with same title and skip adding the conflicted ones).5.4.2 Requirements to Test Case relationTest cases are related with software/system requirements as * to *. I.e. you can assign more Test cases to one Requirement and more requirements could be covered by one Test Case. User can assign Requirements to Test Cases via the Assign Requirements link in the Main window.A coverage of Test Specification could be view via pressing the button Analyse in the Requirement Specification window.5.4.3 Requirement based ReportNavigate to Reports and Metrics menu. There is Requirements based Report link. Requirements in currect Requirement Specification and Test Plan are analysed for this report. All the latest result of test cases (available in Test Plan) are proceeded for each requirement. The result with the highest priority is applied for the requirement. Priority from the highest are: Failed, Blocked, Not Run and Passed.Example of requirement coverageA requirement is covered by three Test Cases. Two of them are includedin the current Test Suite. One passed and one was not tested for the Build1. Now Requirement has overall result: Not Run. Second test case was tested with Build 2 and passed. So Requirement passed too.6. Products6.1 OverviewProducts are the cornerstone of TestLink. Products are releases of your company that may change their features and functionality over time but for the most part remain the same.6.2 Creating new productsCreate a new product is admin right. You cannot create products with the same name. You can assign a color of backgroung to product for a better lucidity.Things to note when creating a new product:∙Deleting Products themselves is not recommended from the system, because the deletion of products would either orphan lots of test plan cases or lead to their deletion.∙Test Plans represent the testing of a product at a certain point of time.What this means is that All Test Plans are created from Product test cases.∙TestLink has the ability to import your data into a product. Data is read in CSVs form and is explained further in the import section.7. Test Plans7.1 Creating a new Test PlanTest plans are the basis for test case execution. Test plans are made up of test cases imported from products at a specific point of time. Test plans can only be created by leads. Test plans may be created from other test plans. This allows users to create test plans from test cases that at a desired point in time. This may be necessary when creating a test plan for a patch. In order for a user to see a test plan they must have the propper rights. Rights may be assigned (by leads) in the define User/Project Rights section. This is an important thing to remember when users tell you they can't see the project they are working on7.2 BuildsBuilds are a specific release of software. Each project in a company is most likely made up of many different builds. In TestLink execution is made up of both builds and test cases. If there are no builds created for a project the execution screen will not allow you to execute. The metrics screen will also be completely blank. Builds currently cannot be edited or deleted.7.3 Deleting TestPlansTest plans may be deleted from the main page by users with lead permissions. Deleting test plans permanently erases the test plan and all of its corresponding data (test cases, results, etc). The deleting of data is a scary prospect and should be reserved to extreme cases. TestLink also allows users to deactivate test plans so that they no longer appear as a menu option.8. Test Case Suite8.1 Adding new Test CasesTest Case Suite is set of test cases which are defined to be run within Test Plan. Test case Suite is created via Add Test Cases from Test Specification to Test Plan. Test cases are added including Steps and Expected result. So, you must use 'Update modified Test Cases' page to update test scenario (version of test case).Data from multiple products can be added into one test plan. Test Specification data can be filtered by keywords (adjusted in navigation pane).Once data has been imported into a test plan it will be marked with checkmark. If a test case has already been imported it will be ignored if it is imported again.8.2 Removing Test Cases from Test Case SuiteTest cases, categories, and components may be deleted from a test plan by users with Leader permissions from the "Remove test cases" page. Deleting data may be useful when first creating a test plan since there are no results. However, Deleting test cases will cause the loss of all results associated with them. Therefore, extreme caution is recommended when using this functionality.8.3 PriorityTestLink gives users with Leader rights the ability to assign ownership and priority to test cases. General Risk/Ownership is done at the category level. TestLink currently does not allow users to assign risk or ownership at the individual test case level.Risk levels are low, medium, high and Importance levels are 3, 2, 1. Users can rank the combinations of risk and importance (L1, L2, L3, M1, H2, M3, H1, H2, H3) as priority A,B,C.Assigning risk, importance, ownership, and priority are all optional and will default to priority B in the metrics screen.8.4 OwnershipOwnership affects both the execution and metrics screens. In the execution screen users have the ability to sort the executable test cases by the ones they have ownership of. In the main metrics screen there is a table that shows the remaining test cases by ownership. If there are no test case owners it defaults to none.A Tester can also see a metrics of own executed tests in main page if these metrics are enabled (see Installation manual).9. Test Execution9.1 GeneralTest execution is available when:1. A Test Specification is written.2. A Test Plan is created.3.Test Case Suite (for the Test Plan) is defined.4. A Build is created.5.The Test plan is assigned to testers (otherwise they cannot navigate tothis Test Plan).Select a required Test Plan in main page and navigate to the 'Execute tests' link. Left pane serves for navigation in Test Case Suite via tree menu, filtering and define a tested build.9.2 NavigationThe navigation pane consists from a 'Filter & Settings' box and a tree menu with Test Case Suite.9.2.1 Filtering Test CasesThis table allows the user to filter test cases for smart navigation before they are executed.∙Owner: Users can filter test cases by their owner. Ownership is determined at the category level, is determined by leads, and can be changed at the Assign Risk and Ownership page under metrics.∙Keyword: Users can filter test cases by keyword. Keywords are set either using the Create/Edit/Delete Test Cases or by the Assign Keywords To Multiple Cases. Keywords can only be created, edited, or deleted by leads but may be assigned to test cases by testers.∙Result: Users can filter test cases by results. Results are what happened to that test case during a particular build. Test cases can pass, fail, be blocked, or not be run.9.2.2 Define a tested buildUsers can filter test cases by builds. Builds are the basic component for how test cases are tracked. Each test case may be run once and only once per build. Builds can be created by leads using the Create New Build page.9.2.3 Tree menuThe tree menu in navigation pane includes Test Case Suite colored by results.Menu colored: By default the tree will be sorted by the results for the defined build that is chosen from the dropdown box.Example TC colored according to the buildUser selects build 2 from the dropdown box and doesn't check the "most current" check box. All test cases will be shown with their status from build 2. So, if test case 1 passed in build 2 it will be colored green.Second possibility Last result is that menu is colored according to the latest test result.Example TC colored according to the latest resultUser selects build 2 from the dropdown box and this time checks the "most current" check box. All test cases will be shown with most current status.So, if test case 1 passed in build 3, even though the user has also selected build 2, it will be colored green.9.3 Execution9.3.1 Test StatusExecution is the process of assigning a result (pass, fail, blocked) to a test case for a specific build. 'Blocked' test case is not possible to test for some reason (e.g. a problem in configuration disallows to run a tested functionality).9.3.2 Insert Test resultsTest Results screen is shown via click on an appropriate component, category or test case in navigation pane. The title shows the current build and owner. The colored bar indicate status of the test case. Yellow box includes test scenario of the test case.The indication that the test case was updated or deleted in test Specification is not supported in 1.5 version.Updated Test Case: Users will see the American flag if the original version of the test case (on the management side) has been updated. If users have the proper rights they can go to the update/delete test case page either through clicking on the test case number next to the flag or through the link on main page. It is not necessary for users to update test cases if there has been a change. They simply have the option of doing so if they wish.Deleted Test Case: Users will see the "x" symbol if the original version of the test case (on the management side) has been deleted. If users have the proper rights they can go to the update/delete test case page either through clicking on the test case number next to the "x" or through the link on main page.10. Test Reports and MetricsThe metrics pages sum up the results of execution into reports. Metrics are broken down by both individual builds and across all builds.10.1 General Test Plan MetricsThis page shows you only the most current status of a test plan. For instance, you have test case 1 which was executed in builds 1,2, and 3. Build 1 2 3 Status Pass Fail Blocked Since the most recent result of the test case is blocked the result on the "Across All Builds" page would be blocked. If a user would go and change the status of build 3 to something else or not run the current result would be fail.(in TL 1.0.4: View Project Status Across All Builds)10.2 Metrics of active BuildThis report shows the detailed results for a particular build defined in navigation pane.(in TL 1.0.4: View Status by an Individual Build)10.3 The Overall Build StatusView The Overall Build Status This report show a high level view of each build's result.10.4 Query MetricsQuery results for specific test cases based on keyword, component, owner, last result, and 1 or more builds. For example if you wanted to know if a test case has failed, passed, blocked, or has not been run in builds 2, 3, and 4 you would want to use this query functionality. Additionally you could determine if test cases assigned to a tester have been executed in a set of builds. This is important because test passes may occur over multiple builds, and multiple test passes may occur during the development cycle. This is especially handy at the end of a development cycle when you want to know if certain cases have been run over the past few builds of the product. This functionality differs from other reports which display results on a specific build, or all builds.Export to MS Excel is also available.10.5 Test ReportView Status By Individual Test Cases This report shows each test case's result for every build. An user can navigate to Test Execution screen via link for each test Status.Export to MS Excel is also available.10.6 Blocked/Failed Test CasesThese reports show all of the currently blocked or failing test cases. 10.7 Total Bugs For Each Test CaseThis report shows each test case with all of the bugs filed against it for the entire project. This metrics are available only if Bug Tracking System is connected.10.8 E-mail Test reportEmail Test Plan Info This page allows users to email the results of the entire test Plan or for a particular build. It also allows users to email the status of a component11. User Administration11.1 Account settingsEvery user on the system will also be able to edit their own information via the Account settings window (link Personal in menu bar).TestLink allows users with administrator rights to create, edit, and delete users within the system. However, TestLink does not allow administrators to view or edit user's passwords. If users forget their passwords there is link on the login screen, that will mail the user their password based upon their user name and the email address they entered.11.2 Role PermissionsTestLink is built with 6 different default permission levels built in. Changing of these rights is handled by the user administration link which is accessible by admins. These permission levels are as follows:∙Guest: A guest only has permission to view test cases and project metrics.∙Test Executor: A tester outside of the company that only has permissions to run tests allotted to them. (initially in 1.0.4 - otester)∙Test Designer: A user can fully work with Test Specification and Requirements.∙Test Analyst: A tester can view,create, edit, and delete test cases as well as execute them. Testers lack the permissions to manage test plans, manage products, create milestones, or assign rights. (initially tester, senior tester)∙Test Leader: A lead has all of the same permissions as a Tester but also gains the ability to manage test plans, assign rights, create milestones, and manage keywords∙Admininstrator: An admin has all of the same permissions as a lead but gains the ability to manage productsNote: Test plan related features needs also assign a Test Plan to be available. See Test Plan Assignment.11.2.1 User RolesThere are predefined user roles. Adminstrator gives appropriate ability to modify data within TestLink. Each user has assigned just one of these roles. If you view the table you will see rows for each of the permissions levels (guest ,tester, senior tester, leader, admin). The column next to the row holds all of the different rights levels which will be defined below. These levels have been determined as standard for the use but they are free to be edited or define a new roles (for experienced administrator). The user table contains a foreign key that points to the appropriate permission level in the rights table. RoleList of Rights Ability Guest mgt_view_tc, mgt_view_key, tp_metrics Browse data only.Test Executor tp_execute,tp_metricsExecute test only. Test Analyst tp_execute,tp_metrics, tp_create_build, mgt_view_tc,mgt_modify_tc, mgt_view_key, mgt_view_req Edit test Specification and execute tests.Test Designer tp_metrics, mgt_view_tc, mgt_modify_tc, mgt_view_key, mgt_modify_req, mgt_view_req Edit Test Specification and Requirements.Test Leader tp_execute, tp_create_build,tp_metrics, tp_planning, tp_assign_rights, mgt_view_tc, mgt_modify_tc, mgt_view_key, mgt_modify_key, mgt_view_req, mgt_modify_reqAll Test Plan right, edit test Specification and execute tests. Administrator tp_execute, tp_create_build, tp_metrics, tp_planning, tp_assign_rights, mgt_view_tc, mgt_modify_tc, mgt_view_key, mgt_modify_key, mgt_view_req, mgt_modify_req, mgt_modify_product, mgt_users Everything possible. Only this role can maintain products and users. Table 1: Role description11.2.2 Rights DefinitionsNext tables list keywords used for definition of role abilities.RightDescription mgt_view_tc Viewing Test Specification (data of component, category, and testcase)mgt_modify_tc Edit Test Specification (create,modify,delete,order, move, and copycomponents, categories, and test cases)mgt_view_keyViewing keywordsRight Descriptionmgt_modify_key Modifying keywordsmgt_modify_product Create,edit and delete productsmgt_view_req View requirementsmgt_modify_req Create,edit, associate and delete requirements Table 2: Product related RightsRight Descriptiontp_execute Ability to execute test cases (insert test results) tp_create_build Ability to create buildstp_metrics Viewing metricstp_planning create, edit, delete Test Plans, assign risk/ownership, milestones, edit Tes Case Suitetp_assign_rights Assigning the rights to view projectsTable 3: Test Plan related Rights11.3 Test Plan AssignmentUsers can see only assigned Test Plans. In order to gain test plan permissions a user with lead or admin status must give them rights through the “Define user/project rights” link under “Test Plan Management”.All users in the system will by default not have permissions to view newly created test plans (except for the test plan creator who can give themselves permissions at creation). Zero test plan permissions means that users will not see any Test Plans in the Test Plan dropdown box on main screen.There is a table with Test Plan rights (i.e. which users can see which Test plan). This table is made up of a combined user id and project id. The main page contains code which checks to see if the logged in user has the appropriate permissions (and then shows the allowed projects. It is not recommended that this be hacked with.。

testlink用法

testlink用法

testlink用法
testlink是一款开源的测试管理工具,可以帮助团队管理测试用例、执行测试以及生成测试报告。

它提供了一个完整的测试生命周期管理系统,包括用例设计、执行、跟踪和报告等功能。

使用testlink 可以提高测试效率,降低测试成本,保证产品质量。

使用testlink,首先需要创建测试计划和测试用例。

测试计划包括测试的范围、测试环境、测试人员等信息,测试用例包括测试步骤、预期结果等信息。

创建好测试计划和测试用例后,可以进行执行测试。

测试执行时,可以记录测试结果,包括测试通过、失败、阻塞等情况,并可以添加备注。

测试执行完成后,可以生成测试报告,报告包括测试结果、测试覆盖率、缺陷统计等信息。

testlink还支持多种语言、多个项目的管理,并提供了权限管理、邮件通知等功能,方便团队协作。

同时,testlink支持与其他测试工具的集成,如Selenium、Jira等,提高测试效率。

总之,testlink是一款功能强大的测试管理工具,可以帮助团队管理测试流程,提高测试效率,保证产品质量。

- 1 -。

Testlink详细使用介绍

Testlink详细使用介绍

三、TestLink主要功能介绍 分配测试任务
• 分配测试任务的方法有两种: 1、给计划添加用例的时候将用例直接分配给某人,如上一页提到的; 2、首页-测试用例集-指派执行测试用例 分派好后对应的测试人员在测试执行下面就能看到分派给自己的任务了
三、TestLink主要功能介绍
执行测试/提bug
测试执行的方法如下: 第1步:选择要执行的版本
TestLink使用介绍
Jessie详细版
培训内容
一、前言
二、TestLink角色介绍
三、TestLink主要功能介绍
四、TestConvert使用介绍
一、前言
Testlink用于测试过程中的管理,通过使用Testlink提供的功能,可以将测试设计 和测试执行完整的管理起来,同时它还提供了多种测试结果的统计和分析,使测试 人员能够简单的开始测试工作和分析测试结果,同时使管理者对项目的测试进展和 项目质量更加了解,提高对项目的可见度。同时,该平台也可以作为开发自测的平 台。
excel的表名导入后为一级标题,tab页签名字为2级模块名称,故建议一个模块写一个tab 页签。假如excel表格名称为“设置”tab1为:音频设置,tab2为:视频设置,tab3为:音 视频设置,用例导入后一级模块为设置,一级模块下面有三个二级模块为:音频设置,视 频设置和音视频设置。
四、TestConvert介绍
TestConLeabharlann ert使用方法1、打开TestConvert工具文件夹 2、运行exe程序,出现如下窗口,选择红色框里面的,然后选择要转换的文件即会生成一 个和excel同名的xml文件
四、TestConvert介绍
注意事项: 1、excel的模板不能随便改动,如增加或者删减表格项; 2、excel的importance字段值越大代表越重要,值的范围为1-3, 1为低优先级,2为中, 3为高优先级; 3、 excel的表名导入后为一级标题,页签名为二级标题,目前只支持2级模块的导入,如果 有三级四级需要先导入后再手动拆分; 4、用例上传只支持xml文件最大为400K,一般是满足了的,如果发现excel文件过大 需先清除excel的无效数据,具体解决办法找度娘。 5、如果最后的tab页签没内容注意删除。

testlink测试管理工具的使用

testlink测试管理工具的使用

精心整理2019年-9月...点击测试项目,右侧页面内容中会有“new test suite”的按钮,点击可以创建test suite(测试集——可以理解成测试项目的一个功能模块)。

Test suite 创建完成以后,刷新用例树(左侧页面内容,update tree),可以看到用例树中已经出现了我们刚才创建的测试集。

点击测试集,右侧页面内容中会出现“create test case(s)”的按钮,点击可以创建新的测试用例。

测试用例创建完毕以后,刷新用例树,则会看到用例树中test suite 的下一级中出现了我们刚刚创建的testcase。

注:用例是可以指定版本的——因为随着需求的变化,或者其他某些因素,用例是要不断变化的,需要用版本号来区别这种变化。

PS:选择不同的level,右侧页面中会出现不尽相同的各种按钮——每个按钮对应的操作与其字面意思是相对应的,例如a) 用例树中我们选择的是一个 test project,右侧页面中会出现如下按钮:New test suite ——创建测试集Reorder children ——对该测试项目的子项(test suite)进行重新排序Import test suite ——导入测试集Export all test suites ——导出所有的测试集b) 用例树中我们选择的是一个 test suite,右侧页面中会出现如下按钮:...2019年-9月...Export ——导出用例5. 为需求指派用例:主页左边的列表栏,”Requirements”的子菜单中有“Assign Requirements”的选项。

选择以后,会进入”specification”类似的界面。

左侧用例树中选择某个测试用例,右边页面内容会出现需求列表。

前面我们已经说过,测试用例是与需求的某一个Req 相对应的。

在合适的Req 前面的复选框中打勾,然后点击下面的”Assign”按钮,就完成需求的指派了。

TestLink使用说明书(整理)

TestLink使用说明书(整理)

TestLink使用说明书版本<v0.1>目录1.系统介绍 (3)1.1系统整体结构 (3)1.2基本属于介绍 (4)2.登录 (5)3.用户管理 (6)3.1设置用户 (6)3.2角色和权限 (7)3.3给测试项目指派角色 (10)3.4给测试计划指派角色 (11)4.测试项目管理 (11)4.1新建一个测试项目 (11)4.2编辑/删除测试项目 (12)5.自定义字段管理 (13)6.测试需求管理 (15)6.1创建测试需求规格 (15)6.2创建测试需求 (15)7.测试用例管理 (16)8.测试计划制定 (17)9.测试执行 (18)10.指派给tester的用例 (19)11.测试结果分析 (20)12.其它易用性功能 (23)13.总结 (23)前言TestLink用于进行测试过程中的管理,通过使用TestLink提供的功能,可以将测试过程从测试需求、测试设计、到测试执行完整的管理起来,同时,它还提供了好多种测试结果的统计和分析,使我们能够简单的开始测试工作和分析测试结果。

TestLink 是开放源代码项目之一。

作为基于web的测试管理系统,TestLink的主要功能包括:•测试需求管理•测试用例管理•测试用例对测试需求的覆盖管理•测试计划的制定•测试用例的执行•大量测试数据的度量和统计功能。

1.系统介绍1.1系统整体结构TestLink系统共有三大基石:测试项目,测试计划和用户。

其它的所有数据都与这三大基石相关或者是它们的属性。

1.2基本属性介绍测试用例--通过测试步骤(动作,场景)和预期结果来描述一个测试任务。

测试用例是TestLink里最基本成分。

测试套件--测试用例的组织单元。

它构成测试规约的逻辑部分。

(测试用例集)测试规约--TestLink将测试规约拆分为测试套件和测试用例,他们将会在整个应用中长期存在。

一个测试项目只能包含一个测试规约。

测试计划--在你执行测试用例之前,需要创建一个测试计划。

python 获取testlink的用例

python 获取testlink的用例

要使用Python获取TestLink中的测试用例,你需要使用TestLink API。

TestLink是一个基于web的测试用例管理系统,它提供了API接口,允许你通过编程方式与其进行交互。

下面是一个使用Python获取TestLink测试用例的示例代码:pythonimport requests# TestLink服务器的URLtestlink_url = 'http://your_testlink_server/testlink/'# TestLink的API密钥api_key = 'your_api_key'# 要获取测试用例的项目IDproject_id = 'your_project_id'# 发送GET请求获取测试用例response = requests.get(f"{testlink_url}/lib/api/rest/v2/getTestCasesForTestSuite?apiKey={api_key}&projectid={project_id }&testsuiteid=0&details=full")# 检查请求是否成功if response.status_code == 200:# 将响应内容解析为JSONdata = response.json()# 提取测试用例列表testcases = data['testCases']# 遍历测试用例并打印相关信息for testcase in testcases:print(f"TestCase ID: {testcase['id']}")print(f"TestCase Name: {testcase['name']}")print(f"TestCase Summary: {testcase['summary']}")# 可以根据需要提取其他字段信息else:print("请求失败")print("状态码:", response.status_code)print("错误信息:", response.text)请注意,你需要将上述代码中的your_testlink_server替换为你实际使用的TestLink服务器的URL,your_api_key替换为你的TestLink API密钥,your_project_id替换为你要获取测试用例的项目ID。

testlink生成测试报告--一个程序媛的转行之路

testlink生成测试报告--一个程序媛的转行之路

testlink生成测试报告--一个程序媛的转行之路
目前测试是使用testlink记录测试用例,在测试完成之后需要生成测试报告,在此记录一下生成测试报告的过程。

首先我是已经建好了各种测试用例,测试用例的创建非常简单,写清楚测试步骤和期望结
果即可,在此不多做赘述。

接下来的就是测试报告正式诞生的过程啦!
1.进入首页,新建测试计划,填入Name,一般会在Name后面加上时间,方便后续查找,勾选Active和Public。

2.回到首页,将Current Test Plan改成刚建的test plan
3.点击Builds / Releases,创建build,填好title,然后create即可
4.回到首页,在test plan中加入测试用例。

5.回到首页,Assign Test Case Execution,将测试用例分到自己名下,do之后检查一下每个case是否分配正确,然后点击“save”
6.执行测试用例
7.生成test report。

TestLink测试用例管理工具使用说明

TestLink测试用例管理工具使用说明

TestLink测试⽤例管理⼯具使⽤说明
TestLink使⽤说明
1. 打开⽹页,登录账号:(这⾥的账号是已经注册过的,并且拥有admin权限,可以创建⽤户。

当然也可以通过点击登录页⾯的“新⽤户
注册”按钮进⾏注册,但是权限是guest)
2. ⽤户管理——创建⽤户:
点击“⽤户管理”按钮:
拉到最底部——点击“创建”,进⼊“创建⽤户”界⾯:
“创建⽤户”界⾯:
3. 点击“注销”按钮,切换⾄登录页⾯:
输⼊刚创建好的⽤户名和密码,点击“登录”:
4. 点击“测试项⽬管理”按钮,进⼊项⽬管理窗⼝:
点击创建:
填写项⽬信息 --> 点击“创建”:
5. 在主页⾯右上⾓“测试产品”下拉框中,选择对应测试项⽬名称:
6. 关键字管理——点击“关键字管理”按钮:
点击“新建关键字”:
输⼊关键字和描述,点击保存:
7. 编写测试⽤例:
点击“编写测试⽤例”,进⼊测试⽤例编写:
可以指派关键字(关键字在上⼀步创建):
创建测试⽤例集:
创建测试⽤例:
分别填写测试⽤例标题、前提、重要性、测试⽅式、指派关键字等 --> 点击“保存”:
点击“创建步骤”:
输⼊步骤动作和预期结果,点击保存或保存并退出:
8. 点击移动/复制可复制相似度⾼的⽤例,只需修改部分选项,提⾼测试⽤例编写效率:
9. 执⾏测试⽤例:
回到主页⾯,点击“测试计划管理”:
点击创建:
添加测试⽤例到测试计划:
测试⽤例变成黄⾊,说明添加成功:
点击执⾏测试:
创建新版本:
再次点击执⾏测试:
选择测试版本:
标记测试⽤例:通过/失败/锁定。

软件测试工具-testlink使用方法

软件测试工具-testlink使用方法

创建项目:(测试项目管理-新建项目)(FR)用户管理:创建用户产品设置:(测试计划在特定时间里描绘产品的测试。

这句话的意思就是说所有的测试计划需要根据产品测试用例来创建。

)这里的产品也就是项目创建测试需求:创建需求规格:需求-需求规约-选中产品点击-新建需求规约(客户端、服务器)创建需求:选中产品下的需求规格点击-创建新需求(状态、类型、需要的测试用例数)(登录、订票)创建测试用例创建测试集:(测试套件(Test Suites))主页-测试规约-编辑测试用例-()选中产品点击-右侧新建测试集创建测试用例:选中测试集点击-创建测试用例-点击保存-创建步骤(每次创建一步)需求关联:主页-需求-指派需求-选中测试树中的一个测试用例(左侧)-选中需求指派(包含有效需求和已指派的需求)需求-选中需求-可以查看需求覆盖情况为需求指派用例需求关联:主页-需求-指派需求-选中测试树中的一个测试用例(左侧)-选中需求指派(包含有效需求和已指派的需求)需求-选中需求-可以查看需求覆盖情况创建测试计划测试计划是执行测试用例的基础,测试计划由测试用例组成主页-测试计划管理-创建(测试基本完成)创建测试里程碑:(明确每个测试阶段的开始与结束时间)-测试管理-编辑/删除里程碑版本管理(Builds/Release)(本版本叫构建管理):主页-测试计划管理-构建管理安排测试人员:测试计划管理-指派用户角色为计划添加用例添加测试用例到测试计划:选择当前测试计划(列表)-选择添加/删除测试用例到测试计划选择测试集(左侧)-选择用户、构建、测试用例-添加选择的测试用例(成功变色、也可删除)指派执行测试用例-选中左侧测试集-执行测试/报告BUG并跟踪执行测试查看分析结果测试报告:结果-报告格式-MS word1.T estlink问题:2.设置测试用例的所有者(给测试人员分派测试任务)(找不到)3.实验一需要和mantis集成吗?(到实验mantis的时候再集成)4.怎样为产品分配背景颜色?(不用管)5.逗号分隔值(Comma-Separated Values,CSV,有时也称为字符分隔值,因为分隔字符也可以不是逗号),其文件以纯文本形式存储表格数据(数字和文本)。

testlink使用介绍

testlink使用介绍

testlink使用介绍
点击失败用例中bug管理下的图标,弹出报告bug界面,可输入bug编号添加bug,也可点击mantis系 统链接进入mantis报告bug后输入bug编号添加bug关联
testlink使用介绍
TestLink根据测试过程中记录的数据,提供了较为丰富的度量统计功能,可以直观的得到测试管理 过程中需要进行分析和总结的数据: 测试用例对测试需求的覆盖情况: 针对每个版本的测试用例执行情况: 每个版本的执行情况 所有测试用例在不同build版本的执行情况,显示?的地方表示还未执行。 阻塞的测试用例列表 失败的测试用例列表 每个测试用例的bug数
testlink使用介绍
执行测试用例,按照对每个构建版本的执行情况ass:执行通过 Failed:执行失败 Blocked:由于其它用例失败,导致此用例无法执行,被阻塞。
testlink使用介绍
将执行测试的结果记录在测试执行中。 注:测试执行以测试计划为类别划分,每个测试计划中执行或重执行相应关联的用例
testlink使用介绍
提供对测试计划的管理,每个构建与一个活动的计划相关联。 构建相当于测试计划的不同阶段的版本
testlink使用介绍 创建测试计划后,要给测试计划添加相应的用户,不同用户对该计划拥有不同权限(仅读或修改)。
testlink使用介绍 项目关键字用于将不同模块下的同类用例归类在一起以方便查询、统计及复用。
测试流程:
创建项目
建立需求规约
设计测试计划
testlink使用介绍 分析结果/测试总结 执行测试/报告bug
编写用例/关联需求
添加用例到计划,设置用例所有者
地址:
testlink使用介绍
testlink使用介绍 创建用户时,注意将“活动的”勾选,否则用户无效,帐号建议选择内网邮箱帐号,电子邮件选择

使用TestLink管理软件测试过程

使用TestLink管理软件测试过程

使用TestLink管理软件测试过程: 使用TestLink管理软件功能测试过程本系列文章适用于需要为测试团队寻找测试过程管理解决方案的测试设计、测试管理人员。

目前,开源理念在国内外越来越深入人心,开源软件大大推动了软件研发行业的快速发展。

TestLink作为软件测试管理类开源软件中的佼佼者,在中小型的软件测试项目组中得到了普遍应用,项目组的测试效率得到了很大的提升。

本文作为使用TestLink管理软件测试过程系列文章的第一部分,主要介绍如何使用该工具管理软件功能测试过程。

首先介绍TestLink的作用、安装与配置,接着演示如何使用TestLink管理软件测试过程。

最后,向读者介绍TestLink提供的XML-RPC接口特性,并演示如何使用Java语言通过调用XML-RPC接口对TestLink进行定制开发。

本系列文章的第二部分将会介绍如何使用TestLink管理软件自动化测试过程。

TestLink 介绍TestLink 是开放源代码的基于Web 的测试管理系统,它覆盖完整的测试工作过程,提供测试需求管理、测试用例管理、测试计划管理、测试执行与结果报表管理等功能。

通过集成配置,TestLink 可以和主流的缺陷管理系统进行协同工作。

该工具还对外提供了XML-RPC 编程接口,用于定制开发。

主要功能如下所示:∙测试需求管理–用于收集、定义测试需求。

提供版本控制机制解决无法跟踪需求变更的问题。

∙测试用例管理–用于定义测试用例设计,不同模块的用例可以分别维护在不同的测试套件集合里。

∙测试计划管理–可以为测试计划指定被测软件所运行所在的平台信息和被测软件的测试构建信息。

可以把测试用例执行工作分配给不同的测试工程师。

∙测试执行与结果报表管理–执行完毕测试,填写测试结果信息。

支持上传结果文件,附加上缺陷编号信息。

报表系统提供测试图表和执行矩阵信息。

∙良好的扩展特性–允许自定义字段;允许调用管理系统提供的XML-RPC API 接口进行定制开发。

TestLink基础使用培训

TestLink基础使用培训

EST L INK基础使用所有者::张梅娜所有者年4月20112011年Email:coci_zmn521@MSN:zmn_coci@QQ: 1099289293大纲TestLink 介绍TestLink 功能说明TestLink 测试管理流程TestLink 使用TEST L INK介绍TestLink是一款测试管理工具,贯穿了整个测试的生命周期。

通过使用TestLink所提供的功能,可以在测试过程将测试需求、测试设计、测试执行,缺陷提交等完整的管理起来,同时它还提供了好多种测试结果的统计和分析使我们能够简时,它还提供了好多种测试结果的统计和分析,使我们能够简单的开始测试工作和分析测试结果。

此外,TestLink最大的特点是它是完全开源的测试管理工此外具,是sourceforge开放源代码项目之一,TestLink一般需要与开源缺陷管理具起使用开源缺陷管理工具一起使用。

T介EST L INK介绍TestLink 的主要功能有”¾测试需求管理¾测试计划管理¾测试用例管理¾测试用例的执行管理¾测试度量及统计功能T EST L INK 测试管理流程:创建项目查看并分析测试创建测试需求结果创建测试计划报告缺陷创建测试用例执行测试在测试计划中添加测试用例分配测试任务T EST L INK 使用--登陆T EST L INK使用—用户新增及设置以管理者角色成功登陆后,在菜单栏中选择”UserManagement”,进入用户管理界面T EST L INK使用—用户新增及设置在用户管理界面点击创建,即可创建用户信息,如下图T EST L INK使用—用户新增及设置TestLink用户角色设置测试事业部已设定好以下几种角色:访客、初级测试人员、中级测试人员、高级测试人员、测试组长、事业部分部管理员和事业部管理员。

T EST L INK使用—用户新增及设置TestLink系统默认用户角色对应权限如下:用户角色权限访客可以对测试计划,测试需求,测试用例及关键字等进行查看的权限初级测试人员浏览测试计划,查看并创建测试用例、查看关键词、查看测试需求,进行测试执行,编辑测试执行结果浏览测试计划创建/修改测试用例创建修改测试需求中级测试人员浏览测试计划,创建/修改测试用例、创建修改测试需求、查看关键词、进行测试执行,编辑测试执行结果可以创建编辑测试计划,编辑测试用例、查看关键词、管理高级测试人员测试需求,有测试执行和创建发布的权限测试组长本项目组测试计划编写,任务创建指派发布,测试用例及测试需求管理的一切权限试需求管理的切权限事业部分部管理员测试事业部分部的用户管理权限,包括用户创建及分配角色一切权力包括用户管理事业部管理员一切权力,包括用户管理No rights没有访问权限T EST L INK项目创建项目创建TestLink可以对多项目进行管理,但只有Admin级的用户可以设置项目,项目设置将统一由事业部管理员进行管理。

TESTLINK用例模版

TESTLINK用例模版

期望结果 Expected Results
测试1 测试2 测试1 测试2
测试1 测试2 测试1 测试2 测试3 测试1 测试2 测试1 测试2 测试3 测试1 测试2 测试3 测试4 测试1 测试2
1、结果 1、结果1 2、结果2 3、结果3 1、结果 1、结果1 2、结果2 3、结果3 1、结果1 2、结果2 3、结果3 1、结果1 2、结果2 3、结果3 1、结果1 2、结果2 3、结果3 1、结果1 2、结果2 3、结果3 1、结果1 2、结果2 3、结果3 1、结果1 2、结果2 1、结果1 2、结果2 3、结果3 1、结果1 2、结果2 3、结果3 1、结果1 2、结果2 3、结果3 1、结果1 2、结果2 3、结果3 1、结果1 2、结果2 3、结果3 1、结果1 2、结果2 3、结果3 1、结果1 2、结果2 3、结果3 1、结果1 2、结果2 3、结果3 1、结果1 2、结果2
测试用例相关内容
前置 Precondition 步骤 Steps
1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、步骤1 2、步骤2 3、步骤3 1、结果1 2、结果2
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

测试用例管理之TestLink
安装环境准备:
1.下载XAMPP,这是一个功能强大的建站集成软件包,我用的是:xampp-win32-1.7.3;
2.下载TestLink,用于测试过程的管理,主要是测试用例的管理,我用的是:TestLink1.8.4;
安装:
1.安装XAMPP,路径为D:\xampp;
2.解压TestLink1.8.4,解压到D:\xampp\htdocs,文件夹名称改为:TestLink;
3.开启XAMPP Control Panel,开启Apache 服务和MySQL 服务,见【附件1】;
4.打开浏览器,在地址栏输入http://localhost/testlink/install/index.php,回车即可打开安装界面,然后按照要求一步一步操作,即可完成安装;
5.打开浏览器,在地址栏输入http://192.168.0.57/testlink/login.php,回车即可进入登陆界面,见【附件2】;
6.见【附件2】,首次登录时页面会有一个提示,红色框圈出的部分,这个可以在TestLink 的目录中找到config.inc.php 文件将
config_check_warning_mode的参数修改为” SILENT ” 即可。

修改完成,刷新一下登录页面就变成的正常模式了。

汉化配置:
1.TestLink 的汉化非常简单,首先要准备好一个汉化好的String.txt 文件,将该文件拷贝到… \testlink\local\zh_CN 目录下替换掉
原来的文件。

然后,打开config.inc.php 文件,找到default_language 选项,将参数修改为” zh_CN ” ,如图8 所示。

这时,再
刷新一下你的登录页面就变成了中文的了,如图9 所示。

2.输入用户名: admin ,密码: admin ,登录进入 TestLink ,如图 10 所示。

此页面全是英文的,难得没有汉化成功?我有查找了一下,原
来都是默认为 en_GB 的,这里当然都是英文了。

要想它显示为中文,请点击右上角的 Personal 那里,将管理员的区域选中为中文简体。

如图 11 所示,在 local 选项中,选择最下面的 Chines Simplified ,然后填写好 Email (此项必须填写的),点击保存。

3.再次点击一下首页菜单,我们登录进来的那个英文界面就变成中文的了,如图12 所示。

分类: 测试管理。

相关文档
最新文档