Skip to content

Write pseudo code to test and confirm that "amazon.in" or "amazon.com" is returned if "amazon" is searched in Google

Notifications You must be signed in to change notification settings

AyushCrio/Amazon_Link_Available_com_in

Repository files navigation

Selenium Boilerplate:

This java project contains the essentials to get started with selenium quickly without having to go through the hassle of downloading individual dependencies one by one.

What does this project use?

This project uses gradle , webdriver manager , selenium v4

Pre-requesites:

Getting started:

  1. clone this repo to your machine using git clone

  2. To build the project: MacOS / Linux

    ./gradlew build
    

    Windows

    gradlew.bat build
    
  3. To run the project: MacOS / Linux

    ./gradlew run
    

    Windows

    gradlew.bat run
    

Writing your test case:

Test cases are part of the /src/main/java/demo/TestCases.java file.

Defining new test case:

  1. Open TestCases.java file
  2. Create a copy of the function testCase01()
  3. Update the contents of the newly created method with your own custom logic

Calling the newly created test case:

  1. open /src/App.java
  2. notice the TODO block:
//TODO: call your test case functions one after other here
  1. Call the newly created methods under the TODO block

About

Write pseudo code to test and confirm that "amazon.in" or "amazon.com" is returned if "amazon" is searched in Google

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages