1

Is there any way to identify the JavaScript alert box (on page load) in selenium IDE? I used commands like "storAlert", "assertAlert" etc. But selenium not identifying alert box.

  • Can you show us what you've tried so far, and explain what's going wrong - do you get an error, or does it run but fail to extract the data? – Vince Bowdren May 9 '13 at 15:52
  • 1
    Is the alert box visible to you? If so, are you sure it is a javascript alert box? Most probably it is not, because when you are running selenium IDE, java script popups does not appear. This is what is mentioned in official site. 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. Check this section once more... docs.seleniumhq.org/docs/… – Buddha May 11 '13 at 8:39

Browse other questions tagged or ask your own question.