Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added Python/.DS_Store
Binary file not shown.
32 changes: 32 additions & 0 deletions Python/test_alarm.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Generated by Selenium IDE
import pytest
import time
import json
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

class TestAlarm():
def setup_method(self, method):
self.driver = webdriver.Chrome()
self.vars = {}

def teardown_method(self, method):
self.driver.quit()

def test_alarm(self):
self.driver.get("http://127.0.0.1:5501/index.html")
self.driver.set_window_size(1440, 900)
self.driver.find_element(By.CSS_SELECTOR, "#alarm-tab > span").click()
self.driver.find_element(By.ID, "nav-toggle-layer").click()
self.driver.find_element(By.ID, "alarmTimeInput").click()
self.driver.find_element(By.ID, "alarmTimeInput").click()
self.driver.find_element(By.ID, "alarmTimeInput").send_keys("10:54")
self.driver.find_element(By.ID, "alarmNotesInput").click()
self.driver.find_element(By.ID, "alarmNotesInput").send_keys("Eggs")
self.driver.find_element(By.CSS_SELECTOR, ".alarmModal-saveBtn").click()

58 changes: 58 additions & 0 deletions Python/test_calender.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Generated by Selenium IDE
import pytest
import time
import json
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

class TestCalender():
def setup_method(self, method):
self.driver = webdriver.Chrome()
self.vars = {}

def teardown_method(self, method):
self.driver.quit()

def test_calender(self):
self.driver.get("http://127.0.0.1:5501/index.html")
self.driver.set_window_size(1440, 900)
self.driver.find_element(By.CSS_SELECTOR, "#calendar-tab > span").click()
self.driver.find_element(By.ID, "nav-toggle-layer").click()
self.driver.find_element(By.CSS_SELECTOR, ".calendar-cell:nth-child(18)").click()
self.driver.find_element(By.ID, "add-event-btn").click()
self.driver.find_element(By.ID, "event-name").click()
self.driver.find_element(By.ID, "event-name").send_keys("Eggs")
self.driver.find_element(By.ID, "event-date").click()
self.driver.find_element(By.ID, "event-date").click()
self.driver.find_element(By.ID, "event-date").send_keys("2024-04-09")
self.driver.find_element(By.ID, "event-start-time").click()
self.driver.find_element(By.ID, "event-start-time").click()
self.driver.find_element(By.ID, "event-start-time").click()
self.driver.find_element(By.ID, "event-start-time").click()
self.driver.find_element(By.ID, "event-start-time").click()
self.driver.find_element(By.ID, "event-start-time").send_keys("10:56")
self.driver.find_element(By.ID, "event-end-time").click()
self.driver.find_element(By.ID, "event-end-time").click()
self.driver.find_element(By.ID, "event-end-time").send_keys("00:59")
self.driver.find_element(By.CSS_SELECTOR, "#event-form-data > label:nth-child(9)").click()
self.driver.find_element(By.ID, "event-notes").click()
self.driver.find_element(By.ID, "event-notes").send_keys("Watch")
self.driver.find_element(By.CSS_SELECTOR, "input:nth-child(13)").click()
element = self.driver.find_element(By.CSS_SELECTOR, "input:nth-child(13)")
actions = ActionChains(self.driver)
actions.move_to_element(element).perform()
element = self.driver.find_element(By.CSS_SELECTOR, "body")
actions = ActionChains(self.driver)
actions.move_to_element(element, 0, 0).perform()
self.driver.find_element(By.CSS_SELECTOR, ".calendar-cell:nth-child(40)").click()
self.driver.find_element(By.ID, "next-month-btn").click()
self.driver.find_element(By.ID, "next-month-btn").click()
self.driver.find_element(By.CSS_SELECTOR, ".modal-content").click()
self.driver.find_element(By.CSS_SELECTOR, ".close").click()
self.driver.find_element(By.ID, "next-month-btn").click()

29 changes: 29 additions & 0 deletions Python/test_login.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Generated by Selenium IDE
import pytest
import time
import json
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

class TestLogin():
def setup_method(self, method):
self.driver = webdriver.Chrome()
self.vars = {}

def teardown_method(self, method):
self.driver.quit()

def test_login(self):
self.driver.get("http://127.0.0.1:5501/signin.html")
self.driver.set_window_size(1200, 741)
self.driver.find_element(By.ID, "login_email").click()
self.driver.find_element(By.ID, "login_email").send_keys("[email protected]")
self.driver.find_element(By.ID, "login_password").click()
self.driver.find_element(By.ID, "login_password").send_keys("123456")
self.driver.find_element(By.ID, "signinSubmit").click()

34 changes: 34 additions & 0 deletions Python/test_signIn.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Generated by Selenium IDE
import pytest
import time
import json
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

class TestSignIn():
def setup_method(self, method):
self.driver = webdriver.Chrome()
self.vars = {}

def teardown_method(self, method):
self.driver.quit()

