/selenium

Spring Boot - The usage of Selenium for some Github processes (Sign In, Sign Out, Search Repository, Find repostory of an authenticated user)

Primary LanguageJava

Spring Boot Selenium with Github

Main Information

Description

  • It is the usage of Selenium in Spring Boot Application
  • Through its usage, the process is automatically tested
  • The aim of the example is shown below step by step
    • Thanks to JUnit, each process is tested properly and flawlessly
    • Each process is tested and implemented by Google Chrome
    • Each process is explained in the table shown below

Description of the Methods

Method Description
login Show the implementation of login process through Selenium
repositoryCheck Search and check repository in the Github main page after login through Selenium/td>
findRepositoryForAuthenticatedUser Find Repository by search Parameter in authenticated Github profile page after login through Selenium
logout Show the implementation of logout process after login through Selenium

Used Dependencies

  • Core
    • Spring
      • Spring Boot
      • Spring Web
  • Selenium
  • JUnit5
  • Web driver manager

🔨 Run the App

Maven

1 ) Download your project from this link shown below

    git clone https://github.com/Rapter1990/selenium

2 ) Go to the project's home directory shown below

    cd selenium

3 ) Create a jar file though this command shown below

    mvn clean install

4 ) Run the project though this command shown below

    mvn spring-boot:run

Screenshots

Click here to show the screenshots of project

Figure 1

Figure 2

Figure 3

Figure 4