Exam:CT-TAE
Title:
1.WhichofthefollowingBESTdescribeswhyitisimportanttoseparatetestdefinitionfromtestexecution inaTAA?
A.ItallowsdevelopingstepsofthetestprocesswithoutbeingcloselytiedtotheSUTinterface. BItallowchoosingdifferentparadigms(egevent-driven)fortheinteractionTASandSUT
CItallowsspecifytestcaseswithoutbeingcloselytiedtothetooltorunthemagainsttheSUT
DItallowstesterstofindmoredefectsontheSUT
Answer:C
2Awebapplicationwasreleasedintoproductiononeyearago,ithasregularreleasewhichfollowa V-modellifecycleandtestingiswell-establishedandfullyintegrationintothedevelopmentlifecycleYou havebeenaskedtoimplementaTASfortheregressiontestsuiteTheregressiontestshavebeen developedviatheGUIandareexpectedtoberunatleastfourtimesamonth,foreachplannedrelease, forthewholeoperationsolutionlifeofthesystem(sixyears)EachscreenoftheGUIusesseveral third-partycontrolswhicharenotcompatiblewiththeexistingautomationsolutions.Theenvironmentfor theautomationwillbestable,fullycontrollableandseparatedfromotherenvironments(development, staging,production).
WhatcouldbetheMOSTproblematicforthisTAS?
A.Maturityofthetestprocess
BComplexitytoautomate
CFrequencyofuse
DSustainabilityoftheautomatedenvironment
Answer:D
3ConsiderthefollowinglayersofthegTAAstructure:
aTestgenerationlayer
bTestdefinitionlayer
cTestexecutionlayer
dTestexecutionlayer
Considerthefollowingcapabilitiesassociatedwiththeselayers. Acquireallthenecessaryresourcesbeforeeachtestandreleaseallafterrun,inordertoavoid interdependencesbetweentestAllowtheautomatedtestscriptsonanabstractleveltointeractwith components,configurationsandinterfacesoftheSUT
Designtestdirectivesthatallowconfiguringthealgorithmsusedtoautomaticallyproducethetestcasesa givenmodeloftheSUT
Allowthedefinitionandimplementationoftestcasesanddatabymeansoftemplatesand/orguidelines. WhichofthefollowingBESTmatcheseachlayerwiththeappropriatecapability?
Aa-3,b-4,c-1,d-2
Ba-4,b-3,c-1,d-2
Ca-4,b-3,c-2,d-1
Da-3,b-4,c-2,d-1
Answer:C
4Youareevaluatingseveraltestmodellingtoolsandarewantingtoautomaticallygeneratetestcases withinthetoolwheremanydifferentcombinationsofinputdataarecreated
Youarethenwantingtoexportthetestcasesintoacsvfilewhichcanthenbereadbyafunctionaltest executiontoolusingadata-drivenorkeyword-drivenscriptingmethod
Youhaveinvestigatedseveraltoolsandthereisonlyonetoolthatprovidesallthenecessaryfeatures definedbyyourteamwiththeexceptionoftheexportfacilityItdoesnotprovideanexportintoeitherxls orcsvformats
WhatwouldbetheBESTnextstepregardingtheselectionofthistool?
AConsideranothertoolthatismore“fitforpurpose"andhasallthefeaturesrequired BExplorethepossibilityofcreatingyourownexportfacility
CAskthevendoranduseforumstoseeifasolutionisavailableorgoingtobeavailableinthefuture DPurchasethistoolandgeneratethecsvfilemanually
Answer:C
5YouareusingagTAAtocreateaTASforaprojectTheTASisaimedatautomaticallyandexecuting testcasesbasedonause-caseModelingapproachingthatusesUMLasamodelinglanguage.Allthe interactionbetweenTASandSUTwillonlybeattheAPIandGUIlevel
WhichofthefollowingcomponentsofthegTAAwouldyouEXCLUDEfromtheTAS?
AThetestreportingcomponentofthetestexecutionlayer
B.TheTestexecutioncomponentofthetestgenerationlayer
CThetestexecution(testengineofthetestexecutionlayer
DTheCommandLineInterface(CLI)componentofthetestadaptationlayer
Answer:D
6Whichofthefollowingdescribeshowatestexecutionreportislikelytobeused?
ATounderstandwhichteststepcausedthefailureinatestcase
BToidentifyproblematicareasoftheSUTbykeepingahistoryshowingwhichtestcasesfailthemost CTomeasurecoverageofthetestbasisbyatestsuite
DTorecordhowatestcasefailurehasbeenfixed
Answer:B
Explanation:
Reference:https://wwwguru99com/how-test-reports-predict-the-success-of-your-testing-projecthtml
7WhatisNOTafactorinconsideringwhenyouareaskedtoensureaneffectivetransitionfrommanual toautomatedtests?
AComplexitytoautomatethemanualtestcases
B.Correctnessoftestdataandtestcases
CThelookandfeeloftheSUT
DThecontrollabilityoftheSUT
Answer:C
8Whatrepresentsgoodpracticewhenautomatingamanualregressiontestsuite?
ATestdatasharedbetweentestsshould,wherefeasible,bestoredandaccessedfromasinglesourceto avoidduplicationorintroductionoferror
BAllexistingmanualtestsshouldbedecomposedintoseveralsmallerautomatedteststoreduce functionaloverlap
C.Removeinter-dependenciesbetweenteststoreduceautomationfailuresandcostlyerroranalysis.
DOnceamanualtesthasbeenautomated,executeitimmediatelytoIdentifywhetheritoperates correctly.
Answer:D
Explanation:
Reference:https://wwwsoftwaretestinghelpcom/manual-to-automation-testing-process-challenges/
9Yourfunctionalregressiontestautomationsuiteransuccessfullyforthefirsttwosprintsandnofailures wereencounteredduringtherunsTheautomationsuiterecordsthestatusofeachtestcaseaseither 'pass'or'fail'andhasexcellentrecoverycapabilitybuiltin
Forthethirdsprint,theTASlogreportedseveraltestcaseswithastatusof'fail'Youinvestigatedeach testcaseandfoundthatmostfailureswereduetoadefectinoneofthekeywordscripts,ratherthanin theSUTForthosewherethefailurewasintheSUT,defectreportswereraisedbutseveralwerereturned bythedevelopersaskingformoreinformationtoenablethemtoreproducetheproblem.
WhichadditionallogitemsSHOULDyouaddtotheTASthatwouldBESTimprovefailureanalysisand defectreportingforfuturesprints?
a)DynamicmeasurementinformationabouttheSUT
b)AstatusofTASerror’,inadditionaltopass'and'fail',foreachtestcase.
c)Useofacolourcodingschemesothat'pass’isinredandfail'isingreen
d)Acountertodeterminehowmanytimeseachtestcasehasbeenexecuted
e)Systemconfigurationinformationincludingsoftware/firmwareandoperatingsystemversions
f)AcopyofthesourcecodeforallKeywordscriptsexecuted Aaandb Bdande Caandc Dbande Answer:B
10.Youareplanningthepilotforanin-housedevelopedTestAutomationsolution(TAS).
Whichtwoofthefollowingwouldbeimportantstepstotakeaspartoftheplanningprocess?
a)Reviewyourorganisation'scurrentprojectsandidentifywhichonewouldbemostsuitabletopilotthe TAS
b)EnsurethatthedeveloperswillprovidethenecessarycommitmentfortheTASdeploymentactivities.
c)RunaseriesoftrainingworkshopsfornewusersoftheTASbeforetheyareaskedtouseit
d)Developaprojectplanforthepilotandreservethenecessarybudgetandresourcesforits implementation
e)Askthedeveloperstoprovideanymissingfunctionalityduringthedeploymentactivities
Aaandb
Bbandd Ccandd
Dcande Answer:B
11TheGUIofaCustomerRelationshipManagement(CRM)applicationhasbeendeliveredthrough
internetExplorerwithproprietaryActiveXandJavacontrols.Thisimplementationenablesrichclient capabilities,butspecificcommercialautomationtoolsarenecessarytoautomatetestcasesatGUIof functionaltestcases.Thisistodemonstratewhetherasmallsetofthecommercialareabletoproperly recognizeactionstakenbyatesterwheninteractingwithGUIoftheCRMapplication
WhichofthefollowingscriptingtechniqueswouldbeMOSTsuitableinthisscenario?
AData-drivenscripting
BKeyword-drivenscripting
CLinearscripting
DStructurescripting
Answer:D
12.WhatarethefourhorizontallayersofthegTAA?
ATestadaptation,testexecution,testdesign,testdefinition
B.Testgeneration,testexecution,testdefinition,testAPIs
CTestgeneration,testdefinition,testexecution,testadaptation
D.Testdefinition,testexecution,testreporting,testadaptation
Answer:C
Explanation:
Reference:https://wwwslidesharenet/jannatindia/chapter-3-the-generic-test-automation-architecture
13Youhaveimplementedakeyword-drivenscriptingframework,whichusesatestexecutiontooltorun thetestsThishasbeeninuseforthepastyearandalloftheteamsnowusethisframeworkasthe standardapproachfortestexecution
TheteamsallworkondifferentaspectsoftheSUTandtheyhaveallexperiencedsignificantbenefitsin theuseofthisscriptingframeworkHowever,oncloserexamination,youhavediscoveredthatthereare numerousinstanceswheretheteamshavethesamefunctionalitytotestbutareusingdifferentkeywords Oneofyourobjectivesforimprovementistocreateconsistencyamongtheteams
WhatistheBESTwaytohandlethissituation?
A.Movetoamodel-basedapproachtoscriptingwherethemodelsincludethekeywords.
BDonothing,eachteamareworkinginisolationandtheyareallexperiencingsignificantbenefitsinthe waytheyarecurrentlyworking.
CProvideeachteamwithasetofguidelinesandnamingconventionsforkeywords
D.Createacentrallibraryofkeywordsandassociateddefinitionsforeachteamtouse.
Answer:D
Explanation:
Reference:https://wwwscriptworksio/blog/automation-testing-framework/