https://github.com/baloise/test-automation-framework
https://github.com/baloise/test-automation-framework
quality-assurance selenium-java testautomation
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/baloise/test-automation-framework
- Owner: baloise
- License: mit
- Created: 2015-06-24T11:31:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-06-13T15:13:42.000Z (over 1 year ago)
- Last Synced: 2025-03-31T07:21:42.232Z (11 months ago)
- Topics: quality-assurance, selenium-java, testautomation
- Language: Java
- Size: 870 KB
- Stars: 2
- Watchers: 33
- Forks: 11
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: docs/CODEOWNERS
Awesome Lists containing this project
README
# test-automation-framework (TAF)
[](https://app.codacy.com/app/baloise/test-automation-framework?utm_source=github.com&utm_medium=referral&utm_content=baloise/test-automation-framework&utm_campaign=Badge_Grade_Dashboard)
[](https://gitpod.io#https://github.com/baloise/test-automation-framework)
[](https://github.com/baloise/test-automation-framework/actions)
# TAF is a test automation framework based on JUnit and Selenium
```
it can be used for Java Swing and Web Applications (HTML)
```
## goals
- improve efficiency in test automation
- minimize manual intervention
- maximize robustness
- reusability of code
## benefits
- Tests can be executed with multiple data sets
- Multiple scenarios can be tested quickly by varying the data, thereby reducing the number of scripts needed
- Hard-coding data can be avoided so any changes to the test scripts do not affect the data being used and vice versa
- You’ll save time by executing more tests faster
## key ideas
- separation of test data from code - use same code or script for different combinations of test input data
- store test data in external data sources such as Excel
Filling and checking via generic methods fill() and check(). Whether and what to be filled is controlled via the data pool
- value (fills an input field with the value of a specific excel-cell)
- blank (empties the input field)
- {skip} skips the field and leaves it in the state it is.
The check-method works similar to the fill-method:
- value
- {skip}
Within Excel, the formatting and formula-functionality can be used for defining test input or expected result-data. Dynamic data: an input date "=today()+30"
Certain convenience methods can be used
Object recognition (html) possible via
- id
- labels
- xpath
## built upon
Selenium
JUnit before after
interface to Jira -> reporting of test case status
Jenkins-jobs