Skip to content

test(aodocs-website): Raymond's AODocs selenium tech test code #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 39 commits into
base: main
Choose a base branch
from

Conversation

rburrowes
Copy link

What?

  1. .gitignore test results for source control
  2. Auto update Build Configuration from pom.xml file
  3. Update build configs:
    • maven.compiler.source
    • selenuim.version
    • webdrivermanager.version
  4. Hardcode WebDriverUtility.java with:
    • chromedriver.exe location
    • Chrome For Testing app location
  5. Implemented various test function files
  6. Implemented 1 test script
  7. Implemented some utility methods
  8. Implemented some validation methods

Why?

  1. Test results are not needed in source control. They should be stored elsewhere temporarily for reporting purposes.
  2. I found this to be more convenient, but if using the same IDE is not a rule then I would keep this for my local environment only.
  3. I could not launch a web session without these updates:
    • My system is running java version "20.0.2" 2023-07-18
    • Only after Selenium version 4.11.0 is Chrome For Testing supported
    • Only after webdrivermanager version 5.6.2 is Chrome For Testing supported
  4. To facilitate finding the Chrome driver and Chrome app on my system
  5. These function methods are the code for the test steps. Enables grouping of common code directly related to the test steps, in effect the actions of the user.
  6. I chose to execute all the test steps in 1 test case. I believe that all of the requirements can be met in 1 test case.
  7. These methods I considered to be not directly related to user actions but still useful.
  8. These methods exclusively code to facilitate validation.

Notes

  • Selenium is spelt selenuim in the pom.xml file. 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant