Skip to content

Tasztalos69/dtk-quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DTK Quiz filler

Automatically fill qualtrics DTK quizes

⚠️ Disclaimer ⚠️

This is just a fun hobby project, which only exists as a proof-of-work. Always fill in the quizes appropriately.

Requirements

  • Python 3
  • Firefox / Chrome

Installation & usage

1. Clone repo

git clone https://github.com/Tasztalos69/dtk-quiz.git && cd dtk-quiz

2. Install dependencies

# Linux & macOS
python3 -m pip install -r requirements.txt

# Windows
py -m pip install -r requirements.txt

If it throws an error No module named pip, make sure to install pip:

# Linux & macOS
python3 -m ensurepip --upgrade

# Windows
py -m ensurepip --upgrade

3. Run

# With Firefox
# Linux & macOS
python3 ./main.py firefox <quiz_url>

# Windows
py ./main.py firefox <quiz_url>


# With Chrome
# Linux & macOS
python3 ./main.py chrome <quiz_url>

# Windows
py ./main.py chrome <quiz_url>

This opens a browser, where you're greeted with the quiz. Fill in any personal data manually, and when on the page with the questions to be filled, return to the terminal, and press enter. The script should fill all fields until it reaches the end.

Don't worry if it pauses between pages, it should continue automatically.

About

This project emerged in a lunch break, and uses python and selenium. It's by far not complete, but it works.