design Flashcards

1
Q

What is Re-usability in test automation framework?

A

The framework should be designed keeping in mind the re-use of the utilities and common functionalities. It can be reused by multiple teams for solving the same purpose (UI/API/Mobile automation, DB connectivity, reading from/writing to files, etc.). The core functionality and capabilities should be decoupled from any specific projects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Extensibility in test automation framework?

A

It should be easy to integrate UI with any third-party libraries. It should be flexible enough to add new use cases in the future (e.g., UI supporting grid as per need, supporting API or WebSocket automation, etc.). The framework should be designed in a way that, in the future, if needed, the underlying core library (say WebDriver for UI) could be changed to something better without impacting any existing tests. It should be easy to integrate it with any CI (Continuous Integration) tools like Jenkins.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Maintainability in test automation framework?

A

The framework should be easy to understand, debug, and upgrade. Each method should have method comments, and any complex logic should be properly commented with the explanation. Adding more tests in the near future can result in an unmaintainable project. So, it is very important to use the right design pattern.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Reporting in test automation framework?

A

The report should be detailed and granular. Screenshots and failure stack trace should be attached as part of the report. The reports should be available in multiple formats and have enough information for the engineer to analyze the failure and help in debugging. We should be able to integrate with third-party reporting libraries like Allure and Extent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Adaptability in test automation framework?

A

The framework should be easy to adapt with minimum onboarding and ramp-up time for a new developer. The complex and repeated code should be encapsulated within the framework which will make life easy for an automation developer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the Supported platforms in test automation framework?

A

The framework should be platform agnostics and work seamlessly for Mac, Linux and Windows. The code should work in different IDE’s like Eclipse, Netbeans, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Build management in test automation framework?

A

The framework should be designed to support multiple build managements by test projects, such as Maven and Gradle.
The build management will help to compile, build, run the framework code and tests from the command line. It will also help in creating distributed jars.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Logging in test automation framework?

A

The framework should provide the capability to add multiple levels of logs (INFO, DEBUG, ERROR, etc.) in the test code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Documentations in test automation framework?

A

Proper documentation will be of great help. For example:
The java docs which can be generated, hosted and shared with the team.
Documents for writing tests - will help onboarding new team members easily.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly