软件测试实验五.docx

上传人:b****1 文档编号:2386296 上传时间:2023-05-03 格式:DOCX 页数:47 大小:410.78KB
下载 相关 举报
软件测试实验五.docx_第1页
第1页 / 共47页
软件测试实验五.docx_第2页
第2页 / 共47页
软件测试实验五.docx_第3页
第3页 / 共47页
软件测试实验五.docx_第4页
第4页 / 共47页
软件测试实验五.docx_第5页
第5页 / 共47页
软件测试实验五.docx_第6页
第6页 / 共47页
软件测试实验五.docx_第7页
第7页 / 共47页
软件测试实验五.docx_第8页
第8页 / 共47页
软件测试实验五.docx_第9页
第9页 / 共47页
软件测试实验五.docx_第10页
第10页 / 共47页
软件测试实验五.docx_第11页
第11页 / 共47页
软件测试实验五.docx_第12页
第12页 / 共47页
软件测试实验五.docx_第13页
第13页 / 共47页
软件测试实验五.docx_第14页
第14页 / 共47页
软件测试实验五.docx_第15页
第15页 / 共47页
软件测试实验五.docx_第16页
第16页 / 共47页
软件测试实验五.docx_第17页
第17页 / 共47页
软件测试实验五.docx_第18页
第18页 / 共47页
软件测试实验五.docx_第19页
第19页 / 共47页
软件测试实验五.docx_第20页
第20页 / 共47页
亲,该文档总共47页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

软件测试实验五.docx

《软件测试实验五.docx》由会员分享,可在线阅读,更多相关《软件测试实验五.docx(47页珍藏版)》请在冰点文库上搜索。

软件测试实验五.docx

软件测试实验五

实验五RationalTestManager使用

Contents

Lab1–IntroductiontoTestManagerandProjects1-1

Lab2–ManagingTestPlanningandDesign2-1

Lab3–DevelopingandExecutingManualTestsandSuites3-1

Lab4–DeterminingandReportingTestResults4-1

Lab1

IntroductiontoTestManagerandProjects

RationalAdministratoristhetoolthatallowsyoutoworkwithRationalProjects.WithAdministrator,youcancreatenewProjects,registerProjects,upgradeProjectassets,creategroupsandusers,andassignpermissions.

Objectives

Whenyoucompletethislab,youshouldbeableto:

ØConnecttoaProjectinRationalAdministrator.

ØCreategroupsandusers.

ØAssigngrouppermissions.

ØImportaClearQuestProfilefile.

Exercise1.1ExploretheTestManagerInterface

StartTestManagerandLogintoaProject

Steps

Comments

1.StartRationalTestManager.

Start>Programs>RationalSoftware>RationalTestManager.

TheRationalTestLoginboxappears.

2.TypeadminastheUserName,ifnotalreadythere,andleavethePasswordboxblank.

3.LogintotheTM-Trainingprojectasadminwithnopassword.

IftheprojectdoesnotappearintheProjectlist,clickBrowsetolocateandselect:

Toconnecttoadifferentproject,clickBrowselocatedtotherightoftheProjectbox,thenbrowsefortheproject.

C:

\TM-Training\TM-Training.rsp.

4.ClickOK.

ExploretheTestManagerMainWindow

TestAssetWorkspace

LaunchotherTeamTesttools

Tabstoswitchbetweendifferentviewsoftestassets

EachtabintheTestAssetWorkspaceprovidesaviewofthetestassetsmostimportanttothatparticularpartofthetestingproject:

TestAssetWorkspaceTab

Providesaviewoftheseassets

Planningtab

Testplans,Iterations

Executiontab

Suites,Computers,ComputerLists

Resultstab

Builds,TestLogfolders,TestLogs

Analysistab

Reports

Steps

Comments

1.IntheTestAssetWorkspace,selectthePlanningtab.

Thetabsareinthelowerleftcorner.YoumayneedtoenlargetheTestAssetWorkspacetoreadthem.

2.ExpandtheTestPlansfoldertoseethetestplansintheproject.

3.ExpandtheIterationsfoldertoseeiterationsavailableinyourproject.