def test_signIn(self):
self.driver.get("http://127.0.0.1:5501/signup.html")
self.driver.set_window_size(1200, 741)
self.driver.find_element(By.ID, "fullname").click()
self.driver.find_element(By.ID, "fullname").send_keys("tanuj")
self.driver.find_element(By.ID, "signup_email").click()
self.driver.find_element(By.ID, "signup_email").send_keys("[email protected]")
self.driver.find_element(By.ID, "signup_password").click()
self.driver.find_element(By.ID, "signup_password").send_keys("123456")
self.driver.find_element(By.ID, "confirm_password").click()
self.driver.find_element(By.ID, "confirm_password").send_keys("123456")
self.driver.find_element(By.ID, "signupSubmit").click()
assert self.driver.switch_to.alert.text == "Firebase: Error (auth/email-already-in-use)."

32 changes: 32 additions & 0 deletions Python/test_stopWatch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Generated by Selenium IDE
import pytest
import time
import json
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

class TestStopWatch():
def setup_method(self, method):
self.driver = webdriver.Chrome()
self.vars = {}

def teardown_method(self, method):
self.driver.quit()

def test_stopWatch(self):
self.driver.get("http://127.0.0.1:5501/index.html")
self.driver.set_window_size(1440, 900)
self.driver.find_element(By.CSS_SELECTOR, "#stopwatch-tab > span").click()
self.driver.find_element(By.ID, "nav-toggle-layer").click()
self.driver.find_element(By.CSS_SELECTOR, ".stopwatchClock").click()
self.driver.find_element(By.CSS_SELECTOR, ".stopwatchStartStopBtn").click()
self.driver.find_element(By.CSS_SELECTOR, ".stopwatchStartStopBtn").click()
self.driver.find_element(By.CSS_SELECTOR, ".stopwatchResetBtn").click()
self.driver.find_element(By.CSS_SELECTOR, ".stopwatchStartStopBtn").click()
self.driver.find_element(By.CSS_SELECTOR, ".stopwatchResetBtn").click()

49 changes: 49 additions & 0 deletions Python/test_toDoList.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Generated by Selenium IDE
import pytest
import time
import json
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

class TestToDoList():
def setup_method(self, method):
self.driver = webdriver.Chrome()
self.vars = {}

def teardown_method(self, method):
self.driver.quit()

def test_toDoList(self):
self.driver.get("http://127.0.0.1:5500/index.html")
self.driver.set_window_size(1440, 900)
self.driver.find_element(By.CSS_SELECTOR, "#todo-list-tab > span").click()
self.driver.find_element(By.CSS_SELECTOR, ".nav-header > button").click()
self.driver.find_element(By.ID, "new-task-input").click()
self.driver.find_element(By.ID, "new-task-input").send_keys("Medicine")
self.driver.find_element(By.ID, "task-location").click()
dropdown = self.driver.find_element(By.ID, "task-location")
dropdown.find_element(By.XPATH, "//option[. = 'Outdoor']").click()
self.driver.find_element(By.ID, "new-task-submit").click()
element = self.driver.find_element(By.ID, "new-task-submit")
actions = ActionChains(self.driver)
actions.move_to_element(element).perform()
element = self.driver.find_element(By.CSS_SELECTOR, "body")
actions = ActionChains(self.driver)
actions.move_to_element(element, 0, 0).perform()
self.driver.find_element(By.ID, "new-task-input").click()
self.driver.find_element(By.ID, "new-task-input").send_keys("Egg")
self.driver.find_element(By.ID, "new-task-submit").click()
element = self.driver.find_element(By.ID, "new-task-submit")
actions = ActionChains(self.driver)
actions.move_to_element(element).perform()
element = self.driver.find_element(By.CSS_SELECTOR, "body")
actions = ActionChains(self.driver)
actions.move_to_element(element, 0, 0).perform()
self.driver.find_element(By.ID, "new-task-input").click()
self.driver.find_element(By.CSS_SELECTOR, ".task-item:nth-child(2) > .delete-task-btn").click()

31 changes: 31 additions & 0 deletions Python/test_weatherTab.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Generated by Selenium IDE
import pytest
import time
import json
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities

class TestWeatherTab():
def setup_method(self, method):
self.driver = webdriver.Chrome()
self.vars = {}

def teardown_method(self, method):
self.driver.quit()

def test_weatherTab(self):
self.driver.get("http://127.0.0.1:5501/weather-web/index.html")
self.driver.set_window_size(1440, 900)
self.driver.find_element(By.CSS_SELECTOR, ".content > button").click()
self.driver.find_element(By.CSS_SELECTOR, "input").click()
self.driver.find_element(By.CSS_SELECTOR, ".content > button").click()
self.driver.find_element(By.CSS_SELECTOR, ".bx-left-arrow-alt").click()
self.driver.find_element(By.CSS_SELECTOR, "input").click()
self.driver.find_element(By.CSS_SELECTOR, "input").send_keys("Kolkata")
self.driver.find_element(By.CSS_SELECTOR, "input").send_keys(Keys.ENTER)

Binary file added SE_PROJECT(NOTIFICATION ALERT SYSTEM).pdf
Binary file not shown.
Binary file added TodoList/.DS_Store
Binary file not shown.
Binary file added TodoList/assets/addAlarm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added TodoList/assets/closenav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added TodoList/assets/navmenu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added TodoList/assets/oclogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added TodoList/assets/picture.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added TodoList/assets/timersound.mp3
Binary file not shown.
Binary file added TodoList/chromedriver
Binary file not shown.
Loading