Why does Selenium WebDriver not work with my alert?
Click here to load reader
-
Upload
alan-richardson -
Category
Technology
-
view
14.063 -
download
0
description
Transcript of Why does Selenium WebDriver not work with my alert?
![Page 1: Why does Selenium WebDriver not work with my alert?](https://reader038.fdocuments.net/reader038/viewer/2022100602/558c92e8d8b42acf098b4599/html5/thumbnails/1.jpg)
“Why Does Selenium Not Work With My Alert?
Alan Richardson
www.SeleniumSimplified.com
![Page 2: Why does Selenium WebDriver not work with my alert?](https://reader038.fdocuments.net/reader038/viewer/2022100602/558c92e8d8b42acf098b4599/html5/thumbnails/2.jpg)
Why Can’t Selenium Handle the Alert in my Application?
![Page 3: Why does Selenium WebDriver not work with my alert?](https://reader038.fdocuments.net/reader038/viewer/2022100602/558c92e8d8b42acf098b4599/html5/thumbnails/3.jpg)
The Answer:
Because it is not an alert
![Page 4: Why does Selenium WebDriver not work with my alert?](https://reader038.fdocuments.net/reader038/viewer/2022100602/558c92e8d8b42acf098b4599/html5/thumbnails/4.jpg)
If you can “Inspect Element” on it, then it is not an alert
![Page 5: Why does Selenium WebDriver not work with my alert?](https://reader038.fdocuments.net/reader038/viewer/2022100602/558c92e8d8b42acf098b4599/html5/thumbnails/5.jpg)
These Are Alerts:
http://www.w3schools.com/js/js_popup.asp
http://www.w3schools.com/js/tryit.asp?filename=tryjs_alert
http://www.w3schools.com/js/tryit.asp?filename=tryjs_confirm
![Page 6: Why does Selenium WebDriver not work with my alert?](https://reader038.fdocuments.net/reader038/viewer/2022100602/558c92e8d8b42acf098b4599/html5/thumbnails/6.jpg)
These are not Alerts
http://jquerytools.org/demos/overlay/modal-dialog.html http://tympanus.net/Development/ModalWindowEffects/ http://www.zkoss.org/zkdemo/window/modal_dialog
![Page 7: Why does Selenium WebDriver not work with my alert?](https://reader038.fdocuments.net/reader038/viewer/2022100602/558c92e8d8b42acf098b4599/html5/thumbnails/7.jpg)
More Info
YouTube Video on this topic● http://youtu.be/hiN6ugscUco
Blog Post● http://seleniumsimplified.com/?p=666
http://seleniumsimplified.com/2013/10/02/faq-why-does-selenium-not-work-with-this-alert/
![Page 8: Why does Selenium WebDriver not work with my alert?](https://reader038.fdocuments.net/reader038/viewer/2022100602/558c92e8d8b42acf098b4599/html5/thumbnails/8.jpg)
Alan Richardson uk.linkedin.com/in/eviltester
Independent Test Consultant based in the UK. He offers training and consultancy in Selenium WebDriver, Exploratory and Technical web testing.
Contact Alan for training andconsultancy tailored to your needs:
http://compendiumdev.co.uk/contact
Blogs and Websites
● CompendiumDev.co.uk● SeleniumSimplified.com● EvilTester.com● JavaForTesters.com● Twitter: @eviltester
Online Training Courses
● Technical Web Testing 101○ Unow.be/at/udemy101
● Intro to Selenium○ Unow.be/at/udemystart
● Selenium 2 WebDriver API○ Unow.be/at/udemyapi
Videos
youtube.com/user/EviltesterVideos
Books
Selenium SimplifiedUnow.be/rc/selsimp
Java For Testersleanpub.com/javaForTesters