Professional Documents
Culture Documents
DB Management - Altooro Wiki
DB Management - Altooro Wiki
DB management
DB management ¶
Background:
▸ Used for storing users that are gonna be used in the tests
DB Schema:
▸ alt_password
▸ gmail_password
▸ usage:
▸ restore: used for the forgot password tests, used a dedicated user type since the tests update the
alt_password, so a dedicated user type will limit the damage in case of bug in the tests
▸ registration: used for registration tests, those users get deleted at the end of a test, same reason as the
restore user for the dedicated user type
▸ single_login: depricated
DynamoWrapper:
Attribute in the Platform responsible for managing the users
Attributes:
https://wiki.altooro.com/en/DevOps/Automation/DynamoWrapper 1/2
2/14/22, 7:58 PM DB management | Altooro Wiki
▸ users(list) - a local modeling of the DB - used for storing an updated state of the DB locally, reduces DB queries
Functions:
▸ getuserfrom_db(usage) - gets a user that's not occupied with the specified usage from the upstream DB
▸ get_user(usage) - returns a user that's not occupied and has the specified usage
https://wiki.altooro.com/en/DevOps/Automation/DynamoWrapper 2/2