This is define test scripts automation login function on website anotepad.com
- ObjectPage.py define xpath of https://anotepad.com/ Login page.
- WebInterface.py define custom action with Selenium Webdriver.
- Testing.py define test scripts and execute test scripts
Execute file Testing.py for execute testscripts. Include 6 test scripts:
#Testcase 1: check login span is exited
#Testcase 2: Check all information is displays after click login span
#Testcase 3: Login successful with user and pass
#Testcase 4: Login Failed with wrong email
#Testcase 5: Login failed with wrong password
#Testcase 6: Login failed with both wrong email and password