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.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
128 views

Setting text on WpfEdit control throws pile of exceptions that are then caught -- Is this typical?

I'm doing some coded UI automation, and I've noticed something odd when debugging. When I try and set the text on a WpfEdit control Control.Text = "foo", the system throws a gigantic pile of ...
Sidney's user avatar
  • 175
1 vote
0 answers
25 views

Adding exception annotation in Phpunit

I'm using assertContains() method and I want to add an exception because during the test, if this return false it's stopped and not running the second test. I followed the PhpUnit documentation but I ...
Baini.Marouane's user avatar
0 votes
1 answer
19 views

Facing 500 series Error while running Jmeter Selenium script in Azure pipeline

while executing the Jmeter selenium scripts in azure pipeline ,I repeatedly seeing the error 500 error saying that "No Such Session Found" But while running the same script in our Virtual ...
Abinav's user avatar
  • 1
0 votes
0 answers
127 views

Element Not Interactable Exception Selenium

from selenium import webdriver from selenium.webdriver.support.ui import Select import time from selenium.webdriver.common.by import By from selenium.webdriver.support.wait import ...
Pammvi Group's user avatar
0 votes
1 answer
111 views

Selenium Couldn't identify App crashes Android

Sometimes app crashes. But Selenium can only handle "noSuchElementException" or "TimeOutException". Does Appium runs a listener or something which tracks if the app is crashed? I ...
Rashad Nasirli's user avatar
0 votes
0 answers
244 views

I am unable to execute selenium code as my browser is quitting by showing null pointer exception

[System] initializing MQSeleniumFW [System] validation Status : false [System initilaizing Logging properties] MQFWToolInstance: 2386190563904 [System Logging properties successfully initilaized] [...
Poornima's user avatar
-1 votes
1 answer
258 views

Pop up handling in Selenium using try and except block gives a broad exception warning

try: if browser.find_element_by_xpath('//[@id="s"]/a').is_displayed(): browser.find_element_by_xpath('//*[@id="s"]/a').click() browser.switch_to.default_content() ...
Dev Bin's user avatar
  • 39
-1 votes
1 answer
2k views

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

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