Skip to content

vipulgupta31/modal-dialog-selenium-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Handling Modal Dialog, Alerts, Popups using Selenium JAVA

This repository contains code examples for handling modal dialog boxes, popups, and alerts in webpages using Selenium JAVA.

What is a Modal Dialog Box?

A Modal Dialog Box (also referred to as Bootstrap Modal Window) is built in Bootstrap Framework, due to which it gets displayed on top of your current page.

What are Alerts?

Alerts in web development usually refer to a message or notification that lets the user know about information, namely:

  1. Asking for access permissions.
  2. Highlighting mandatory fields on a form.
  3. Display warning messages or help information.

What are Popups?

Pop-up refers to a new window or tab that pops up or gets opened as a result of some interaction on the webpage. It can come up in several conditions and as per implementation.

About Project

It is created using Selenium with Java, TestNG, and Maven.

This is the list of tools, being used in this framework:

  1. Apache Maven
  2. Java 8
  3. Selenium Cloud Grid - LambdaTest Platform
  4. TestNG Framework

Steps for Local Execution

  1. Import this project in Eclipse/IntelliJ as an “Existing Maven Project”
  2. Go to the test file and Run the test case for your desired case.
  3. You can see the logs shown on the Console as your execution progresses.
  4. Since we are using RemoteWebDriver and executing on the Cloud Grid platform, LambdaTest, you can log in to same and view detailed logs on the dashboard.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages