Automated message sender using Selenium Python
- Webdriver now only works for Google Chrome for now
- Auto login into Microsoft Teams with credentials provided.
- Navigate to chat panel of the application.
- Search for receiver of message.
- Send the following message to the receiver.
- Create a
info.json
file. - Fill in info into json file created based on the format shown in code block below.
- Run
py main.py
.
{
"credentials" :
{
"email" : "TP012345@mail.apu.edu.my",
"password" : "123456"
},
"message_info":
{
"intake_code" : "ABC1234",
"survey_type" : "online survey",
"survey_topic": "What are the factors influencing students' academic performance",
"course_type" : "Foundation",
"course_name" : "ABC",
"form_link" : "https://www.abc12345.com/"
},
"receivers" :
{
"start_tp": "061200",
"end_tp": "061205"
}
}
Hey, my group and I from intake_code
course_type
are currently conducting an survey_type
for our course_name
assignment
We would appreciate the help of yours at spending a short 5 mins to fill up the survey about survey_topic
.
Much appreciated! Thank you in advance and have a great day! form_link
"