4.ExploretheExecution,Results,andAnalysistabsintheTestAssetWorkspace.

5.CloseTestManager.

Exercise1.2ConfigureaProject

CreateGroupsandAssignPrivileges

Steps

Comments

1.StartRationalAdministrator.

Start>Programs>RationalSoftware>RationalAdministrator.

2.InRationalAdministrator,right-clicktheTM-TrainingProjectintheleftpane,thenclickConnectfromtheshortcutmenu.

TocreategroupsinProject,youmustbeconnectedtothatProject.Ifyouarepromptedforapassword,enteradminaspasswordintheConnectdialog.

3.ExpandtheRationalTestDatastorebranch.

4.ExpandtheTestGroupsicontoshowthedefaultgroups.

5.Toinsertanewgroup,right-clicktheTestGroupsicon,thenclickInsertTestGroup.

TestGroupsareusedtomanageusersandassignprivileges.Userswhoaremembersofagroupinherittheprivilegesofthegroup.

6.TypeManagersintheNamebox,andclickSelectAlltoassignfullprivileges.ClickOK.

InsertagroupnamedManagerswiththefullWriteandfullAdministrationprivileges.

7.AddasecondgroupcalledTesters.Assignthemallwriteprivileges,butnoadministrativeprivileges.

InsertagroupnamedTesterswithwriteprivilegesonly.

8.ClickOK.

AddUsers

Steps

Comments

1.Right-clicktheTestUsersicon,andclickInsertTestUser.

2.TypeSeniorQAintheUserIDboxandSeniorQAinthePasswordbox.

3.AssignSeniorQAtotheManagersgroupbyclickingtheGroupstabandselectingManagers.Double-clickManagerstomoveittotherightpane.Ifnecessary,double-clickPublictomoveittotheleftpane.

Usersinherittheprivilegesofthegrouptowhichtheyareassigned.

Note:

Passwordsarecasesensitive.

4.ClickOK.

5.InsertaseconduserwithaUserIDofJuniorQAandaPasswordofJuniorQA.AssignJuniorQAtotheTestersgrouponly.

6.ClickOK.

7.ExpandtheTestUsersicon.Youshouldseetheusersyoucreated,plustheadminuser.

8.

SelectaUserandright-clicktoviewProperties.

Userpropertiescanbemodifiedfromthisscreen.

9.ClosetheTestUserPropertiesdialog.

ImportaClearQuestProfileFile

Steps

Comments

1.InRationalAdministrator,clickTools>RationalClearQuestMaintenanceTool.

TheClearQuestMaintenanceTooldialogboxappears.

2.ClickFile>ImportProfile.

3.Browseto:

AClearQuestAdministratortypicallysetsthisupforyoubasedonuserprofilesforappropriateprivilegelevels.

C:

\TM-Training\ChangeRequests\cqprofile.ini

4.ClickOpen.

ThefilenameappearsintheFileNamebox.

5.ClickNext.

6.ClickFinish.

Acceptthedefaults.

7.Ifanotherdialogappears,clickYestoproceed.

8.ClickDone.

Noticethedatabasename:

CQMaster.mdb.ThiswillbedifferentbasedonthenamingconventionsthatyourClearQuestAdministratorusesandthetypeofdatabaseinuse.

9.ClickExit.

10.CloseRationalAdministrator.

Lab2

ManagingTestPlanningandDesign

RationalTestManagerallowsyoutocentralizeandorganizeyourtestinginformationforusebymembersofatestteam.Inthislab,youwillplan,design,organize,andmanagetests.

Objectives

Whenyoucompletethislab,youshouldbeableto:

ØRegisteranMSExcelspreadsheetasatestinputsource.

ØManageconfigurationsandconfigurationattributes.

ØAddanewtestplan.

ØAssociateanexternaldocumentwithatestplan.

ØAddtestcasefolderstoatestplan.

ØCreateandconfiguretestcases.

ØViewsuspecttestcasesinTestInputsView,intheTestPlanwindow,andinTestCaseProperties.

ØCleartestcasesuspicionstatus.

ØUseTestManagertodesignatestcase.

ØOutlineimplementationstepsandverificationpointsinTestManagerDesignEditor.

