Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LSS:
- Feature: LLS Home Page
- Scenario: Launch LSS Site
- Given Browser is opened
- And navigated to AIM Inspect Site //https://selfschedule.aiminspect.com/
- Then Lessee selfschedule site is displayed
- And Home page has 3 sections:
- Header, Body and Footer
- Secnario: Verify LSS Home page and verious sections and Section's elements
- Given I am on LSS Home page Header section
- And I see site Logo
- And I see the link "About AiM"
- And clicking on the link goes to //http://homepage.aiminspections.com/about-us/
- Given I am on LSS Home page Body section
- And Body section has the followings:
- Title, Paragraph, Button and Link
- Title: "Trusted inspectors. Honest evaluation. Timely service."
- Paragraph 1: "Welcome to Alliance Inspection Management, the most trusted inspection company in North America."
- Paragraph 2: "Please proceed to select the most convenient date and time for your complimentary pre-inspection."
- Button: "Schedule Appointment"
- Link: "Log in"
- Given I am on LSS Home page Footer section
- And Footer section contains 3 links and Text
- And clicking on "Privacy Policy" link navigates to: "https://selfschedule-qa.aiminspect.com/privacy"
- And clicking on "Terms of Service" link navigates to: "https://selfschedule-qa.aiminspect.com/terms"
- And clicking on "Contact Us" link navigates to: "https://selfschedule-qa.aiminspect.com/contact-us"
- And Footer Text: "© 2019 Alliance Inspection Management"
- Feature: LSS Logins / Schedule Appointment
- Scenario: Go to LSS Login
- Given current page is Home Page //https://selfschedule-qa.aiminspect.com/log-in
- And clicked on 'Schedule Appointment' button | And login link is clicked
- Then LSS Log in site is displayed | Then LSS Login page displays
- Carrection:
- Scenario: Log in to LSS without entering vin and account number
- Given current page is LSS Log in site | Given currnet page is LSS Log in
- And no vin is entered | And no VIN is entered
- And no account number is entered | And no Account number is entered
- And submit the form | And Get Started is clicked
- Then both fields required page is displayed | Then error-message displays "Enter a Valid VIN"
- | And "Enter a valid account number"
- Scenario: Log in to LSS entering VIN but account number
- Given current page is LSS Log in
- And VIN is entered
- And no Account number is entered
- And Get Started button is clicked
- Then error-message displays "Enter a valid account number"
- Scenario: Log in to LSS without entering VIN but Account number
- Given current page is LSS Log in
- And no VIN is entered
- And Account number is entered
- And Get Started button is clicked
- Then error-message displays "Enter a valid VIN"
- Scenario: Log in to LSS site with invalid vin and invalid account number
- Given current page is LSS Login
- And entered an invalid vin
- And entered an invalid account
- And Get Started button is clicked
- Then error-message displayes "We were unable to match the VIN and account number you entered. Please check your entries and try again."
- Scenario: Login to LSS site with valid vin and invalid account number
- Given current page is LSS Login
- And entered a valid vin
- And entered an invalid account
- And Get Started button is clicked
- Then error-message displayes "We were unable to match the VIN and account number you entered. Please check your entries and try again."
- Scenario: Login to LSS site with invalid vin and valid account number
- Given current page is LSS Login
- And entered an invalid vin
- And entered an invalid account
- And Get Started button is clicked
- Then error-message displayes "We were unable to match the VIN and account number you entered. Please check your entries and try again."
- Scenario: Login to LSS site with valid VIN and valid account number
- Given current page is LSS Login
- And entered a valid VIN
- And entered a valid account
- And Get Started button is clicked
- Then Account Info page dispalys
- Scenario: Confirm Account information is correct in order to go to contact info page
- Given current page is Account info page
- And entered correct information
- And confirm button is clicked
- Then Contact info page is displayed
- Scenario: Clicking 'something is wrong' page will take user to get-assistance page (help page)
- Given current page is Account info page
- And 'something is wrong' button is clicked
- Then get-assistance page is displayed
- Scenario: Update Lessee contact info
- Given user is logged in to LSS
- And user is on Contact Info page
- And the 'continue' button is disabled
- When phone number "234567890" is entered
- And "(mobile/work/home/other)" is selected as phone type
- And email entered is "r@p.com"
- And continue button is enabled
- And continue button is clicked
- Then inspection location page is displayed
- Scenario: Unable to move to inspection location page until form is valid
- Given user is on Contact Info page
- When phone number entered is '5867765566'
- And phone type 'work' is selected
- And email is left empty
- Then continue button is disabled
- Scenario: Leaving required phone field blank will display error message
- Given user is on Contact Info page
- When focus phone field
- And click away from the phone field
- Then error message 1 is displayed
- Scenario: Leaving required email field blank will display error message
- Given user is on Contact Info page
- When email field is kept empty
- Then error message 2 is displayed
- Scenario: Click on back button to go back to account info page
- Given user is on Contact Info page
- When back button is clicked
- Then Account Info page is displayed
- Scenario: Able to move to 'Schedule' page after entering in location type, address, availability information
- Given user is on Inspection location page
- And user is logged in to the LSS site
- And continue button is disabled
- When select location type "Home".
- And select presence "I will be there".
- And enter address "34405 12 Mile RD, Warren, MI 48331"
- Then continue button is enabled.
- And Schedule Appointment page is displayed
- Scenario: Unable to move to 'schedule' page if any required fields in inspection location page are missing
- Given user is on Inspection location page
- And user is logged in to the LSS site
- And continue button is disabled
- And select location type "Home"
- And select presence "I will be there"
- And enter no address
- Then continue button is disabled
- Scenario: Entering information for when someone else will be there and able to continue to 'schedule' page
- Given user is on Inspection location page
- And user is logged in to the LSS site
- And continue button is disabled
- And location type filled
- And address filled
- When select presence "I will not be there"
- And enter first name "Tom".
- And enter last name "Cruz".
- And enter phone number "2487765433".
- And select phone type "Mobile".
- And enter email "Cruz@mail.com".
- And select preferred contact method "Email".
- And continue button is enabled.
- And I click on continue button.
- Then Schedule Appointment page is displayed
- Scenario: Click on back button to go back to contact info page
- Given user is on Inspection location page
- And user is logged in to the LSS site
- And continue button is disabled
- When back button is clicked
- Then Contact Info page is displayed
- Scenario: Move to 'review appointment' page after selecting date and time when click is available
- Given user is on Appointment Schedule page
- And user is logged in to the LSS site
- And appointment dates are available
- And continue button is disabled
- When select date
- And select time slot
- And continue button is enabled
- And click continue button
- Then Review Appointment page is displayed
- Scenario: Move to confirmation page after appointment scheduled and get confirmation ID
- Given user is on Review Appointment page
- And user is logged in to the LSS site
- And all information are correct
- When click on 'Confirm appointment' button
- Then 'confirmation' page is displayed
- # CHECK
- Scenario: Verify that the appointment is scheduled in CRM
- Given scheduled an appointment through LSS
- And the appointment is tied to a request and request is scheduled in CRM
- When logs in to https://crm-qa.aiminspect.com
- And uses 'CSR/DISPATCH' as the user
- And the password is 'crmisnice'
- And search for the request using the confirmation # displayed in LSS
- And the request is displayed
- And view the request
- Then will see the request status as on 'H'old -awaitng dispatch
- Scenario: Display alternative message when invalid location adddres is entered
- Given user is on Inspection Location page
- And user is logged in to the LSS site
- When enter location type as 'home'
- And enter Street: '1', City: '1', State: 'Alabama', Zip: '11111'
- And click on continue button
- Then 'schedule' page' is displayed
- Scenario: Display alternative message when system is down
- Given user is on Review page
- And there is no internet connection
- When click on confirm appointment button
- Then 'Server Down page' is displayed
- Scenario: Take user to 'Existing appointment' page when trying schedule appointment when one already exists
- Given user is on LSS log in page
- And uses vin and account number that is associated with a request that already has been
- When vin field is inputted with '1N4AA5AP3DC805530'
- And account field is inputted with '346568967967'
- And clicks on 'Get started' button.
- Then 'Existing appointment' page is displayed
- // CHECK
- Scenario: Display alternative message when invalid location adddres is entered and schedule a request
- Given user is logged on to LSS site.
- And enters invalid address in 'inspection location' page.
- And is on on 'Review request' page.
- When click on 'send request'
- Then confirmation message "Appointment Requested" displayed
- AIM:
- Scenario: Launch AIM Inspect site
- Given Browser is opened
- And logged in to AIM Inspect site
- When navigated to AIM Inspect site // https://crm-qa.aiminspect.com/
- Then AIM Inspect site is displayed
- Scenario: Incorrect credentials do not allow login
- Given Browser is opened
- When navigated to AIM Inspect site // https://crm-qa.aiminspect.com/
- And enter incorrect Username and Password
- And click Log In
- Then Invalid Login message is displayed
- Scenario: Correct credentials allow succesful login
- Given Browser is opened
- When navigated to AIM Inspect site // https://crm-qa.aiminspect.com/
- And enter correct Username and Password
- And click Log In
- Then AIM Inspection page is displayed
- Scenario: Logout of AIM Inspect site
- Given Browser is opened
- And current url is AIM Inspect site // https://crm-qa.aiminspect.com/
- And user is logged in
- When click on Log Out button
- Then user is logged out
- Scenario: Go to Dashboard
- Given Browser is opened
- And logged in to AIM Inspect site
- And current page is AIM Inspect site
- When click on Dashboard
- Then Dashboard data is displayed
- Scenario: Overdue inspection is shown
- Given Browser is opened
- And logged in to AIM Inspect site
- And current page is AIM Inspect site
- When click on Dashboard
- And click on Overdue Inspection
- Then Overdue Inspection are displayed
- Scenario: Due today is shown
- Given Browser is opened
- And logged in to AIM Inspect site
- And current page is AIM Inspect site
- When click on Dashboard
- And click on Due today
- Then Due today are displayed
- Scenario: Awaiting CSR is shown
- Given Browser is opened
- And logged in to AIM Inspect site
- And current page is AIM Inspect site
- When click on Dashboard
- And click on Awaiting CSR
- Then Awaiting CSR are displayed
- Scenario: Awaiting Dispatch is shown
- Given Browser is opened
- And logged in to AIM Inspect site
- And current page is AIM Inspect site
- When click on Dashboard
- And click on Awaiting Dispatch
- Then Awaiting Dispatch are displayed
- Scenario: Awaiting Quality is shown
- Given Browser is opened
- And logged in to AIM Inspect site
- And current page is AIM Inspect site
- When click on Dashboard
- And click on Awaiting Quality
- Then Awaiting Quality are displayed
- Scenario: Open Requests is shown
- Given Browser is opened
- And logged in to AIM Inspect site
- And current page is AIM Inspect site
- When click on Dashboard
- And click on Open Requests
- Then Open Requests are displayed
- Scenario: Result Detail is shown
- Given Browser is opened
- And logged in to AIM Inspect site
- And current page is AIM Inspect site
- When click on Dashboard
- And click on Open Requests
- And select result from the results displayed
- Then selected result details are shown
- Scenario: No Results found if does not exist
- Given Browser is opened
- And logged in to AIM Inspect site
- And current page is AIM Inspect site
- When click on Request
- And input text in search bar which does not exist # sdfsdf32423
- And click search
- Then 'No Results Found.' message is displayed
- Scenario: Results displayed if does exist
- Given Browser is opened
- And logged in to AIM Inspect site
- And current page is AIM Inspect site
- When click on Request
- And input text in search bar which does exist # asa
- And click search
- Then search results are displayed
- Scenario: Edit Lessee info
- Given Browser is opened
- And current page is single inspection search result detail page
- When find Lessee Info section
- And hover over Lessee Info edit button
- And click on Lessee Info edit button
- Then edit Lessee Info page is shown
- Scenario: Edit Dealer info
- Given Browser is opened
- And current page is single inspection search result detail page
- When find Dealer Info section
- And hover over Dealer Info edit button
- And click on Dealer Info edit button
- Then edit Dealer Info page is shown
- Scenario: Add Disposition
- Given Browser is opened
- And current page is single inspection search result detail page
- When find Dispositions section
- And hover over Add Disposition button
- And click Add Disposition button
- And Add Disposition page is displayed
- And select call type from options
- And select disposition type from dropdown menu
- And click Add
- Then Disposition is added in Disposition section
- Scenario: Schedule Appointment
- Given Browser is opened
- And current page is single inspection search result detail page
- When find Current Appointment Detail section
- And click the options button
- And select Schedule from options
- And Schedule Appointment form is displayed
- And fill up the Schedule Appointment form
- And click Save
- Then appointment can be seen scheduled in the Current Appointments section
- Scenario: Add Internal Comment
- Given Browser is opened
- And current page is single inspection search result detail page
- When find Internal Comments section
- And click the Add Comment button
- And Add Internal Comment page is shown
- And input comment in field
- And click Add
- Then comment can be seen in Internal Comments section
- Scenario: Navigate to Add Organization Page
- Given Browser is opened
- And logged in to AIM Inspect site
- And current page is AIM Inspect site
- When hover over Request tab
- And click the Add organization
- Then Add Organization page is shown
- Scenario: Add Organization
- Given Browser is opened
- And logged in to AIM Inspect site
- And current page is AIM Inspect site
- When hover over Request tab
- And click the Add organization
- And Add Organization page is shown
- And fill up Add Organization form
- And click Submit
- Then AIM Inspect home page is displayed
- Scenario: See Organization Exists
- Given Browser is opened
- And logged in to AIM Inspect site
- And current page is AIM Inspect site
- When click Basic Search box
- And input Organization name
- And click Search
- And click Submit
- Then Organization is displayed in search results
- LSS Feat:
- Feature: Scenarios for testing the LSS Site.
- Scenario: Launch LSS Site
- Given Browser is opened
- And navigated to AIM Inspect Site //https://selfschedule.aiminspect.com/
- Then Lessee selfschedule site is displayed
- Scenario: Go to LSS Log in Site
- Given current page is Home Page //https://selfschedule-qa.aiminspect.com/log-in
- And clicked on 'Schedule Appointment' button
- Then LSS Log in site is displayed
- Scenario: Log in to LSS site with invalid vin and valid account number
- Given current page is LSS Log in site
- And entered an invalid vin
- And entered a valid account
- And submit the form
- Then Validation Error page case 1 is displayed
- Scenario: Log in to LSS site with valid vin and invalid account number
- Given current page is LSS Log in site
- And entered an valid vin
- And entered a invalid account
- And submit the form
- Then Validation Error page case 2 is displayed
- Scenario: Log in to LSS without entering vin
- Given current page is LSS Log in site
- And entered an valid vin
- And no account number is entered
- And submit the form
- Then Account Number required page is displayed
- Scenario: Log in to LSS without entering vin and account number
- Given current page is LSS Log in site
- And no vin is entered
- And no account number is entered
- And submit the form
- Then both fields required page is displayed
- Scenario: Log in to LSS site with invalid vin and valid account number
- Given current page is LSS Log in site
- And entered an invalid vin
- And entered a valid account
- And submit the form
- Then Account info page is displayed
- Scenario: Confirm Account information is correct in order to go to contact info page
- Given current page is Account info page
- And entered correct information
- And confirm button is clicked
- Then Contact info page is displayed
- Scenario: Clicking 'something is wrong' page will take user to get-assistance page (help page)
- Given current page is Account info page
- And 'something is wrong' button is clicked
- Then get-assistance page is displayed
- Scenario: Update Lessee contact info
- Given user is logged in to LSS
- And user is on Contact Info page
- And the 'continue' button is disabled
- When phone number "234567890" is entered
- And "(mobile/work/home/other)" is selected as phone type
- And email entered is "r@p.com"
- And continue button is enabled
- And continue button is clicked
- Then inspection location page is displayed
- Scenario: Unable to move to inspection location page until form is valid
- Given user is on Contact Info page
- When phone number entered is '5867765566'
- And phone type 'work' is selected
- And email is left empty
- Then continue button is disabled
- Scenario: Leaving required phone field blank will display error message
- Given user is on Contact Info page
- When focus phone field
- And click away from the phone field
- Then error message 1 is displayed
- Scenario: Leaving required email field blank will display error message
- Given user is on Contact Info page
- When email field is kept empty
- Then error message 2 is displayed
- Scenario: Click on back button to go back to account info page
- Given user is on Contact Info page
- When back button is clicked
- Then Account Info page is displayed
- Scenario: Able to move to 'Schedule' page after entering in location type, address, availability information
- Given user is on Inspection location page
- And user is logged in to the LSS site
- And continue button is disabled
- When select location type "Home".
- And select presence "I will be there".
- And enter address "34405 12 Mile RD, Warren, MI 48331"
- Then continue button is enabled.
- And Schedule Appointment page is displayed
- Scenario: Unable to move to 'schedule' page if any required fields in inspection location page are missing
- Given user is on Inspection location page
- And user is logged in to the LSS site
- And continue button is disabled
- And select location type "Home"
- And select presence "I will be there"
- And enter no address
- Then continue button is disabled
- Scenario: Entering information for when someone else will be there and able to continue to 'schedule' page
- Given user is on Inspection location page
- And user is logged in to the LSS site
- And continue button is disabled
- And location type filled
- And address filled
- When select presence "I will not be there"
- And enter first name "Tom".
- And enter last name "Cruz".
- And enter phone number "2487765433".
- And select phone type "Mobile".
- And enter email "Cruz@mail.com".
- And select preferred contact method "Email".
- And continue button is enabled.
- And I click on continue button.
- Then Schedule Appointment page is displayed
- Scenario: Click on back button to go back to contact info page
- Given user is on Inspection location page
- And user is logged in to the LSS site
- And continue button is disabled
- When back button is clicked
- Then Contact Info page is displayed
- Scenario: Move to 'review appointment' page after selecting date and time when click is available
- Given user is on Appointment Schedule page
- And user is logged in to the LSS site
- And appointment dates are available
- And continue button is disabled
- When select date
- And select time slot
- And continue button is enabled
- And click continue button
- Then Review Appointment page is displayed
- Scenario: Move to confirmation page after appointment scheduled and get confirmation ID
- Given user is on Review Appointment page
- And user is logged in to the LSS site
- And all information are correct
- When click on 'Confirm appointment' button
- Then 'confirmation' page is displayed
- Scenario: Verify that the appointment is scheduled in CRM
- Given scheduled an appointment through LSS
- And the appointment is tied to a request and request is scheduled in CRM
- When logs in to https://crm-qa.aiminspect.com
- And uses 'CSR/DISPATCH' as the user
- And the password is 'crmisnice'
- And search for the request using the confirmation # displayed in LSS
- And the request is displayed
- And view the request
- Then will see the request status as on 'H'old -awaitng dispatch
- Scenario: Display alternative message when invalid location adddres is entered
- Given user is on Inspection Location page
- And user is logged in to the LSS site
- When enter location type as 'home'
- And enter Street: '1', City: '1', State: 'Alabama', Zip: '11111'
- And click on continue button
- Then 'schedule' page' is displayed
- Scenario: Display alternative message when system is down
- Given user is on Review page
- And there is no internet connection
- When click on confirm appointment button
- Then 'Server Down page' is displayed
- Scenario: Take user to 'Existing appointment' page when trying schedule appointment when one already exists
- Given user is on LSS log in page
- And uses vin and account number that is associated with a request that already has been
- When vin field is inputted with '1N4AA5AP3DC805530'
- And account field is inputted with '346568967967'
- And clicks on 'Get started' button.
- Then 'Existing appointment' page is displayed
- Scenario: Display alternative message when invalid location adddres is entered and schedule a request
- Given user is logged on to LSS site.
- And enters invalid address in 'inspection location' page.
- And is on on 'Review request' page.
- When click on 'send request'
- Then confirmation message "Appointment Requested" displayed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement