软件测试面试题中英文 全.docx
《软件测试面试题中英文 全.docx》由会员分享,可在线阅读,更多相关《软件测试面试题中英文 全.docx(16页珍藏版)》请在冰点文库上搜索。
软件测试面试题中英文全
DifferencebetweenSystemtestingandintegrationtest
IntegrationTesting:
Testingofcombinedpartsofanapplicationtodetermineiftheyfunctiontogethercorrectly.Usuallyperformedafterunitandfunctionaltesting.Thistypeoftestingisespeciallyrelevanttoclient/serveranddistributedsystems.
SystemTesting:
Testingthatattemptstodiscoverdefectsthatarepropertiesoftheentiresystemratherthanofitsindividualcomponents.
Differencebetweenblackboxtestingandwhiteboxtest
BlackBoxtesting:
wetestthefunctionaliyoftheapplicationthroughlywiththehelpofrequirements.herewedonotconcernabouttheinternallogicofthecode.herewecheckthesystembygivingtheproperinputwhetheritgivesproperoutputornot.thisworkdonebythetesters.
WhiteBoxtesting:
wemoreconcernaboutinternallogicoftheprogrami.e;herewecheckmoduleinterfacelocaldatastructureslogicalconditionsontheirtrueandfalsesideloopsetc;designatedandexecutedbythedevelopers/SDET.
Differencebetweenperformance,load,andstresstesting
Performancetesting:
Performancetestingisusedtoshowthataftertestingthereisnodefectinthesystemorapplication.Loadtestingandstresstestingarethepartsofperformancetesting.
LoadTesting:
Loadtestingisusedtotesttheapplicationunderarangeofloadsinordertodetermineatwhatpointthesystem'sresponsetimedegradesorfails.
Forexample,Ifanapplicationissupports500usersthentestwhetheritsupportsthenoofusersasspecified.
StressTesting:
Thistestingisusedtopushthesystembeyondthelimitsofitsspecifiedrequirementstofindthepotentiallyharmfulbugs.wecansaythat-"Howmuchistoomuchforthesystem".
Differencebetweenfunctiontestingandregressiontesting
FunctionalTesting:
Thistestisperformedtoseeweathertheprogramisworkingasperthegivenflow.functionalityisworkingcorrectlyornotasperrequiremnet.
RegressionTesting:
Thistestisperformedduringmodificationstage.wheretheappliedchangesimpactthechangeinworkingofthewholeprojectornot.Meansweatherthemodificationcausederrorsinexistingworkingoftheprojectornot
Differencebetweenactualresultandexpectresult
Actualresultisthebehaviorproduced/observedwhenacomponentorsystemistested.It’slike“whatitactuallylooklike”status.
Expectresultisthebehaviorpredictedbythespecificationofthecomponentorsystemunderspecifiedconditions.It’slike“whatitsupposetobe”status
Didwhiteboxtestingmeanstestingofcode
Yes,ittestthelogicofthecode
Whatarethecriticalthingsyoulistedintheperformancetestresult
1.Concurrentusers
2.Throughout
3.ServerstatussuchasCPUusage,Memory
4.Responsetimes
5.Timelapses
6.Testenvironment
Whatarecontentsofdefects/bugs
Asoftwarebugisthecommontermusedtodescribeanerrorflaw,mistake,failure,orfaultinacomputerprogramorsystemthatproducesanincorrectorunexpectedresult,orcausesittobehaveinunintendedways.
Contentofbugs
1.BugID
2.BugTitle
3.Summary:
expectedresult,actualresult
4.Priority
5.Severity
6.Status:
Open/fix/close/holdon/non-reproduce
7.SoftwareVersion
8.PlatformandOS
9.Component
10.AssignTo
11.Environment
12.ReproduceSteps
13.Supportingfiles,suchassnapshot
Whatarecontentsoftestcases
1.TestCaseID:
2.CaseName
3.Priority
4.Teststep
5.TestExecution
6.ExpectedResults
7.ActualResults
8.Revisionhistory
9.Environment
10.Runtime
11.Nameoftester,date
Whatistestplan?
Haveyoueverwrittentestplan?
Atestplanisadocumentdetailingasystematicapproachtotestingasystemsuchasamachineorsoftware.
Contentsoftestplan:
1.Testscope
2.Teststrategy:
integratetesting,systemtesting,performancetesting,securitytesting
3.TestRisk
4.Testresource
5.Testtimeline
6.Signoffcritical
Whatisthescopeoftesting
Thescopeoftestingistheboundariesoftesting,whatwillbetestedandwhatwillnotbetested
.Whatdoesyourtestreportlooklike
1.thescopeoftesting
2.testenviroment
3.DetailedTestresult:
thecaseexecutionandtheirstatus
4.bugquantityandseverity
5.Suggestion
Whatisbugtriageandtriagegroup?
Howtoresolveconflictwhenverifyingitisabugornot
Triageisaprocessofidentifyorverifythebugsbasedontheinformationofthebug.Wheneverwehavedisagreementtoindentifythebugorforaverycomplexbug,weassignthebugtothetriagegroup,agroupofSr.developers,testers,andleads,toverifyit.
Howtoknowyourtestcasesaretoomanyortooless
Verifythetestcasesagainstthescopeofthetestingandfunctionrequirement
Howtoensurethetestcoverage
1.Ensurethatthedocumentsdefiningthebusinessandcustomerrequirementsarecompleteandcorrect.
2.Ensurethattestersthemselveshavethoroughlyreadandunderstoodthedocuments.
3.Prepareaclearcutscopeoftestingbasedonproductdocuments.
4.ThestrategyandTestPlanningisaspersystemrequirements.
5.Decidetestmethodologyandtesttools(ifany),andtestschedule.
6.PrepareTestCasesbasedonbusinessrulesandcustomerrequirements.
7.Ensurethatthetestcasesareextensiveandsensibletocoverthecompleterequirementstesting.
8.Ensurethatduringtestingnochangesinthetestenvironment(codingetc.)isdonebydevelopmentteam.
9.Ensurethatdevelopmentteamrepresentatives(1orall)arepresentduringthecompletetesting.
10.CreateTestScenariosbasedontestcases.
11.Observetheresultofeachtestcaseandrecorditaccordingly.
12.Prepareacomprehensiveanddetailedtestreportexplainingeachofthetestcase,scenarioanditsresultelaborately.
13.Ensurethatallbugsreportedshouldmakesense,noduplication/overlapping
14.Thefinalreportsubmittedshouldclearlystatetheareas,reason,impactnotcoveredundertestingifavaliable.
15.Ensurethatyouhaveatentativeplanfromthedevteamwhenthey'refixingallbugsandsubmittingitbacktotestingteam.
16.Verifyallbugsfixedandensurethatthedevelopmentteamissittingwithtestersduringverification.
Howtomakesure/verifythatyourtestersareblockedbyerror
1.Verifythebuildbyrunningbuildverificationtestcases
2.Verifythetestcasesteps,script,anddata.Ifthedataisspoofed,wealsoneedtoverifythescriptforspoofingthedata
3.Rerunthetestcasesbyothertester(otherenvironmentifthereisasalternative)fordoublecheck
Whenshouldtestingbestopped?
1.allthetestcasesareexecuted
2.Defectratefollowsdownbelowthecriteria,Bugratefallsdownbelowthecriteria
3.deadlinecomes
LR面试题
Whatisloadtesting?
Loadtestingisto test thatiftheapplicationworksfinewiththeloadsthatresultfromlargenumberofsimultaneoususers,transactionsandtodetermineweatheritcanhandlepeakusageperiods.
WhatisPerformancetesting?
Timingforbothreadandupdatetransactionsshouldbegatheredtodeterminewhethersystemfunctionsarebeingperformedinanacceptabletimeframe.Thisshouldbedonestandaloneandtheninamultiuserenvironmenttodeterminetheeffectofmultipletransactionsonthetimingofasingletransaction.
ExplaintheLoadtestingprocess?
Step1:
Planningthetest.Here,wedevelopaclearlydefinedtestplantoensurethetestscenarioswedevelopwillaccomplishload-testingobjectives.
Step2:
CreatingVusers.Here,wecreateVuserscrīptsthatcontaintasksperformedbyeachVuser,tasksperformedbyVusersasawhole,andtasksmeasuredastransactions.
Step3:
Creatingthescenario.Ascenariodescribestheeventsthatoccurduringatestingsession.Itincludesalistofmachines,scrīpts,andVusersthatrunduringthescenario.WecreatescenariosusingLoadRunnerController.Wecancreatemanualscenariosaswellasgoal-orientedscenarios.Inmanualscenarios,wedefinethenumberofVusers,theloadgeneratormachines,andpercentageofVuserstobeassignedtoeachscrīpt.For web tests,wemaycreateagoal-orientedscenariowherewedefinethegoalthatourtesthastoachieve.LoadRunnerautomaticallybuildsascenarioforus.
Step4:
Runningthescenario.Weemulateloadonthe server byinstructingmultipleVuserstoperform.taskssimultaneously.Beforethetesting,wesetthescenarioconfigurationandscheduling.Wecanruntheentirescenario,Vusergroups,orindividualVusers.
Step5:
Monitoringthescenario.WemonitorscenarioexecutionusingtheLoadRunneronlineruntime,transaction,systemresource,Webresource,Webserverresource,Webapplicationserverresource,databaseserverresource,networkdelay,streamingmediaresource,firewallserverresource,ERPserverresource,and Java performancemonitors.
Step6:
Analyzingtestresults.Duringscenarioexecution,LoadRunnerrecordstheperformanceoftheapplicationunderdifferentloads.WeuseLoadRunner’sgraphsandreportstoanalyzetheapplication’sperformance.
WhendoyoudoloadandperformanceTesting?
perform.loadtestingoncewearedonewithinterface(GUI)testing.Modernsystemarchitecturesarelargeandcomplex.Whereassingleusertestingprimarilyonfunctionalityanduserinterfaceofasystemcomponent,applicationtestingfocusesonperformanceandreliabilityofanentiresystem.Forexample,atypicalapplication-testingscenariomightdepict1000userslogginginsimultaneouslytoasystem.Thisgivesrisetoissuessuchaswhatistheresponsetimeofthesystem,doesitcrash,willitgowithdifferentsoftwareapplicationsandplatforms,canitholdsomanyhundredsandthousandsofusers,etc.Thisiswhenwesetdolo