Questions tagged [exception]

An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program's instructions. When an error occurs within a method, the method creates an object and hands it off to the runtime system.

Filter by
Sorted by
Tagged with
1 vote
2 answers

i found Null pointer exception while executing testng in selenium

package com.tng; import java.util.concurrent.TimeUnit; import org.openqa.selenium.WebDriver; import; import org.testng.annotations.AfterMethod; import org....
Hari narasing's user avatar
5 votes
2 answers

Problem catching Selenium Webdriver NoSuchElementException

I have many test cases written in C# using Selenium2 Webdriver with NUnit. I have a problem that when a NoSuchElementException is thrown, it is treated as an unhandled exception despite me using a ...
SteveCZ's user avatar
  • 463
1 vote
2 answers

Solution on ElementNotVisibleException in Selenium

I need to click on a link which displays a popup. But, I'm receiving the following exception: org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be ...
Lakshmi Priya's user avatar
0 votes
3 answers

ElementNotVisibleException: Message: element not visible

I've seen this error everywhere, but none of the solutions have seemed to work. This is my code: contpayment = driver.find_element_by_class_name('nsg-bg--nike-orange') Python/...
123ang's user avatar
  • 1
-1 votes
1 answer

java.lang.NullPointerException occured while implementing driver initialization through inheritance

Base class: public class Base { public WebDriver driver ; @BeforeMethod public void initialize() { System.setProperty("", "/Users/apple/eclipse-workspace/Selenium/...
Batu-QA's user avatar
  • 21