Package com.snapfix.tests
Class ProfileTest
java.lang.Object
com.snapfix.tests.ProfileTest
public class ProfileTest
extends java.lang.Object
********************************************************************************************************************************************************************************************************************************************************************************************************************
This class contains 20 test cases in login scenario for email and mobile phone number.
ProfileTest Class Docs
This class contains 20 test cases in login scenario for email and mobile phone number.
- ProfileInvalidEmail - This test contains when user enters invalid email and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidEmailWithNoAtTheRateCharacter - This test contains when user enters email without @ Character and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidEmailWithOnlyOneAtTheRateCharacterAllowed - This test contains when user enters invalid email format but also enter @ Character and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidEmailWithSpecialCharacterOutsideQuotationMarks - This test contains when user enters invalid email format or any special character and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidEmailWithQuotationString - This test contains when user enters invalid email format or Quotation character like "" and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidEmailWithStringBackslash - This test contains when user enters invalid email format or String backslash and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidEmailWithBackslash - This test contains when user enters invalid email format or backslash( \ or / ) and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidEmailWithDoubleDotsAfterAtTheRate - This test contains when user enters invalid email format or like "@.." and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithFourDigit - This test contains when user enters invalid Phone number or only four digit and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithTwelveDigit - This test contains when user enters invalid Phone number or twelve or more digit and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithTenZero - This test contains when user enters invalid Phone number or 10 time zero and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithSpecialCharacter - This test contains when user enters invalid Phone number or any special character(ex. + ) and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithSemicolon - This test contains when user enters invalid Phone number or semicolon(;) and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithTenDigit - This test contains when user enters invalid Phone number with 10 digit (Country wise invalid) and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithFourDigitAnotherCountry - This test contains when user enters invalid Phone number or 4 digit with select another country and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithTwelveDigitAnotherCountry - This test contains when user enters invalid Phone number or 10 digit with select another country and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithTenZeroAnotherCountry - This test contains when user enters invalid Phone number or 10 zero with select another country and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithSpecialCharacterAnotherCountry - This test contains when user enters invalid Phone number or any special character and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithSemicolonAnotherCountry - This test contains when user enters invalid Phone number or semicolon(;) with select another country and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithTenDigitAnotherCountry - This test contains when user enters invalid Phone number or 10 digit with select another country and click on save button that time error message display so we verify that message in this test case.
********************************************************************************************************************************************************************************************************************************************************************************************************************
- ProfileInvalidEmail - This test contains when user enters invalid email and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidEmailWithNoAtTheRateCharacter - This test contains when user enters email without @ Character and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidEmailWithOnlyOneAtTheRateCharacterAllowed - This test contains when user enters invalid email format but also enter @ Character and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidEmailWithSpecialCharacterOutsideQuotationMarks - This test contains when user enters invalid email format or any special character and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidEmailWithQuotationString - This test contains when user enters invalid email format or Quotation character like "" and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidEmailWithStringBackslash - This test contains when user enters invalid email format or String backslash and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidEmailWithBackslash - This test contains when user enters invalid email format or backslash( \ or / ) and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidEmailWithDoubleDotsAfterAtTheRate - This test contains when user enters invalid email format or like "@.." and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithFourDigit - This test contains when user enters invalid Phone number or only four digit and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithTwelveDigit - This test contains when user enters invalid Phone number or twelve or more digit and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithTenZero - This test contains when user enters invalid Phone number or 10 time zero and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithSpecialCharacter - This test contains when user enters invalid Phone number or any special character(ex. + ) and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithSemicolon - This test contains when user enters invalid Phone number or semicolon(;) and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithTenDigit - This test contains when user enters invalid Phone number with 10 digit (Country wise invalid) and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithFourDigitAnotherCountry - This test contains when user enters invalid Phone number or 4 digit with select another country and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithTwelveDigitAnotherCountry - This test contains when user enters invalid Phone number or 10 digit with select another country and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithTenZeroAnotherCountry - This test contains when user enters invalid Phone number or 10 zero with select another country and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithSpecialCharacterAnotherCountry - This test contains when user enters invalid Phone number or any special character and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithSemicolonAnotherCountry - This test contains when user enters invalid Phone number or semicolon(;) with select another country and click on save button that time error message display so we verify that message in this test case.
- ProfileInvalidPhoneNumberWithTenDigitAnotherCountry - This test contains when user enters invalid Phone number or 10 digit with select another country and click on save button that time error message display so we verify that message in this test case.
-
Constructor Summary
Constructors Constructor Description ProfileTest() -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ProfileTest
public ProfileTest()
-
-
Method Details
-
jsonCommonData
public void jsonCommonData() -
LoginTest
public void LoginTest() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
RegistrationInvalidEmail
public void RegistrationInvalidEmail() throws java.lang.Exception- Throws:
java.lang.Exception
-
RegistrationInvalidEmailWithNoAtTheRateCharacter
public void RegistrationInvalidEmailWithNoAtTheRateCharacter() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidEmailWithOnlyOneAtTheRateCharacterAllowed
public void RegistrationInvalidEmailWithOnlyOneAtTheRateCharacterAllowed() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidEmailWithSpecialCharacterOutsideQuotationMarks
public void RegistrationInvalidEmailWithSpecialCharacterOutsideQuotationMarks() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidEmailWithQuotationString
public void RegistrationInvalidEmailWithQuotationString() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidEmailWithStringBackslash
public void RegistrationInvalidEmailWithStringBackslash() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidEmailWithBackslash
public void RegistrationInvalidEmailWithBackslash() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidEmailWithDoubleDotsAfterAtTheRate
public void RegistrationInvalidEmailWithDoubleDotsAfterAtTheRate() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidPhoneNumberWithFourDigit
public void RegistrationInvalidPhoneNumberWithFourDigit() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidPhoneNumberWithTwelveDigit
public void RegistrationInvalidPhoneNumberWithTwelveDigit() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidPhoneNumberWithTenZero
public void RegistrationInvalidPhoneNumberWithTenZero() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidPhoneNumberWithSpecialCharacter
public void RegistrationInvalidPhoneNumberWithSpecialCharacter() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidPhoneNumberWithSemicolon
public void RegistrationInvalidPhoneNumberWithSemicolon() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidPhoneNumberWithTenDigit
public void RegistrationInvalidPhoneNumberWithTenDigit() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidPhoneNumberWithFourDigitAnotherCountry
public void RegistrationInvalidPhoneNumberWithFourDigitAnotherCountry() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidPhoneNumberWithTwelveDigitAnotherCountry
public void RegistrationInvalidPhoneNumberWithTwelveDigitAnotherCountry() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidPhoneNumberWithTenZeroAnotherCountry
public void RegistrationInvalidPhoneNumberWithTenZeroAnotherCountry() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidPhoneNumberWithSpecialCharacterAnotherCountry
public void RegistrationInvalidPhoneNumberWithSpecialCharacterAnotherCountry() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidPhoneNumberWithSemicolonAnotherCountry
public void RegistrationInvalidPhoneNumberWithSemicolonAnotherCountry() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
RegistrationInvalidPhoneNumberWithTenDigitAnotherCountry
public void RegistrationInvalidPhoneNumberWithTenDigitAnotherCountry() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedExceptionjava.io.IOExceptionjava.text.ParseException
-
getResponseBody
public void getResponseBody() -
tearDown
@AfterSuite public void tearDown() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-