๐Ÿ“ฆ LizhangX / auto_belt_grader

๐Ÿ“„ README.MD ยท 25 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25# 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 <input type="file"> 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