๐Ÿ“ฆ LizhangX / auto_belt_grader

โ˜… 1 stars โ‘‚ 0 forks ๐Ÿ‘ 1 watching
๐Ÿ“ฅ Clone https://github.com/LizhangX/auto_belt_grader.git
HTTPS git clone https://github.com/LizhangX/auto_belt_grader.git
SSH git clone git@github.com:LizhangX/auto_belt_grader.git
CLI gh repo clone LizhangX/auto_belt_grader
Lizhang_Xie Lizhang_Xie make screenshot pop out in new tag 12e45fc 8 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ apps
๐Ÿ“ main
๐Ÿ“ media
๐Ÿ“„ .gitignore
๐Ÿ“„ db.sqlite3
๐Ÿ“„ ghostdriver.log
๐Ÿ“„ manage.py
๐Ÿ“„ README.MD
๐Ÿ“„ requirements.txt
๐Ÿ“„ README.md

Auto Belt Grader

Automation for belt exams.

  • unzip the belt
  • render the page as an image
  • count the number of unique html errors: http://validator.w3.org/
  • How to upload files into file inputs ?
  • Select the element and call the send_keys() method passing the file path, either the path relative to the test script, or an absolute path. Keep in mind the differences in path names between Windows and Unix systems.
  • count the number of unique css errors: https://jigsaw.w3.org/css-validator/
  • count the number of unique classes, and the number of ids
  • list the unique classes and ids used, for further inspection
  • check to see if width, height, style, or align attributes are used inside of the HTML
  • count the number of times you encounter a div with only a single child (even if that child has grand-children)
  • check html indentation