ØSpecifytestpreconditions,post-conditions,andacceptancecriteria.

Exercise2.1ManagingTestPlanning

RationalTestManagerallowsyoutocollectandorganizeyourtestinginformation,andlocateitinacentralplacethatallmembersoftheteamcanaccess.

Inthisexercise,yousetupTestManagerwithplanninginformationthathelpsyouruntherighttestsattherighttime.YouregisteranExcelspreadsheetthatcontainsusecaseflowdetailsasatestinputsource.Youalsoeditexistingconfigurationsandaddanewone.

RegisteraTestInputSource

Inthissectionoftheexercise,youregisteranExcelspreadsheetasatestinputsource.ThespreadsheetintheexampleoutlinesscenariosforthePlaceanOrderusecase.Laterinthelab,youcreatetestcasesbasedonthePlaceanOrderusecase,andyouassociatevaluesinthespreadsheetastestinputstothosetestcases.

Youcanviewthespreadsheet:

C:

\TM-Training\samples\UCSEC-TCSprocesssales.xls.

Thisisasamplefromtheusecaseflow:

Steps

Comments

1.StartRationalTestManagerandlogintotheTM-Trainingproject.

IftheprojectdoesnotappearintheProjectlist,clickBrowsetolocateandselect:

AdministheUsernameandleavethePasswordboxempty.

C:

\TM-Training\TM-Training.rsp.

2.FromtheTestManagermainmenu,clickTools>Manage>TestInputTypes.

TheManageTestInputTypesdialogboxappears.

3.SelectMicrosoftExcel,thenclickEdit.

TheTestInputPropertiesdialogboxappears.

4.SelecttheSourcestab,thenclickInsert.

TheNewTestInputSourcedialogboxappears.

5.OntheGeneraltab,intheNamefield,typePlaceanOrderusecase.

Descriptionisoptional.Youcanleavetheownerasadmin.

6.SelecttheConnectionDatatab,thenclickBrowse.Browseto:

C:

\TM-Training\samples\UCSEC-TCSprocesssales.xls.

7.ClickOpen.

8.ClickSetConfiguration.

9.Youarepromptedtosavethetestinputsourcebeforeconfiguringit,clickYes.

TheSetConfigurationdialogboxappears.

Dataisorientedinrowsinexample.

10.IntheSetConfigurationdialogbox,enterthefollowingvaluesthatreflecttheconfigurationofthesamplespreadsheet:

Inputnameisincolumn2.

Datewheninputwaslastmodifiedisincolumn3.

EachvalueinthespreadsheetmusthaveauniqueID.Inthisexample,column1containstheID.

Dataareaofthespreadsheet.

Firstrowcontainscolumnheadings.

11.ClickOK.

12.ClickOKintheNewTestInputSourcePropertiesdialog.

13.ClickOKintheTestInputTypePropertiesdialogbox.

14.ClickCloseintheManageTestInputTypedialogbox.

EditConfigurationAttributes

1.Fromthemainmenu,selectTools>Manage>ConfigurationAttributes.

2.ClickNewintheManageConfigurationAttributesdialogbox.

TestManagercomeswithanumberofpre-setconfigurationattributes.Youcanaddvaluestoanyoftheattributesonthelistorcreatenewattributes.

3.TypeDatabaseTypeintheNameboxoftheNewConfigurationAttributedialogbox.

Thedescriptionfieldisoptional.

4.IntheSourceofvaluesbox,clickList.

5.IntheListvaluesbox,typeMSAccess,thenclickAdd.

MSAccessisaddedtothelist.

6.AddSQLServerandOracletothelist.

Refertostep5above.

7.ClickOK.

8.Addthevalues48,64,and128totheMemorySizeattribute.

ClickEdit,thenrefertothestepsabovetoaddvaluestotheattribute.

9.ClickOK.

10.ClickClose.

CreateaNewConfiguration

1.Fromthemainmenu,selectTools>Manage>Configurations.

TestManagercomeswiththreepredefinedconfigurations.

2.ClickNew.

3.TypeWindows98intheNamebox.

Adescriptionisoptional.

4.ClicktheAttribut

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 经管营销 > 人力资源管理

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2