Magento applications and modules functional testing
-
Upload
neklo -
Category
Engineering
-
view
388 -
download
8
Transcript of Magento applications and modules functional testing
![Page 1: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/1.jpg)
Magento applications and modules functional
testing
![Page 2: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/2.jpg)
About meIgor Bondarenko Test Lead 10 years in QA Founder of QA Club
Minsk Community
![Page 3: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/3.jpg)
Our extensions
Extend payment method
Add new delivery method
Customize all images in catalog
Instagram widget
![Page 4: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/4.jpg)
What to test?
• Installation testing• Main functionality testing• Image processing testing• Catalog and Product Page testing• Payment methods testing• Shipping methods testing• Tests automation• …
![Page 5: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/5.jpg)
Installation testing: Problems
• Compatibility with Magento Versions:– Community Edition 1.4.x – 1.9.x– Enterprise Edition 1.12.x – 1.13.x
• Compatibility of own extensions• Compatibility with third party extensions
![Page 6: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/6.jpg)
Solving the problems
Problem: Compatibility with a lot of Magento versions
Solution:Virtual Machines server with CI tool integration
![Page 7: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/7.jpg)
Solving the problems
Problem: A lot of compatibility tests
Solution:• Pairwise• Boundary values testing
![Page 8: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/8.jpg)
Solving the problems
Problem: Compatibility with third party extensions
Solution:• Do NOT test• Testing on copy of working Magento
![Page 9: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/9.jpg)
Something else?
• Version update testing• Activation\Deactivation testing• Deletion testing
![Page 10: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/10.jpg)
Main functionality
![Page 11: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/11.jpg)
Image processing
• Check all file types• Test on all image sizes• Check all places on site
![Page 12: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/12.jpg)
Working with product
• Check both HTTP & HTTPS• Test on different languages• Perform cross browser testing• Install custom color theme on Magento• FPC
![Page 13: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/13.jpg)
Payment methods
• Adding\Editing of one payment method should NOT affect the rest
• Checking all payment methods• Multishipping testing• Registration on checkout• Guest checkout
![Page 14: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/14.jpg)
Shipping methods
• Adding\Editing of one shipping method should NOT affect the rest
• Checking all shipping methods
![Page 15: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/15.jpg)
Perfomance testing
![Page 16: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/16.jpg)
Clent side perfomance
• Test with real data• Test with real loading
![Page 17: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/17.jpg)
MagentoConnect
• Create a package• Upload package• Install package from MagentoConnect• Unpack and install per file
![Page 18: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/18.jpg)
What to automate?
• VM Creation• Installation• Test data preparation• UI Testing
![Page 19: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/19.jpg)
Selenium IDE
• Quick tests• Support a lot of programming languages• No frameworks• Could be used in future WebDriver tests• Could be attached to defects
![Page 20: Magento applications and modules functional testing](https://reader034.fdocuments.in/reader034/viewer/2022051521/5877d66d1a28abaa6c8b546f/html5/thumbnails/20.jpg)
Key success points
• Prepare the test environment• Check how your extension affect all the
system• Check client side performance• Automate complex and routine tasks