Package com.snapfix.tests
Class RegistrationBusinessTest
java.lang.Object
com.snapfix.tests.RegistrationBusinessTest
public class RegistrationBusinessTest
extends java.lang.Object
********************************************************************************************************************************************************************************************************************************************************************************************************************
This class contains 31 test cases in login scenario for email and mobile phone number.
RegistrationBusinessTest Class Docs
This class contains 31 test cases in login scenario for email and mobile phone number.
- RegistrationInvalidEmail - This test contains when user enters invalid email and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidEmailWithNoAtTheRateCharacter - This test contains when user enters email without @ Character and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidEmailWithOnlyOneAtTheRateCharacterAllowed - This test contains when user enters invalid email format but also enter @ Character and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidEmailWithSpecialCharacterOutsideQuotationMarks - This test contains when user enters invalid email format or any special character and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidEmailWithQuotationString - This test contains when user enters invalid email format or Quotation character like "" and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidEmailWithStringBackslash - This test contains when user enters invalid email format or String backslash and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidEmailWithBackslash - This test contains when user enters invalid email format or backslash( \ or / ) and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidEmailWithDoubleDotsAfterAtTheRate - This test contains when user enters invalid email format or like "@.." and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithFourDigit - This test contains when user enters invalid Phone number or only four digit and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithTwelveDigit - This test contains when user enters invalid Phone number or twelve or more digit and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithTenZero - This test contains when user enters invalid Phone number or 10 time zero and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithSpecialCharacter - This test contains when user enters invalid Phone number or any special character(ex. + ) and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithSemicolon - This test contains when user enters invalid Phone number or semicolon(;) and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithTenDigit - This test contains when user enters invalid Phone number with 10 digit (Country wise invalid) and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithFourDigitAnotherCountry - This test contains when user enters invalid Phone number or 4 digit with select another country and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithTwelveDigitAnotherCountry - This test contains when user enters invalid Phone number or 10 digit with select another country and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithTenZeroAnotherCountry - This test contains when user enters invalid Phone number or 10 zero with select another country and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithSpecialCharacterAnotherCountry - This test contains when user enters invalid Phone number or any special character and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithSemicolonAnotherCountry - This test contains when user enters invalid Phone number or semicolon(;) with select another country and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithTenDigitAnotherCountry - This test contains when user enters invalid Phone number or 10 digit with select another country and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithLengthTwo - This test contains when user enters invalid Password with 2 number and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithEightNumber - This test contains when user enters invalid Password with 8 number and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithTwoCharacter - This test contains when user enters invalid Password with 2 character and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithEightCharacter - This test contains when user enters invalid Password with 8 character and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithEightUppercaseCharacter - This test contains when user enters invalid Password with all are uppercase and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithFourUppercaseCharacterFourLowercaseCharacter - This test contains when user enters invalid Password with 4 uppercase and 4 lowercase and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithFourUppercaseCharacterFourNumeric - This test contains when user enters invalid Password with 4 uppercase and 4 number and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithFourLowercaseCharacterFourNumeric - This test contains when user enters invalid Password with 4 lowercase and 4 number and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithUppercaseCharacterNumericWithLessThanEightCharacter - This test contains when user enters invalid Password with uppercase numeric and less than 8 character and click on register button that time error message display so we verify that message in this test case.
- RegistrationAlreadyEmailWithApiCheck - This test contains when user enters valid all detial and click on register button we call api and it's give already email exist message that time display already email exist pop up so we verify that message in this test case.
- RegistrationAlreadyPhoneNumberWithApiCheck - This test contains when user enters valid all detial and click on register button we call api and it's give already phone number exist message that time display already phone number exist pop up so we verify that message in this test case.
********************************************************************************************************************************************************************************************************************************************************************************************************************
- RegistrationInvalidEmail - This test contains when user enters invalid email and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidEmailWithNoAtTheRateCharacter - This test contains when user enters email without @ Character and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidEmailWithOnlyOneAtTheRateCharacterAllowed - This test contains when user enters invalid email format but also enter @ Character and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidEmailWithSpecialCharacterOutsideQuotationMarks - This test contains when user enters invalid email format or any special character and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidEmailWithQuotationString - This test contains when user enters invalid email format or Quotation character like "" and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidEmailWithStringBackslash - This test contains when user enters invalid email format or String backslash and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidEmailWithBackslash - This test contains when user enters invalid email format or backslash( \ or / ) and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidEmailWithDoubleDotsAfterAtTheRate - This test contains when user enters invalid email format or like "@.." and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithFourDigit - This test contains when user enters invalid Phone number or only four digit and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithTwelveDigit - This test contains when user enters invalid Phone number or twelve or more digit and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithTenZero - This test contains when user enters invalid Phone number or 10 time zero and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithSpecialCharacter - This test contains when user enters invalid Phone number or any special character(ex. + ) and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithSemicolon - This test contains when user enters invalid Phone number or semicolon(;) and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithTenDigit - This test contains when user enters invalid Phone number with 10 digit (Country wise invalid) and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithFourDigitAnotherCountry - This test contains when user enters invalid Phone number or 4 digit with select another country and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithTwelveDigitAnotherCountry - This test contains when user enters invalid Phone number or 10 digit with select another country and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithTenZeroAnotherCountry - This test contains when user enters invalid Phone number or 10 zero with select another country and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithSpecialCharacterAnotherCountry - This test contains when user enters invalid Phone number or any special character and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithSemicolonAnotherCountry - This test contains when user enters invalid Phone number or semicolon(;) with select another country and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPhoneNumberWithTenDigitAnotherCountry - This test contains when user enters invalid Phone number or 10 digit with select another country and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithLengthTwo - This test contains when user enters invalid Password with 2 number and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithEightNumber - This test contains when user enters invalid Password with 8 number and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithTwoCharacter - This test contains when user enters invalid Password with 2 character and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithEightCharacter - This test contains when user enters invalid Password with 8 character and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithEightUppercaseCharacter - This test contains when user enters invalid Password with all are uppercase and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithFourUppercaseCharacterFourLowercaseCharacter - This test contains when user enters invalid Password with 4 uppercase and 4 lowercase and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithFourUppercaseCharacterFourNumeric - This test contains when user enters invalid Password with 4 uppercase and 4 number and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithFourLowercaseCharacterFourNumeric - This test contains when user enters invalid Password with 4 lowercase and 4 number and click on register button that time error message display so we verify that message in this test case.
- RegistrationInvalidPasswordWithUppercaseCharacterNumericWithLessThanEightCharacter - This test contains when user enters invalid Password with uppercase numeric and less than 8 character and click on register button that time error message display so we verify that message in this test case.
- RegistrationAlreadyEmailWithApiCheck - This test contains when user enters valid all detial and click on register button we call api and it's give already email exist message that time display already email exist pop up so we verify that message in this test case.
- RegistrationAlreadyPhoneNumberWithApiCheck - This test contains when user enters valid all detial and click on register button we call api and it's give already phone number exist message that time display already phone number exist pop up so we verify that message in this test case.
-
Constructor Summary
Constructors Constructor Description RegistrationBusinessTest()
-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RegistrationBusinessTest
public RegistrationBusinessTest()
-
-
Method Details
-
jsonCommonData
public void jsonCommonData() -
RegistrationInvalidEmail
public void RegistrationInvalidEmail() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidEmailWithNoAtTheRateCharacter
public void RegistrationInvalidEmailWithNoAtTheRateCharacter() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidEmailWithOnlyOneAtTheRateCharacterAllowed
public void RegistrationInvalidEmailWithOnlyOneAtTheRateCharacterAllowed() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidEmailWithSpecialCharacterOutsideQuotationMarks
public void RegistrationInvalidEmailWithSpecialCharacterOutsideQuotationMarks() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidEmailWithQuotationString
public void RegistrationInvalidEmailWithQuotationString() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidEmailWithStringBackslash
public void RegistrationInvalidEmailWithStringBackslash() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidEmailWithBackslash
public void RegistrationInvalidEmailWithBackslash() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidEmailWithDoubleDotsAfterAtTheRate
public void RegistrationInvalidEmailWithDoubleDotsAfterAtTheRate() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPhoneNumberWithFourDigit
public void RegistrationInvalidPhoneNumberWithFourDigit() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPhoneNumberWithTwelveDigit
public void RegistrationInvalidPhoneNumberWithTwelveDigit() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPhoneNumberWithTenZero
public void RegistrationInvalidPhoneNumberWithTenZero() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPhoneNumberWithSpecialCharacter
public void RegistrationInvalidPhoneNumberWithSpecialCharacter() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPhoneNumberWithSemicolon
public void RegistrationInvalidPhoneNumberWithSemicolon() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPhoneNumberWithTenDigit
public void RegistrationInvalidPhoneNumberWithTenDigit() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPhoneNumberWithFourDigitAnotherCountry
public void RegistrationInvalidPhoneNumberWithFourDigitAnotherCountry() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPhoneNumberWithTwelveDigitAnotherCountry
public void RegistrationInvalidPhoneNumberWithTwelveDigitAnotherCountry() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPhoneNumberWithTenZeroAnotherCountry
public void RegistrationInvalidPhoneNumberWithTenZeroAnotherCountry() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPhoneNumberWithSpecialCharacterAnotherCountry
public void RegistrationInvalidPhoneNumberWithSpecialCharacterAnotherCountry() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPhoneNumberWithSemicolonAnotherCountry
public void RegistrationInvalidPhoneNumberWithSemicolonAnotherCountry() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPhoneNumberWithTenDigitAnotherCountry
public void RegistrationInvalidPhoneNumberWithTenDigitAnotherCountry() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPasswordWithLengthTwo
public void RegistrationInvalidPasswordWithLengthTwo() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPasswordWithEightNumber
public void RegistrationInvalidPasswordWithEightNumber() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPasswordWithTwoCharacter
public void RegistrationInvalidPasswordWithTwoCharacter() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPasswordWithEightCharacter
public void RegistrationInvalidPasswordWithEightCharacter() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPasswordWithEightUppercaseCharacter
public void RegistrationInvalidPasswordWithEightUppercaseCharacter() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPasswordWithFourUppercaseCharacterFourLowercaseCharacter
public void RegistrationInvalidPasswordWithFourUppercaseCharacterFourLowercaseCharacter() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPasswordWithFourUppercaseCharacterFourNumeric
public void RegistrationInvalidPasswordWithFourUppercaseCharacterFourNumeric() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPasswordWithFourLowercaseCharacterFourNumeric
public void RegistrationInvalidPasswordWithFourLowercaseCharacterFourNumeric() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationInvalidPasswordWithUppercaseCharacterNumericWithLessThanEightCharacter
public void RegistrationInvalidPasswordWithUppercaseCharacterNumericWithLessThanEightCharacter() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationAlreadyEmailWithApiCheck
public void RegistrationAlreadyEmailWithApiCheck() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
RegistrationAlreadyPhoneNumberWithApiCheck
public void RegistrationAlreadyPhoneNumberWithApiCheck() throws java.lang.InterruptedException, java.io.IOException, java.text.ParseException- Throws:
java.lang.InterruptedException
java.io.IOException
java.text.ParseException
-
getResponseBody
public void getResponseBody() -
tearDown
@AfterSuite public void tearDown()
-