In HTML there is the code(its not my page)
<script>
alert('1');
</script>
How can I test it with Selenium IDE (click the alert) ???
I tried answers from this question Click in OK button inside an Alert (Selenium IDE) but it does not work.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
Selenium IDE does not currently handle alerts. There is an open issue concerning the ability to handle alerts and prompts; unfortunately it’s been open for quite some time (since Halloween 2007), so your best bet is to split your test into two parts, one before the alert and one after it, and dismiss the alert manually.