My first Java autotests. Tests verify the complete scenario of registration a new user on the website and deletion the account.
- Java
- Maven
- TestNG
- Selenium
- Launch browser
- Navigate to url 'http://automationexercise.com'
- Click on 'Signup / Login' button
- Enter name and email address
- Click 'Signup' button
- Fill details: Title, Name, Email, Password, Date of birth
- Select checkbox 'Sign up for our newsletter!'
- Select checkbox 'Receive special offers from our partners!'
- Fill details: First name, Last name, Company, Address, Address2, Country, State, City, Zipcode, Mobile Number
- Click 'Create Account button'
- Verify that 'ACCOUNT CREATED!' is visible
- Launch browser
- Navigate to url 'http://automationexercise.com'
- Click 'Signup/Login' button
- Fill details: Email, Password
- Click Login button
- Click 'Delete Account' button
- Verify that 'ACCOUNT DELETED!' is visible