Code Monkey home page Code Monkey logo

amazon_search_text_box's Introduction

Amazon_Search_Text_Box

A Maven Java Project that Creates an automated a set of test cases to perform black box, end-to-end testing for Amazon search text box.

Techs:

  • Java
  • OOP
  • Maven
  • Selenium
  • DDT
  • BDD
  • Cucumber

It automates a scenario of searching a product from search text box then go to products page and tap a favourite product to go to this product details page then add this product to the checklist cart. this BDD scenario is automated with Selenium , Testng and cucumber there is feature file that has the scenario written in Gherkin Language and Steps file that has the corresponding tests for the feature file and Runner file that is connect the feature to Steps. There Page object model is used in this project which means each Web page has a corresponding Java class all needed elements are instintiated there.

There are some automated test cases to test the capabilities of Search box. TC1: When the User tap the Search Box it will be active and the outlines will be orange and a drop down list with auto random suggested items is displayed. TC3: When the User input a word in the Search Box then click the Search icon button next to the search box, a new page is displayed and the title of the first item from the list contains the clicked inputed word. TC4: When the User input a word in the Search Box then click enter from keyboard, a new page is displayed and the title of the first item from the list contains the clicked inputed word. TC4: When the User click on an item from the suggestions, a new page is displayed and the title of the first item from the list contains the clicked item's name. TC5: When the User input a character for example "a", a drop down list with random suggested items begins with letter "a" will be displayed. TC6: When the user used the drop down button beside the search box to filter and validate the suggestions of items retrived from search box the suggested items will be according the selected category.

The pom.xml file has all used dependiencies. The testng.xml file has all classes used in the scenario. There is a useful function that takes screenshots of failed tests.

amazon_search_text_box's People

Contributors

mohamedsci avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.