UserManualTestLink1.6Copyright©2004,2005TestLinkDevelopmentTeamPermissionisgrantedtocopy,distributeand/ormodifythisdocumentunderthetermsoftheGNUFreeDocumentationLicense,Version1.2oranylaterversionpublishedbytheFreeSoftwareFoundation;withnoInvariantSections,noFront-CoverTexts,andnoBack-CoverTexts.ThelicenseisavailableinGNUFreeDocumentationLicensehomepage.1.GeneralinformationTestLinkiswebbasedTestManagementsystem.ThismanualshouldserveassourceforuserstounderstandprocessesandorganizationoftestingwithTestLink.SeetoInstallationmanualformoreinformationaboutsystemrequirements,installationstepsandconfiguration.Thelatestdocumentationisavailableon“FastFoo”andauserAdamwithrights“leader”andBelawithrights“Seniortester”.2.AdamimportsSoftwareRequirementsandforpartoftheserequirementsgeneratesemptyTestcases.3.BeladescribetestsneariooftheseTestcasesthatareorganizedaccordingtoComponentsandCategories.4.AdamcreatesKeyword:“Regression”andassignesthiskeywordtotenofthesetestcases.5.AdamcreatesaTestPlan“Fish&Chips”,Build“Fish0.1”andaddTestCaseswithkeywords“Regression”.6.AdamandBelaexecuteandrecordthetestingwithresult:5passed,1failedand4areblocked.7.Developersmakeanewbuild“Fish0.2”andBelateststhefailedandblockedtestcasesonly.ExceptionalyallthesefiveTestcasespassed.8.Managerwouldliketoseeresults.Administratorexplainhimthathecancreateaccounthimselfontheloginpage.Managerdoit.Hehas“Guest”rightsandcouldseeresultsandTestcases.Hecanseethateverythingpassedinoveralreport;-)andproblemsinbuild“Fish0.1”inareportforparticularBuild.Buthecanchangenothing.2.OverallstructureTherearethreecornerstones:Product,TestPlanandUser.Allotherdataarerelationsorattributesforthisbase.First,definitionofacoupleoftermsthatareusedthroughoutthedocumentation.2.1ProductsandTestPlansProduct:AproductissomethingthatwillexistforeverinTestLink.Productswillundergomanydifferentversionsthroughouttheirlifetimes.ProductincludesTestSpecificationwithTestCasesandshouldbesortedviaKeywords.TestPlan:TestPlansarecreatedwhenyou'dliketoexecutetestcases.Testplanscanbemadeupofthetestcasesofoneormanyproducts.TestPlanincludesBuilds,TestCaseSuiteandTestResults.2.2TestCaseCategorizationTestLinkbreaksdownthetestcasestructureintothreelevelscomponents,categories,andtestcases.Theselevelsarepersistedthroughouttheapplication.Component:Componentsaretheparentsofcategories.Eachcomponentcanhavemanycategories.Category:Categoriesaretheparentsoftestcases.Eachcategorycanhavemanytestcases.TestCase:TestcasesarethefundamentalpieceofTestLink.TestSpecification:Allcomponents,categoriesandtestcaseswithinProduct.TestCaseSuite:Allcomponents,categoriesandtestcaseswithinTestPlan.2.3UsersAnUserhasaRole,thatdefinesavailableTestLinkfeatures.SeemoreinchapterUserAdministration.Thenextpictureshowscommonactivityaccordingtouserroles:Illustration1:Functionalityoverview3.TestSpecification3.1CreatingTestCasesTestermustfollowthisstructure:component,categoryandtestcase.Atfirstyoucreatecomponent(s)foryourproduct.Youcanfilldescriptionwhichcanbeprintedthen.Componentincludescategories.CategoryhasthesimilarmeaningbutissecondlevelofTestSpecificationandincludesjustTestCases.UsercanalsocopyormoveTestCases.TestCaseshasnextparts:Title:couldincludeeithershortdescriptionorabbreviation(e.g.TL-USER-LOGIN)Summary:shouldbereallyshort;justforoverview.Steps:describetestscenario(inputactions);canalsoincludepreconditionandcleanupinformationhere.Expectedresults:describecheckpointsandexpectedbehaviouratestedproductorsystem.3.2DeletingTestCasesTestcases,categories,andcomponentsmaybedeletedfromatestplanbyuserswithleadpermissionsfromthedeletetestcasesscreen.Deletingdatamaybeusefulwhenfirstcreatingatestplansincetherearenoresults.However,Deletingtestcaseswillcausethelossofallresultsassociatedwiththem.Therefore,extremecautionisrecommendedwhenusingthisfunctionality.3.3RequirementsrelationTestcasescouldberelatedwithsoftware/systemrequirementsasnton.Thefunctionalitymustbeenabledforaproduct.UsercanassignTestCasesandRequirementsvialinkAssignRequirementsinthemainscreen.4.Keywords4.1UsingkeywordsKeywordswerecreatedtogiveusersanotherlevelofdepthwhencategorizingtestcases.KeywordsserveasacollectionofTestcaseswithsomeattributewithinaTestspecification.Youcanuseittodefinee.g.RegressionorSanitysetReviewedTestcasesSetoftestcasesvalidforoneplatform4.2KeywordCreationAtthistimekeywordscanonlybecreatedbyuserswiththemgt_modify_keyrights.TheserightsarecurrentlyheldonlybyLeaders.Onceakeywordorgroupingofkeywordshavebeencreatedusersmayassignthemtotestcases.4.3AssigningKeywordsKeywordsmaybeassignedtotestcaseseitherfromtheassignkeywordscreen(inbatch)orviathetestcasemanagement(individually).4.4FilterbyKeywordUsershavetheabilitytofilterbyKeywordsfor:SearchTestCasesinTestSpecification.AddgroupsofTestcasesinaTestcaseSuite(Testplan).Executetestscreen.5.Requirementbasedtesting5.1IntroductionToproofthatasystemisbuildasspecified,testersuserequirementbasedtesting.Foreveryrequirement,th