Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9265399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T14:03:45+00:00 2026-06-18T14:03:45+00:00

I am novice to automation testing and have started using Selenium IDE as the

  • 0

I am novice to automation testing and have started using Selenium IDE as the choice for automation.

I just want to know if there is any way to handle java-script alerts using IDE.

Take a scenario: I am clicking on “Delete” button and there comes a java-script alert box with OK and Cancel options, but Xpath can not identified for these elements.On the other hand, when I make a script for click event on delete button and run it using Selenium IDE, the element gets automatically deleted.

So, guys please help. Leave a reply in case my question needs to be elaborated.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T14:03:46+00:00Added an answer on June 18, 2026 at 2:03 pm

    Take a look at the documentation. The main part is this:

    When running under Selenium, JavaScript pop-ups will not appear. This
    is because the function calls are actually being overridden at runtime
    by Selenium’s own JavaScript. However, just because you cannot see the
    pop-up doesn’t mean you don’t have to deal with it. To handle a
    pop-up, you must call its assertFoo(pattern) function. If you fail to
    assert the presence of a pop-up your next command will be blocked and
    you will get an error similar to the following

    [error] Error: There was an unexpected Confirmation! [Chose an option.]
    

    A step-by-step manual is in the section about Alerts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Python novice here. I am using python2.7.2 on Windows7. I have installed the PyWin32
As I'm a novice, I started learning python by writing simple programs using python
Working with Visual Studio (I'm using 2008) I have started to notice that when
SQL novice here. I'm trying to get a list of invoice numbers. There are
Php novice. 1.Is there anything wrong with this PHP & MySQL code? include_once db_login.php
Novice question, but I don't really understand why there are so many operations for
I have recently joined a team that has several applications that perform workload automation.
I'm using Rails 2.3.4/Ruby 1.9.1 for my application. In the view I have this
Total Novice here. I have some list items. I need to add a class
I'm a novice programmer using Visual C# 2010. I am trying to dynamically (during

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.