How to catch exception window written in JavaScript?

jimmyzzxhlh at 16h33
18
Aug
2010
How to catch exception window written in JavaScript?

Hi all,

Recently I found a problem when testing Web UI with selenium. If UI has a runtime exception, and pop up an exception window, selenium can catch this exception and log the message. However, if the exception window is a part of Web UI, which is written in Javascript, how can selenium get the error instantly and stop running? Interestingly, when I run the test, selenium will ignore the error window and continu
About
This topic belongs to the forum
  • Numbers of topics : 1162
  • Numbers of messages : 3136
  • Numbers of users : 2144
  • Numbers of points : 1257
Similar topics
Don't really think this is a bug but I'm unable to open 2.233 since today. I copied a bunch of new movies and tv shows in all just standard names nut now whenever I try to launch media companion I get an unhandled exception due to illegal characters in
I'd like to store the URL of the page I'm on as a string. I tried using window.location.href to grab the URL from the current window, but since the current open window is Selenium IDE and not the web page it does not work. Is there another way I can take
I have noticed previous posts about people getting this error but not while opening the program. It occurs immediately when I open the program and before I click on anything. Code:See the end of this message for details on invoking just-in-time
So I am attempting to write some scripts for our product people to use selenium IDE to test the web flows. I am having issues with verification tasks due to the iframes on the page I am testing. An example of a page I am having trouble with
Tried to update some posters just now... if I try to save any of the powers using the radio buttons (either size), or If I simply try to browse a local drive, i get an unhandled expcetion error. EDIT: Just a small addition.. this only affects POSTER
Forums from same category
See also
more_less
Informations

0 Replies For the topic :
"How to catch exception window written in JavaScript?"

This topic has been viewed 856 times.

Last message :
18/08/2010 at 16h33 by "jimmyzzxhlh"