APPENDIX B: SAMPLE TEST AUTOMATION FRAMEWORK

Figure A.1 shows a sample framework created in Selenium and C# programming language for an ecommerce application.

Figure A.1 Test automation framework folder structure

images

The key folder details are provided in Table A.1 for the framework.

Table A.1 Test automation framework folder description

Folders

Description

Config

Stores the information that remains static throughout the framework such as browser-specific information, application URL, screenshots path.

Extensions

Extension Methods (C# Programming Guide): ‘Extension methods enable you to “add” methods to existing types without creating ...

Get Test Automation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.