Building up test automation from scratch the inno games way
-
Upload
rainar-uett -
Category
Technology
-
view
197 -
download
0
Transcript of Building up test automation from scratch the inno games way
![Page 1: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/1.jpg)
![Page 2: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/2.jpg)
2
![Page 3: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/3.jpg)
3
à Developerwithobsessionforqualityandautoma7onà HeadofQualityEngineering&QAatInnoGamesà Since2005inonlineentertainmentà Agile,con7nuousdelivery,automa7on
ABOUTMYSELF
hNp://www.linkedin.com/in/rainar@rainary(
![Page 4: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/4.jpg)
4
AUTOMATEDTESTINGINGAMINGLIKEAMYSTICALUNICORN
Automatedtes7ngofgamesislikethemythicalUnicorn-Everyoneisspeakingaboutit,butnoonehasreallyseenit
![Page 5: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/5.jpg)
5
IndustryStandardExcusesà No7meà NotoolsGamedevelopersExcusesà Complexuserinterfacetechnologiesà Heavygamelogic
WHYAUTOMATIONINGAMESHASN’TYETHADITSBREAKTHROUGH
![Page 6: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/6.jpg)
6
Gamesareso)ware.Ifitispossibletoautomateso)waretes4ngitshouldbepossibletoautomategamestes4ng
![Page 7: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/7.jpg)
7
SCOPE
Focus
![Page 8: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/8.jpg)
8
§ Timetomarket§ Dependencytoexternalproviders§ Cost
WHYWEDECIDEDTOSWITCH
![Page 9: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/9.jpg)
9
WHATWEHAD?
Organisa7on§ QAsi]nginaseparatedroom§ Resourcessharedacrossmul7ple
projects
Skills§ Productexper7se§ Knowhowtes7ngworks§ Curiosity
§ 0automatedtests§ 1testerwithexperienceofwri7ng
code§ Ratherscep7ca]tudefromthe
products
![Page 10: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/10.jpg)
10
WHATWEHAD?
![Page 11: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/11.jpg)
11
WHATWEWANTEDTOHAVE
![Page 12: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/12.jpg)
12
CHANGES
Understand§ Benefitsofautoma7on§ Gamestech.solu7ons§ Basiccoding
§ Testersworkcloselywithdeveloper
§ Dedicatedtestersforeachproduct
Organisa7on§ QAsi]nginaseparatedroom§ Resourcessharedacrossmul7ple
projects
Skills§ Productexper7se§ Knowhowtes7ngworks§ Curiosity
![Page 13: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/13.jpg)
13
Businesspeoplecaninterpretnumbers–showthemhowmuch4meorcostarewesaving
WHENNOTEVERYONEISONBOARD
![Page 14: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/14.jpg)
14
Developersunderstandvaluesofautoma4on,buttheydon’talwaysunderstandthetes4ngprocess–showthemaworkingsolu4onandtheywillembraceit
![Page 15: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/15.jpg)
15
Benefitsofautoma7onà Fasterà Cheaperà Increasecoverageà Moreaccurate
à Feedback
WHENEVERYONEISNOTONBOARD
WHENNOTEVERYONEISONBOARD
![Page 16: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/16.jpg)
16
DEVELOPMENTPROCESSMANUALQA
Featureready?
IntegrateUnittestimplement
Versioncontrol
test
Reproduce
Fix
UserStory
BugFound!
Developmentprocess Testprocess
![Page 17: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/17.jpg)
17
DEVELOPMENTPROCESSAUTOMATEDQA
Unittest Integrate releaseimplement
Automatedtests
Bugfoun
d
Fix
Featureready!
UserStory
![Page 18: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/18.jpg)
18
FEEDBACK
Lifecycleofadefect
Developer Tester PM Developer Tester Ops
Manual DevelopCheck-incode
CheckoutTest
OpenbugPriori7zebug Fixbug Retest
Closebug Deploy
Automated
DevelopCheck-incodeAutomated
testFix
Finalchecks Deploy
![Page 19: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/19.jpg)
19
à Gettheorganisa7onrightà Getthetestersonboardà Geteveryoneelseonboardà Increaseskillsetandawarenessofautoma7on
TAKEAWAYS
![Page 20: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/20.jpg)
20
Part2–Technicalsolu7ons
![Page 21: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/21.jpg)
21
à SupportvarietyofUI-s– Flash– Cocos2dx
à iOSà Android
– UnrealEngineà iOSà Android
– HTML5+AngularJS– AdobeAir
à Genericsolu7onà Enabledatadriventes7ngà Easytoscript
TECHNICALREQUIREMENTS
![Page 22: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/22.jpg)
22
AUTOMATIONTECHNIQUES
UIobjectaccess ScreenshotrecogniKon
• Builtintostandardtechnologies(HTML,na7vemobile)
• Faster• Fail-safe• Dynamic
• Workseverywhere• Easytoscript
à Waystoperformautomatedendtoendtes7ng– UIobjectaccess– Imagerecogni7on
![Page 23: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/23.jpg)
23
HOWUIWORKS?
Container
UIObjectUIObject
UIObject
UIObject
UIObject
UIObject
UIObject
xcoordinateycoordinateObjecttype*Value
• IsObjectpresentonscreen• Performaninput• Readobjectvalue• Changeobjectvalue
![Page 24: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/24.jpg)
24
SUPPORTINGSEVERALTECHNOLOGIES
GAME1
UIContainer
SELENIUM
Testcloud
Test
Test
Test
Test
![Page 25: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/25.jpg)
25
SUPPORTINGSEVERALTECHNOLOGIES
GAME1HTML5 UI
Container
SELENIUM
Testcloud
Test
Test
Test
GAME2Cocos2dx UI
Container
PLUGIN1
GAME3UnrealEngine UI
Container
PLUGIN2
![Page 26: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/26.jpg)
26
SUPPORTINGSEVERALTECHNOLOGIES
Testcloud
Test
Test
Test
GAME2Cocos2dx UI
Container
PLUGIN1
GAME3UnrealEngine UI
Container
PLUGIN2
Proxy
![Page 27: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/27.jpg)
27
Help–I’vecreatedmyfirst200testsandI’mspendingmostofmy4memaintainingit?
![Page 28: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/28.jpg)
28
à Modelesapplica7onundertestaspagesà Reducestestcodeà Testsmorereadableà Easiermaintenance
PAGEOBJECTSPATTERN
Webpages
Testframework
LoginPage
Registra7onPage
LoginTest
![Page 29: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/29.jpg)
29
SAMPLETESTCODE
packagecom.innogames.qa.iforge.tests.ba(le.campaignmap;importcom.innogames.qa.iforge.testcommon.SimpleTestTemplateWithLogin;importnet.thucydides.core.annotaKons.WithTagValuesOf;importorg.junit.Test;/***ThistestchecksifArmyManagementwindowcanbeopenedproperlyonthecampaignmap*/@WithTagValuesOf({"feature:BaNle","story:CampaignMap","level:Smoke"})publicclassFOE1363extendsSimpleTestTemplateWithLogin{@TestpublicvoidopenArmyManagementWindowFOE1363(){player.atCityScreen().clicksExpandBuNonInMainMenu();player.atCityScreen().clicksArmyManagementBuNon();player.atArmyManagementPage().shouldSeeArmyManagementWindow();player.atArmyManagementPage().clicksCloseBuNon();}}
![Page 30: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/30.jpg)
30
TIMELINE
2013 20152014~200testsw
ri(en
~1500autom
ated
testcases
~2500autom
ated
testcases
Trainings
Firstsmok
etestsp
rojects
010203040506070809101112 010203040506070809101112 010203040506070809101112
![Page 31: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/31.jpg)
31
à Startwiththeeasiestsolu7onà Donotkeeplookingfortheperfecttool–thereisnoneà Takingcareaboutautoma7ontoolsbuildingandtrainingsisafull7mejobà Buildatoolforyourtesters,notforyourself
TECHNICALSOLUTION-TAKEAWAYS
![Page 32: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/32.jpg)
32
à Automa7onisapplicablefortes7nggamesà BreakingawayfromtheoldmindsetmightbedifficultTosucceed:à Createaorganisa7onalstructurethatsupportsautomatedtes7ngà Makesureeverybodyunderstandsthevaluesaddedbyautoma7onà Therearenoperfecttechnicalsolu7onforanyofthedomain,youhavetomakethem
work!
CONCLUSION
![Page 33: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/33.jpg)
33
Q&A
Q&A
hNp://www.linkedin.com/in/rainar@rainary(
![Page 34: Building up test automation from scratch the inno games way](https://reader031.fdocuments.in/reader031/viewer/2022022413/58ef53911a28ab02358b460d/html5/thumbnails/34.jpg)
34
ThankYou!
Q&A
hNp://www.linkedin.com/in/rainar@rainary(