Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution...
Transcript of Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution...
![Page 1: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/1.jpg)
Test AutomationPROCESS & STRATEGIES
![Page 2: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/2.jpg)
Why Automation?
- Reduced Cost
- Reduced Effort
- Reduced Time
- Enhanced Quality
- Reusability
- Consistency
Manual Testing
• is time and cost consuming
• presents difficulty testing for multilingual sites
• can become boring and hence error prone
Automation Testing
• does not require Human intervention. You can run automated
test unattended (overnight)
• increases speed of test execution
![Page 3: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/3.jpg)
Automation Process
Test Tool Selection
Criteria
Defining Scope of Automation
What to Automate?
What not to Automate?
Planning, Design, Development &
Execution
![Page 4: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/4.jpg)
Test Tool Selection
• Rate the tool against the features list required by automation team
Functionality
• How easy it is to learn and adapt?
• Availability of trainingsUsability
• Is the tool compatible with the application?
Compatibility
• Licensing policy of the tool
Flexibility
• How good is support by the tool
• Online user community?Support
• € O $ £ : After all.
Affordability
![Page 5: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/5.jpg)
What to Automate?
Test Cases that are executed repeatedly and are time consuming
Test Cases that are tedious and don’t require manual intervention
Test Case that can survive the functional changes around them
Test Cases that have clear pass/fail criteria
Test Cases that are newly designed and not executed manually at least once
Test Cases for which the requirements are changing frequently
What Not to Automate?
![Page 6: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/6.jpg)
Planning, Design, Development & Execution
Automation tools selected
Framework design and its features
In-Scope and Out-of-scope items of automation
Automation test bed preparation & test case
execution
Deliverables of automation testing
Maintenance becomes necessary to improve
effectiveness of Automation Scripts.
![Page 7: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/7.jpg)
Selenium Automation Frameworks
Hybrid framework is a combination of Modular and Data driven framework
Utilizes the best technologies and resources to do the job
![Page 8: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/8.jpg)
Open source testing framework inspired from JUnit and NUnit but more powerful and easier to use
NG of TestNG means Next Generation
Eliminates most of the limitations of the older framework and gives the tester the ability to write more flexible and
powerful tests with help of easy annotations, grouping, sequencing & parameterizing
Benefits
It gives the ability to produce HTML Reports of execution
Annotations made testers life easy
Test cases can be Grouped & Prioritized more easily
Parallel testing is possible
Generates Logs
TestNG Framework
![Page 9: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/9.jpg)
TestNG Framework
![Page 10: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/10.jpg)
Recording
![Page 11: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/11.jpg)
Export
![Page 12: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/12.jpg)
TestNG Framework
DRIVER SCRIPTPAGE OBJECTS APP MODULES
![Page 13: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/13.jpg)
Functional Libraries
LogsUtilities Excel Utilities
Excel
Actual Results
Expected Results
Test Case
01
Test Case
02
Test Case
03
![Page 14: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/14.jpg)
TestNG Framework
Page Objects App Modules
Driver Script
Test Case
01
Test Case
02
Test Case 03
Functional Libraries
LogsUtilities Excel Utilities
Excel
Actual Result
Recording Export
Excel
Expected Result
![Page 15: Automated Functional Testing · 2015. 2. 18. · Planning, Design, Development & Execution Automation tools selected Framework design and its features In-Scope and Out-of-scope items](https://reader034.fdocuments.in/reader034/viewer/2022051823/5fee46f53981be0be22215c1/html5/thumbnails/15.jpg)
Thank You!QUESTIONS?