Test Automation Architecture Flashcards

1
Q

Test Automation (Architechture) Layers

A
  • Test generation layer
  • Test definition layer
  • Test execution layer
  • Test adaptation layer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Test generation layer

A

supports manual or automated design of test cases

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

Test definition layer

A

supports the definition and implementation of test cases and /or suites

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

Test execution layer

A

supports both the execution of automated tests and the logging/reporting on the results

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

Test adaptation layer

A

provides the necessary objects and code to interface with the SUT (system under test) at various levels.

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

levels of interface that we can automate: Test Adaptation Layer

A
  • The GUI level
  • The API level
  • Private hooks
  • Protocol level (HTTP, TCP, etc.)
  • Service level (SOAP, REST, etc.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

TAA interacts with:

A
  • Project Management
  • Configuration Management
  • Test Management
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Test execution layer:

A
  • Test execution layer
  • Test logging
  • Test reporting
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Test Definition Layer

A
  • Test Conditions
  • Test Cases
  • Test Procedures
  • Test Data
  • Test Library
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Test Generation Layer

A
  • Manual Design

- Test Models

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

The separation of TAL from the SUT allows the test cases to be more abstract and disconnected from the SUT. ¿What could happen after a change in the SUT?

A
  • Ideally the test cases themselves may not need to change.
  • TAL, in this case WebDriver, allows modification of the automated test, allowing it to run against the modified interface of the SUT.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The automated script uses the API to communicate the test and the SUT as follows:

A
  • The test case calls for a task to executed
  • The script calls an API in WebDriver
  • The API connects to an object in the SUT
  • The object responds to the API
  • The API communicates success or failure back to the script

If successful, the next step in the test case is called in the script

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