软件测试面试问答Interview Questions for QA Tester.docx
《软件测试面试问答Interview Questions for QA Tester.docx》由会员分享,可在线阅读,更多相关《软件测试面试问答Interview Questions for QA Tester.docx(50页珍藏版)》请在冰豆网上搜索。
![软件测试面试问答Interview Questions for QA Tester.docx](https://file1.bdocx.com/fileroot1/2023-2/25/711e4967-9f1d-405b-8ea4-f910ad278a1f/711e4967-9f1d-405b-8ea4-f910ad278a1f1.gif)
软件测试面试问答InterviewQuestionsforQATester
InterviewQuestionsforQATester(SoftwareTester)
ThesequestionsandanswersaretotallybasedontheinterviewIattendedduringmy6yearsofworkingexperienceasaQATester.Insomesections,Ihavestartedincludingtheinterviewquestionsthatwereaskedbycompaniestosomeofthecandidateswhovisitedthiswebsiteandwantedtoshare.
Ifyouareattendinganinterview,youhavetoknowthesequestionsandanswersbyheartmustbeveryfluentinansweringthesequestions.Practiceinfrontofthemirror,loudandclear(talktoyourself).Mostofthetime,whenwereadthequestions,wefeelgoodandfeelcomfortable,buttherealityis,atthetimeoftheinterview,eventhoughwefeelwehavetheknowledge,can’texpressitwell.Itmaysoundalittlerough,butthisismyexperience.Whenwecomeoutthedoor,weregret.
HEREARETHEQUESTIONS:
1.Canyoutellmeaboutyourself?
Answer:
InmyQAcareer,IhavebeenworkingonvarioussystemplatformsandoperatingsystemslikeWindows95,Windows2000,WindowsXPandUNIX.IhavetestedapplicationsdevelopedinJava,C++,VisualBasicandsoon.IhavetestedWeb-basedapplicationsaswellasclientserverapplications.
AsaQAperson,IhavewrittenTestPlans,TestCases,attendedwalkthroughmeetingswiththeBusinessAnalysts,ProjectManagers,BusinessManagersandQALeads.IhaveattendedrequirementreviewmeetingsandprovidedfeedbacktotheBusinessAnalysts.IhaveworkedindifferentdatabaseslikeOracleandDB2,wroteSQLqueriestoretrievedatafromthedatabase.Asfarasdifferenttypesoftestingareconcerned,IhaveperformedSmokeTesting,FunctionalTesting,BackendTesting,BlackBoxTesting,IntegrationTesting,RegressionTestingandUAT(UserAcceptanceTesting)Testing.IhaveparticipatedinLoadTestingandStressTesting.
IhavewrittendefectsastheyarefoundusingClearQuestandTestDirector.Oncethedefectswerefixed,retestedthemandifthepassed,closedthem.Ifthedefectswerenotfixed,thenreopenedthem.Ihavealsoattendedthedefectassessmentmeetingsasnecessary.
Inthemeantime,acontinuousinteractionwithdeveloperswasnecessary.
ThisisprettymuchwhatIhavebeendoingasaQAperson.
ThemostimportantthingisthatIamhard-workingandnotafraidofdifficulties.
2.Whatdidyoudoinyourlastproject?
Answer:
Inmylastproject,theapplicationwasaweb-basedapplicationdevelopedinJavaplatform.AsaQAPerson,IwroteTestPlansfromtherequirementdocumentsandUseCases.IperformedSmokeTesting,FunctionalTesting,BackendTesting,BlackBoxTesting,IntegrationTesting,RegressionTestingandUAT(UserAcceptanceTesting).IhaveparticipatedinLoadTestingandStressTesting.IattendedseveralwalkthroughmeetingsforrequirementreviewsandprovidedfeedbacktotheBusinessAnalysts.Mostly,Iwasinthebackendtesting,whichrequiredwritingSQLqueriesdirectlytothedatabase.
Besidesthese,IwrotedefectsusingClearQuest.Oncethedefectswerefixed,retestedthemandifthepassed,closedthem.Ifthedefectswerenotfixed,thenreopenedthem.
3.HaveyouwrittenTestPlan?
WhatisaTestPlan?
Whatdoesitinclude?
Answer:
Yes.
WhatisaTestPlan?
Answer:
ATestPlanisadocumentthatdescribesthescope,approach,resources,andscheduleofintendedtestingactivities.Itidentifiestestitems,thefeaturestobetested,thetestingtasksandwhowilldoeachtask(rolesandresponsibilities)andanyrisksanditssolutions.SeehowtheTestPlanlookslike.
Whatdoesitinclude?
Answer:
ATestPlanincludesHeading,RevisionHistory,TableofContents,Introduction,Scope,Approach,Overview,differenttypesoftestingthatwillbecarriedout,whatsoftwareandhardwarewillberequired,issues,risks,assumptionsandsignoffsection.
4.HaveyouwrittenTestCases?
Answer:
Yes.
WhatisaTestCase?
Whatdoesitinclude?
Answer:
ATestCaseisadocumentthatdescribesstep-by-stepprocesshowtotesttheapplication.ATestCaseincludesTestCaseID,StepsDescription,ExpectedOutput,ActualOutput,Pass/Fail,andRemarks.(Remember,thisisNOTapartofTestPlan.ItisaseparatedocumentwrittenusingExcel.Insomecompanies,theyuseRationalTestManagerorTestDirector.Butforcompanies,whodonothavethesetools,useExcelsheet.Intheexamplebelow,itisintheExcelsheet)
DidyouuseanytoolstowriteTestCases?
Answer:
Yes.IhaveusedTestDirector(nowcalledQualityCenter)andRationalTestManagertowriteTestCases.However,inmostofthecompanies,IusedExcelsheet.SeeasampleTestCase.
HowmanyTestCasesdidyouwriteinyourlastproject?
Answer:
Iwroteabout1100TestCasesinmylastproject.(ThereasonablenumberofTestCasesvariesfrom500tothousands.Thenumber1100testcasescanbecompletedin6-monthprojectduration).
WhatdocumentdidyourefertowritetheTestCases?
Answer:
Requirementdocument.(NOTE:
ItcanalsobeUseCases,orDesignDocument.Itdependscompanytocompany.Insomecompany,theyuseUseCases.Insomecompanies,theyuseRequirementDocumentsandincompanies,theyuseDesignDocument.However,inpracticalscenario,mostofthecompanieshaverequirementdocumentatleast).
5.Didyouhaveasituationwhereyoudidnothaveanydocuments(norequirementdocument,noUseCases,ornoDesignDocument)andyouhadtowritetheTestCases?
HowdidyouwritetheTestCasesinthissituation?
Answer:
Yes.Ihavebeentothatkindofscenariosseveraltimes.Therewerecompanieswheretheyhadnodocumentsatall.Inthatcase,IhadtodiscusstheapplicationscenarioandfunctionalitieswiththeBusinessAnalystsordeveloper.Onthebasisofthatdiscussion,IpreparedadocumentinconsultationwithBusinessAnalystsandDevelopersandthenstartedwritingPlansandTestCases.
6.WhatyouworkedwithUseCasesbefore?
Answer:
Yes.IhavewrittenTestCasesusingUseCases.
CanyoutellmewhataUseCaseis?
Answer:
Ausecaseisadocumentthatdescribestheuseractionandsystemresponseforaparticularfunctionality.SeehowaUseCaselookslike.
7.WhatisSDLC(SoftwareDevelopmentLifeCycle)?
Answer:
SDLC(SoftwareDevelopmentLifeCycle)istheprocessofdevelopingsoftwarethroughbusinessneeds,analysis,design,implementationandmaintenance.Softwarehastogothroughvariousphasesbeforeitisbornwhichareasfollows:
(i)GeneratingaConcept–Aconceptcomesfromtheusersofthesoftware.Forexample,aPizzaHutmayneedsoftwaretosellpizza.AnIndianstoremayneedsoftwaretosellitsnewlyarrivedmoviesorgrocery.Theownerofthecompanyfeelsthatheneedssoftwarethatwouldhelphimintrackinghisexpensesandincomeaswellasenhancethesellingprocess.Thisishowtheconceptisgenerated.Theownerwillspecificallytellthesoftwarecompanywhatkindofsoftwarehewouldneed.Inotherwords,hewillspecifyhisrequirements.
(ii)Requirementsanalysis–Aftertheowner(user)knowshisrequirements,thenitisgiventoasoftwareteam(company)whowillanalyzetherequirementandpreparerequirementdocumentthatwillexplaineveryfunctionalitythatareneededbytheowner.Therequirementdocumentwillbethemaindocumentfordevelopers,testersanddatabaseadministrators.Inotherwords,thisisthemaindocumentthatwillbereferredbyeveryone.Aftertherequirementdocuments,otherdetaileddocumentsmanybeneeded.Forexample,thearchitecturaldesignwhichisablueprintforthedesignwiththenecessaryspecificationsforthehardware,software,peopleanddataresources.
(iii)Development:
Afterthedetailedrequirementdocuments(somecompanieshavedesigndocumentsinsteadofrequirementdocuments),thedevelopersstartwritingtheircode(program)fortheirmodules.Ontheotherhand,thetestersintheQA(QualityAssurance)DepartmentstartwritingTestPlans(onemodule=1testplan),testcasesandgetreadyfortesting.
(iv)Testing:
Oncethecode(programs)areready,theyarecompiledtogetherandtomakeabuild.Thisbuildisnowtestedbythesoftwaretesters(QATesters)
(v)Production:
Aftertesting,theapplication(software)goesintoproduction(meaning,itwillbehandedovertotheowner).
(vi)End:
Andoneday,theownerwillhavesaybyetothesoftwareeitherbecausethebusinessgrowsandthissoftwaredoesnotmeetthedemandorforsomereason,thehedoesnotneedthesoftware.That’stheendofit.
8.WhatisBusinessRequirementDocument(BRD)?
Answer:
Itisadocumentthatdescribesthedetailsoftheapplicationfunctionalitieswhichisrequiredbytheuser.ThisdocumentiswrittenbytheBusinessAnalysts.
9.WhatisBusinessDesignDocument?
Answer:
Itisthedocumentthatdescribestheapplicationfunctionalitiesoftheuserindetail.ThisdocumenthasthefurtherdetailsoftheBusinessRequirementDocument.ThisisaverycrucialstepinSoftwareDevelopmentLifeCycle(SDLC).SometimestheBusinessRequirementDocumentandBusinessDesignDocumentcanbelumpedtogethertomakeonlyoneBusinessRequirementDocument.
10.WhatisaModule?
Answer:
A‘Module’isasoftwarecomponentthathasaspecifictask.Itcanbea‘link’,whichcangoinsidetoitscomponentdetail.(ThisisNOTaverycommonquestionfortheinterview.Thisisjustforyourknowledge,ifyoudon’tknowwhatamoduleis.)
11.Whatiswalk-throughmeeting?
Answer:
OncetheBusinessAnalystscompletetherequirementdocument,theycallameetingtoexplainhowthefunctionalitieswork,whattheprocessisinthedesignedapplicationandotherdetails.TheBusinessAnalystsexplainthehighlevelfunctionalitiesoftheapplication(software)thatisgoingtothebuilt.Theparticipantmembersinthemeetingmaypr