Practical Examples of Java & Selenium WebDriver Exceptions | Checked & Unchecked Exceptions [2021]

preview_player
Показать описание
⚡️ ( Very Important for Interviews ) In this Part 3, I have shown some basic Practical Examples of Java & Selenium WebDriver Exceptions including Checked and Unchecked Exceptions. ⚡️

We will see Practical examples for following exceptions ==-

▶️ 1. Checked Exceptions:===

-All IO Exceptions and IE
1. MalformedURLException
2. FileNotFoundException
3. InterruptedException

▶️ 2. Unchecked Exceptions:===

- All RunTime Exceptions.

▶️ Top Selenium WebDriver Exceptions
----------------------------------------------
TimeoutException
SessionNotCreatedException
NoSuchSessionException
ElementNotInteractableException
ElementNotSelectableException
ElementNotVisibleException
StaleElementReferenceException
NoAlertPresentException
NoSuchElementException
NoSuchFrameException
NoSuchWindowException
InvalidSelectorException
InvalidArgumentException
ElementClickInterceptedException

Once you understand Selenium Exceptions concepts, how to handle these exceptions will become easy to learn.

======================================
****************AJ AUTOMATION**************
======================================

🔔 Learn automation from basic !! 🔔

✅ Recent Uploads :=

✅ Selenium series videos Playlist :=

✅ Maven Tool videos playlist :=

✅ Java Language Concepts :=

✅TestNG Framework Videos:=

✅ Become Master in Xpath:=

✅ Protractor series videos playlist :=

======================================
**************** Thanks for watching !!**************
======================================

⚡️ Keep Learning...Keep Sharing...Keep Growing. ⚡️

#LearnSeleniumInEasyWay #SeleniumWebDriver
Рекомендации по теме
Комментарии
Автор

Thanks for the explanations.

Can you please explain,
1. how to handle exceptions in real time projects ?

2. And how to test negative test cases in real time.

radhe-radhe
Автор

Can you please share this exception notepad file ?

vipintekade
Автор

Hi,
Nice videos but two suggestions:
1. Please use public URLs( Instead of using your own HTML page) then users also can easily practice
2. It will be good if u explain how to resolve the respective exceptions( for Ex: StaleElementException)

TIA

venkatkataru
Автор

Thanks for the useful tutorial.
I see Run | Debug above @Test annotation.
How can we get it?

SingaporeChinnodu