Post on 14-Apr-2017
My Background
• Thiep, Truong Xuan – QA Architect at KMS Technology VN
• 3 yrs+ experience in software development
• 10 yrs+ experience in software testing
• BS in Mathematics and Computer Sciences, major: Abstract Analysis
• Hobbies: Martial Art, Foosball, Motorcycle, etc.
• Contact:
• Personal email: truongxuanthiep@gmail.com
• Skype: truongxuanthiep
• Mobile: 0902 862 622
2
Test Automation Framework
• Needs
• Intermediate &
Advanced Users
• Architecture: File
system & Database
• Application Support:
Web, API, Mobile,
etc.
• Features:
keyword/data driven,
distributed
execution, etc.
5
http://www.zenqconnect.com/services/TestAutomation.aspx
Web Application Testing
• Libraries selection
• Across browsers (desktop only)
• M dot sites (mobile only)
7
http://static.thetechjournal.net/wp-content/uploads/2011/05/online-tools.jpg
Mobile Native Apps
• Libraries selection
• User defined controls
• MDM integration
8
http://kochartech.com/blog/2013/05/13/mobile-device-management-cloud-or-on-premise/
Web Services
• Libraries selection
• Algorithms to extract/validate data from responses
• Security
9
http://di-side.com/it/di-side/services/web-solutions/rest-webservice-symfony/
Keyword, Data Driven
• Built-in keywords
• User defined keywords
• Data: location, formats
• Data population, looping and filtering
13
http://www.ranorex.com/blog/keyword-driven-test-automation-framework
Flow Controls
• Controlling test steps
• Error handling
• Condition & loop expressions
• Invoke test script
14
Execution & Historical Reports
• Needs
• Information
• Rerun Failed
Cases
• Bug tracking
system integration
16
Scheduling
• Automatically detect changes and start running your test
suite
• OS native scheduling tools
• Leverage CI systems like Jenkins
19
Notification
• We will be automatically informed when running a test
suite is completed
• Leverage CI systems like Jenkins
• Implement a feature for email notification
21
Distributed Execution
• Selenium Grid
• Suggested solution
23
http://www.codeproject.com/Articles/9415/Distributed-Command-Pattern-an-extension-of-comman
Load Balancing
• Save execution time and leverage all idle systems
• Suggested solution (for DB only)
25
Summary
• TAF supports applying automation testing
• TAF’s users define how a TAF looks like
• Application types: Web/API/Mobile, etc.
• File system versus Database
• Necessary features
• Evaluate and select appropriate tools/libraries
28