Professional Documents
Culture Documents
Automation Test Framework - Studied
Automation Test Framework - Studied
13. What are the guidelines to create best test automation frameworks?
Creating generic functions that are not dependent on the application
Common data (non-application specific data) should be dynamically generated
within the script rather than referencing a Test Data sheet.
Create object repository which contains the objects for the GUI based validation
testing. Any change in GUI objects is modified at a central location, thereby
avoiding rework of scripts
A Reporting or Logging Mechanism should be configured so that test results
generated during the execution phase are easily accessible and understood
Global Variables and Constants should be used in the automation test suite
wherever possible. These provide the flexibility to modify references dynamically
and ensure test suite maintainability
Recovery Scenarios help the automation script flow to follow a definite execution
flow or path whenever unexpected exceptions arise during the script execution
Cleanup Scripts should be developed for both conditions – after successful
execution of the script and at end of the recovery scenario invocation
14. What are the different types of framework available? Explain them