Practical Experience in Automated Testing at Pronto Marketing
-
Upload
kan-ouivirach -
Category
Technology
-
view
1.793 -
download
1
description
Transcript of Practical Experience in Automated Testing at Pronto Marketing
![Page 1: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/1.jpg)
Practical Experience in Automated Testing at Pronto Marketing
Thailand Practical Software Engineering Conference 2013
Poomjai Saeyong ft. Kan Ouivirach, PhD
![Page 2: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/2.jpg)
Speakers
Poomjai SaeyongAgile Tester at Pronto Marketing
Kan Ouivirach, PhDResearch and Development Engineer
at Pronto Marketing
![Page 3: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/3.jpg)
![Page 4: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/4.jpg)
Agile Testing Why Automated
Testing?
Automated Testing at Pronto
Marketing? Sins of Automation
![Page 5: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/5.jpg)
Agile Testing
![Page 6: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/6.jpg)
“Agile testing involves all members of a cross-functional Agile team, with special expertise contributed by testers, to ensure delivering the business value desired by the customer at frequent intervals, working at a sustainable pace.”
-- Wikipedia
What is Agile Testing?
![Page 7: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/7.jpg)
Haruka Miyashita
![Page 8: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/8.jpg)
![Page 9: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/9.jpg)
![Page 10: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/10.jpg)
![Page 11: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/11.jpg)
Why Automated Testing?
![Page 12: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/12.jpg)
Image credit: <a href='http://www.123rf.com/photo_23347055_close-up-image-of-human-hand-breaking-dollar-stone-symbol.html'>nexusplexus / 123RF Stock Photo</a>
![Page 13: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/13.jpg)
![Page 14: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/14.jpg)
![Page 15: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/15.jpg)
![Page 16: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/16.jpg)
Benefits
● Test faster● Consistency● Able to run over and over again with less
overhead (save time and money)● Improve accuracy, less human error● Increase test coverage
![Page 17: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/17.jpg)
Automated Testing at Pronto Marketing
![Page 18: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/18.jpg)
● Continuous Integration (CI)○ Buildbot
● Unit Test○ PHPUnit with WordPress Unit Tests http://core.
trac.wordpress.org/browser/tests● Functional Test
○ Selenium + Lettuce
Automated Testing Tools We Use
![Page 19: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/19.jpg)
Continuous Integration Process
![Page 20: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/20.jpg)
Buildbot for Continuous Integrationat Pronto Marketing
![Page 21: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/21.jpg)
PHPUnit with WordPress Unit Tests
![Page 22: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/22.jpg)
+
Functional Test
![Page 23: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/23.jpg)
Seleniumhttp://seleniumhq.org
![Page 24: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/24.jpg)
Lettucehttp://lettuce.it
![Page 25: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/25.jpg)
![Page 26: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/26.jpg)
● Test scripts are too fast.○ No problem for PHPUnit○ Big problem for Selenium + Lettuce
● Language we use in the features are too low level.
● Higher level language would cause a lot of duplicated and complicated steps.
Current Problems We Found
![Page 27: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/27.jpg)
Trade Off
![Page 28: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/28.jpg)
● Flawed comparison between manual test and automation
● Loving the UI so much that all tests are executed through the UI
● Too lazy to maintain automated tests
Sins of Automated Testing
![Page 29: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/29.jpg)
Thank [email protected]@prontomarketing.com
![Page 30: Practical Experience in Automated Testing at Pronto Marketing](https://reader034.fdocuments.in/reader034/viewer/2022051820/553892075503464e418b47fb/html5/thumbnails/30.jpg)
● Content from ○ http://www.methodsandtools.com/archive/archive.php?id=33○ http://www.agileengineeringdesign.com/2012/01/7-deadly-sins-of-
automated-software-testing/● Images from
○ https://plus.google.com/+BrunoOliveira/posts/MGxauXypb1Y○ http://www.ranorex.com/blog/integrating-ranorex-automation-in-
jenkins-continuous-integration-process○ http://www.33rdsquare.com/○ http://www.greenfieldbelser.com/
Credits