Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

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.

share|improve this question
    
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? –  vincebowdren 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
add comment

closed as unclear what you're asking by Bruce McLeod Aug 14 '13 at 0:43

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.